summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-03-09 07:36:56 +0000
committerjb <jb@FreeBSD.org>1998-03-09 07:36:56 +0000
commitd51b6829b75d663fe3bca551a9f266c9a75d37d1 (patch)
treeb46cca357ff012ff04659e073f5a95e88277af18
parent8ed23e046bcd57ab8d2438b629ff7ec04b325b6d (diff)
downloadFreeBSD-src-d51b6829b75d663fe3bca551a9f266c9a75d37d1.zip
FreeBSD-src-d51b6829b75d663fe3bca551a9f266c9a75d37d1.tar.gz
Nearly missed this one.
List non-default asm sources in MDASM so that they replace the defaults. For funny or incomplete syscalls, list them in NOASM to stop them from getting built as defaults.
-rw-r--r--lib/libc/amd64/sys/Makefile.inc21
-rw-r--r--lib/libc/i386/sys/Makefile.inc21
2 files changed, 40 insertions, 2 deletions
diff --git a/lib/libc/amd64/sys/Makefile.inc b/lib/libc/amd64/sys/Makefile.inc
index b65e4f5..82e4e1f 100644
--- a/lib/libc/amd64/sys/Makefile.inc
+++ b/lib/libc/amd64/sys/Makefile.inc
@@ -1,8 +1,27 @@
# from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp
-# $Id: Makefile.inc,v 1.6 1997/10/16 14:26:13 bde Exp $
+# $Id: Makefile.inc,v 1.7 1997/10/16 14:41:25 bde Exp $
SRCS+= i386_get_ldt.c i386_set_ldt.c
+# _thread_create.S
+
+MDASM= Ovfork.S brk.S cerror.S exect.S fork.S pipe.S \
+ ptrace.S reboot.S rfork.S sbrk.S setlogin.S sigpending.S \
+ sigprocmask.S sigreturn.S sigsuspend.S syscall.S
+
+# Don't generate default code for these syscalls:
+NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
+ lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \
+ munlockall.o openbsd_poll.o semconfig.o semget.o semop.o \
+ setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \
+ thr_sleep.o thr_wakeup.o truncate.o uname.o vfork.o yield.o
+
+PSEUDO= _getlogin.o
+
+# Pseudo syscalls that are renamed as _thread_sys_{pseudo} when
+# building libc_r.
+PSEUDOR= _exit.o
+
.if ${LIB} == "c"
MAN2+= i386_get_ldt.2
diff --git a/lib/libc/i386/sys/Makefile.inc b/lib/libc/i386/sys/Makefile.inc
index b65e4f5..82e4e1f 100644
--- a/lib/libc/i386/sys/Makefile.inc
+++ b/lib/libc/i386/sys/Makefile.inc
@@ -1,8 +1,27 @@
# from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp
-# $Id: Makefile.inc,v 1.6 1997/10/16 14:26:13 bde Exp $
+# $Id: Makefile.inc,v 1.7 1997/10/16 14:41:25 bde Exp $
SRCS+= i386_get_ldt.c i386_set_ldt.c
+# _thread_create.S
+
+MDASM= Ovfork.S brk.S cerror.S exect.S fork.S pipe.S \
+ ptrace.S reboot.S rfork.S sbrk.S setlogin.S sigpending.S \
+ sigprocmask.S sigreturn.S sigsuspend.S syscall.S
+
+# Don't generate default code for these syscalls:
+NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
+ lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \
+ munlockall.o openbsd_poll.o semconfig.o semget.o semop.o \
+ setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \
+ thr_sleep.o thr_wakeup.o truncate.o uname.o vfork.o yield.o
+
+PSEUDO= _getlogin.o
+
+# Pseudo syscalls that are renamed as _thread_sys_{pseudo} when
+# building libc_r.
+PSEUDOR= _exit.o
+
.if ${LIB} == "c"
MAN2+= i386_get_ldt.2
OpenPOWER on IntegriCloud