summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-15 18:03:42 +0000
committerphk <phk@FreeBSD.org>1995-10-15 18:03:42 +0000
commitb14049734cb1c7a2468e70e4b3f0f1158276242c (patch)
tree98770d28dbce16864ff17ee0fab6f9966796f864 /sys
parentb4ba3ea11123f5955abb276a8218b5b3ab15c902 (diff)
downloadFreeBSD-src-b14049734cb1c7a2468e70e4b3f0f1158276242c.zip
FreeBSD-src-b14049734cb1c7a2468e70e4b3f0f1158276242c.tar.gz
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...
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 4a89fd9..8f67a1c 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 4a89fd9..8f67a1c 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 4a89fd9..8f67a1c 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
OpenPOWER on IntegriCloud