* sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
This commit is contained in:
Ulrich Drepper 2001-09-12 22:20:11 +00:00
parent beac809a9b
commit 7aba050de9
3 changed files with 11 additions and 3 deletions

View File

@ -9,6 +9,7 @@
* Makeconfig (preprocess-versions): Define ASSEMBLER.
* stdlib/Makefile (isomac-CFLAGS): Define to -O.
* posix/Makefile (annexc-CFLAGS): Define to -O.
* sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
2001-09-11 Ulrich Drepper <drepper@redhat.com>

View File

@ -1,3 +1,9 @@
2001-09-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/timer_delete.c (timer_delete): Thread may be NULL
for SIGEV_NONE.
* sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2001-09-11 Ulrich Drepper <drepper@redhat.com>
Wolfram Gloger <wg@malloc.de>

View File

@ -74,7 +74,8 @@ while read file srcfile caller syscall args strong weak; do
callnum=-
eval `{ echo "#include <sysdep.h>";
echo "callnum=SYS_ify ($syscall)"; } |
$asm_CPP - |sed -n -e "/^callnum=.*$syscall/d" \
$asm_CPP -D__OPTIMIZE__ - |
sed -n -e "/^callnum=.*$syscall/d" \
-e "/^\(callnum=\)[ ]*\(.*\)/s//\1'\2'/p"`
# Derive the number of arguments from the argument signature