summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-28 00:28:47 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-28 00:28:47 +0000
commita9d3b94d6c54e89ad9f609a3931abc488ca624e5 (patch)
treed2b6f9df936373582c2ebd7cb5eac8a2282bb0df /libc/sysdeps
parentab262188b031c842ae09b15b150600287ead45cc (diff)
_start.c is a failed experiment. Go back to using asm...
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/Makefile13
-rw-r--r--libc/sysdeps/linux/i386/Makefile2
2 files changed, 10 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index dd891d176..fa8936af8 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -25,8 +25,13 @@ TOPDIR=../../../
include $(TOPDIR)Rules.mak
LIBC=$(TOPDIR)libc.a
-#The file makefile.objs defines $(COBJS)
-include makefile.objs
+
+CSRC =closedir.o dirfd.o getdnnm.o gethstnm.o getpagesize.o \
+isatty.o kernel_version.o mkfifo.o opendir.o rewinddir.o \
+seekdir.o setegid.o seteuid.o setpgrp.o tcgetatr.o tell.o \
+telldir.o wait.o wait3.o _fxstat.o _lxstat.o _xstat.o _xmknod.o
+COBJS=$(patsubst %.c,%.o, $(CSRC))
+
MSRC=syscalls.c
MOBJ=$(shell ./list_syscalls.sh)
@@ -45,8 +50,8 @@ $(MOBJ): $(MSRC)
$(STRIPTOOL) -x -R .note -R .comment $*.o
$(COBJS):
- $(CC) $(CFLAGS) $< -c $*.c -o $*.o
- $(STRIPTOOL) -x -R .note -R .comment $*.o
+ $(CC) $(CFLAGS) -g $< -c $*.c -o $*.o
+ #$(STRIPTOOL) -x -R .note -R .comment $*.o
clean:
rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile
index c7c87d8a5..018ac653a 100644
--- a/libc/sysdeps/linux/i386/Makefile
+++ b/libc/sysdeps/linux/i386/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)Rules.mak
LIBC=$(TOPDIR)libc.a
ASFLAGS=$(CFLAGS)
-SSRC=longjmp.S setjmp.S #_start.S #clone.S
+SSRC=_start.S longjmp.S setjmp.S #_start.S #clone.S
SOBJS=$(patsubst %.S,%.o, $(SSRC))
CSRC=readdir.c #select.c