This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: sysd-rules generation doesn't allow non-invasive addition of addon rules
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: rsa at us dot ibm dot com, libc-alpha <libc-alpha at sourceware dot org>, Peter A Eberlein <eberlein at us dot ibm dot com>, Steven Munroe <munroesj at us dot ibm dot com>
- Date: Thu, 31 Jan 2008 04:44:09 -0200
- Subject: Re: sysd-rules generation doesn't allow non-invasive addition of addon rules
- References: <1201648265.8953.9.camel@localhost> <20080130003318.8640926F9A7@magilla.localdomain>
On Jan 29, 2008, Roland McGrath <roland@redhat.com> wrote:
> Please try what I just committed.
This broke rtld-* syscalls, sysdeps/unix/make-syscalls.sh doesn't pass
the flags in $(rtld-CPPFLAGS) to the assembly preprocessor any more.
This kludge seems to fix it, but I'm not quite happy about it. Any
better ideas?
for ChangeLog
2008-01-31 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/make-syscalls.sh: Add rtld-CPPFLAGS as needed.
Index: sysdeps/unix/make-syscalls.sh
===================================================================
--- sysdeps/unix/make-syscalls.sh.orig 2003-08-16 03:13:21.000000000 -0300
+++ sysdeps/unix/make-syscalls.sh 2008-01-31 04:35:55.000000000 -0200
@@ -216,7 +216,7 @@ shared-only-routines += $file
done
# And finally, pipe this all into the compiler.
- echo ' ) | $(compile-syscall)'
+ echo ' ) | $(compile-syscall) $(if $(filter rtld-%,$(@F)),$(rtld-CPPFLAGS))'
case $weak in
*@*)
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}