This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unit-at-a-time fixes


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]