aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-10-15 18:03:42 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-10-15 18:03:42 +0000
commitfa356aa0c0c7ef361ccdb7f1851c34ceeb34239a (patch)
tree98770d28dbce16864ff17ee0fab6f9966796f864 /sys
parenteba2673a3ff402e80975fccdfed5546a8b623928 (diff)
downloadsrc-fa356aa0c0c7ef361ccdb7f1851c34ceeb34239a.tar.gz
src-fa356aa0c0c7ef361ccdb7f1851c34ceeb34239a.zip
Pull all of libkern.a in (though not mcount) so the LKM's don't come
out shorthanded. Makes the idea of libkern pretty void now...
Notes
Notes: svn path=/head/; revision=11523
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/support.S21
-rw-r--r--sys/amd64/amd64/support.s21
-rw-r--r--sys/i386/i386/support.s21
3 files changed, 60 insertions, 3 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 4a89fd981517..8f67a1ca958b 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
+ * $Id: support.s,v 1.23 1995/10/05 10:32:30 phk Exp $
*/
#include "assym.s" /* system definitions */
@@ -1128,3 +1128,22 @@ ___bb_init_func:
movl 4(%esp),%eax
movl $1,(%eax)
ret
+
+/*
+ * Pull in everything in libkern for LKM's
+ */
+
+.globl ___umoddi3
+.globl ___moddi3
+.globl ___udivdi3
+.globl ___divdi3
+.globl _inet_ntoa
+.globl _random
+.globl _scanc
+.globl _skpc
+.globl _strcat
+.globl _strncmp
+.globl _strncpy
+.globl _strcmp
+.globl _strcpy
+.globl ___qdivrem
diff --git a/sys/amd64/amd64/support.s b/sys/amd64/amd64/support.s
index 4a89fd981517..8f67a1ca958b 100644
--- a/sys/amd64/amd64/support.s
+++ b/sys/amd64/amd64/support.s
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
+ * $Id: support.s,v 1.23 1995/10/05 10:32:30 phk Exp $
*/
#include "assym.s" /* system definitions */
@@ -1128,3 +1128,22 @@ ___bb_init_func:
movl 4(%esp),%eax
movl $1,(%eax)
ret
+
+/*
+ * Pull in everything in libkern for LKM's
+ */
+
+.globl ___umoddi3
+.globl ___moddi3
+.globl ___udivdi3
+.globl ___divdi3
+.globl _inet_ntoa
+.globl _random
+.globl _scanc
+.globl _skpc
+.globl _strcat
+.globl _strncmp
+.globl _strncpy
+.globl _strcmp
+.globl _strcpy
+.globl ___qdivrem
diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s
index 4a89fd981517..8f67a1ca958b 100644
--- a/sys/i386/i386/support.s
+++ b/sys/i386/i386/support.s
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
+ * $Id: support.s,v 1.23 1995/10/05 10:32:30 phk Exp $
*/
#include "assym.s" /* system definitions */
@@ -1128,3 +1128,22 @@ ___bb_init_func:
movl 4(%esp),%eax
movl $1,(%eax)
ret
+
+/*
+ * Pull in everything in libkern for LKM's
+ */
+
+.globl ___umoddi3
+.globl ___moddi3
+.globl ___udivdi3
+.globl ___divdi3
+.globl _inet_ntoa
+.globl _random
+.globl _scanc
+.globl _skpc
+.globl _strcat
+.globl _strncmp
+.globl _strncpy
+.globl _strcmp
+.globl _strcpy
+.globl ___qdivrem