On Tue, 24 Jun 2008 14:17:48 +0200 Fabian Groffen <[EMAIL PROTECTED]> wrote:
> On 24-06-2008 14:15:10 +0200, Arfrever Frehtes Taifersar Arahesis > wrote: > > I would like to suggest that default LDFLAGS in Gentoo contain the > > following flags: "-Wl,-O1,--hash-style=gnu,--sort-common". > > > > -O1 enables some basic optimizations. > > --hash-style=gnu causes that ld creates only new GNU-style hash > > tables. --sort-common causes that ld sorts the common symbols by > > size when it places them in the appropriate output sections. > > > > These options don't cause any problems, so they should be less > > controversial than --as-needed. > > (These options don't conflict with --as-needed, so --as-needed can > > be still added to default LDFLAGS, but this thread isn't about > > --as-needed.) > > as long as it doesn't go in /base, but in the linux/freebsd profiles > instead, it's fine with me. Ditto. mips doesn't have support for .gnu.hash. Currently --hash-style=both is set in the binutils patchset, not the profiles so it's kind of a global setting. Can the profiles override it? -- gcc-porting, by design, by neglect treecleaner, for a fact or just for effect wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
signature.asc
Description: PGP signature