diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-06-09 20:43:43 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-06-09 20:43:43 +0000 |
commit | db7033a958fbb8e4bb4adb4cba7ab5298af2b969 (patch) | |
tree | 6bbb4ec2cfb558e1f2fe41c68c88702834a0e833 /newlib/libc/sys/linux/Makefile.am | |
parent | a7364adeb97e9950b43d9efcdb3b650cb442f465 (diff) | |
download | cygnal-db7033a958fbb8e4bb4adb4cba7ab5298af2b969.tar.gz cygnal-db7033a958fbb8e4bb4adb4cba7ab5298af2b969.tar.bz2 cygnal-db7033a958fbb8e4bb4adb4cba7ab5298af2b969.zip |
2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Change siglist.inc to be generated
from /usr/include/asm/signal.h instead of kernel sources. Also
default max to 32 if not found in header file.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
systems where __syscall_return is not defined.
* libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
systems to use syscall() function instead of assembler interrupt.
Diffstat (limited to 'newlib/libc/sys/linux/Makefile.am')
-rw-r--r-- | newlib/libc/sys/linux/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/Makefile.am b/newlib/libc/sys/linux/Makefile.am index 1579368c3..56842cebb 100644 --- a/newlib/libc/sys/linux/Makefile.am +++ b/newlib/libc/sys/linux/Makefile.am @@ -166,7 +166,7 @@ endif # This will handle both /usr/src/linux-2.4/include/asm/signal.h (in Red Hat Linux 7.1) # and also /usr/src/linux/include/asm/signal.h in older versions of Red Hat Linux -SIGNAL_H = /usr/src/$(shell ls /usr/src/ | grep ^linux | head -n 1)/include/asm/signal.h +SIGNAL_H = /usr/include/asm/signal.h liblinux_la_LDFLAGS = -Xcompiler -nostdlib @@ -230,7 +230,8 @@ machine/crt0.o: ; @true sig.$(oext): siglist.inc siglist.inc: - $(AWK) '/#define.SIG.*[1-9][0-9]*/ { n[$$3] = $$2 } \ + $(AWK) '{ max = 32 } \ + /#define.SIG.*[1-9][0-9]*/ { n[$$3] = $$2 } \ /#define.NSIG.*[1-9][0-9]*/ { max = $$3 } \ /#define.SIGUNUSED/ \ { for (i = 0; i <= max; i++) print "\"" n[i] "\"," }' \ |