Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-06-10 00:43:43 +0400
committerJeff Johnston <jjohnstn@redhat.com>2004-06-10 00:43:43 +0400
commitdb7033a958fbb8e4bb4adb4cba7ab5298af2b969 (patch)
tree6bbb4ec2cfb558e1f2fe41c68c88702834a0e833 /newlib/libc/sys/linux/Makefile.in
parenta7364adeb97e9950b43d9efcdb3b650cb442f465 (diff)
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.in')
-rw-r--r--newlib/libc/sys/linux/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/Makefile.in b/newlib/libc/sys/linux/Makefile.in
index 5b548c797..3f110fab2 100644
--- a/newlib/libc/sys/linux/Makefile.in
+++ b/newlib/libc/sys/linux/Makefile.in
@@ -127,7 +127,7 @@ ELIX_4_OBJS = getlogin.$(oext) getpwnam.$(oext) getpwuid.$(oext) stack.$(oe
# 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
@@ -590,7 +590,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] "\"," }' \