unit-at-a-time fixes
Andreas Jaeger
aj@suse.de
Sun Nov 30 20:11:00 GMT 2003
Andreas Jaeger <aj@suse.de> writes:
> With GCC 3.4 and also the hammer-branch of GCC 3.3, unit-at-a-time
> compilation is enabled and rearranges the output order of functions.
> This is not desirable in some cases.
>
> Here's the patch that we're currently using at SuSE. Ok to commit?
>
> Andreas
>
> 2003-11-30 Andreas Jaeger <aj@suse.de>
>
> * csu/Makefile (CFLAGS-initfini.s): Add -fno-unit-at-a-time.
> * linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile
> (CFLAGS-pt-initfini.s): Likewise.
> * locale/Makefile (CFLAGS-loadlocale.c): Likewise.
There're two entries missing:
>
> For linuxthreads:
> * Makefile (CFLAGS-tst-cancel.c): Add -fno-unit-at-a-time.
> (CFLAGS-pt-initfini.s): Likewise.
* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
Likewise.
> For nptl:
> * Makefile (CFLAGS-pt-initfini.s): Add -fno-unit-at-a-time.
* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
Likewise.
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20031130/0c40d776/attachment.sig>
More information about the Libc-hacker
mailing list