From: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> |
---|---|
To: | gentoo-dev@l.g.o |
Subject: | [gentoo-dev] Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common" |
Date: | Tue, 24 Jun 2008 12:15:12 |
Message-Id: | 71ac8a310806240515r4e0e6934wa8e7a5f2468e8152@mail.gmail.com |
1 | I would like to suggest that default LDFLAGS in Gentoo contain the following |
2 | flags: "-Wl,-O1,--hash-style=gnu,--sort-common". |
3 | |
4 | -O1 enables some basic optimizations. |
5 | --hash-style=gnu causes that ld creates only new GNU-style hash tables. |
6 | --sort-common causes that ld sorts the common symbols by size when it places |
7 | them in the appropriate output sections. |
8 | |
9 | These options don't cause any problems, so they should be less controversial |
10 | than --as-needed. |
11 | (These options don't conflict with --as-needed, so --as-needed can be still |
12 | added to default LDFLAGS, but this thread isn't about --as-needed.) |
13 | |
14 | -- |
15 | Arfrever Frehtes Taifersar Arahesis |
16 | -- |
17 | gentoo-dev@l.g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-dev] Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common" | Fabian Groffen <grobian@g.o> |
Re: [gentoo-dev] Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common" | "Petteri Räty" <betelgeuse@g.o> |
[gentoo-dev] Re: Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common" | Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> |