Re: gcc -ffunction-sections -Wl,--gc-sections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-03-24 at 15:00 +0100, Jan Kratochvil wrote:
> Hi,
> 
> just tried -ffunction-sections -Wl,--gc-sections on F15 xulrunner and got
> libxul.so 24947928 -> 23631640 (5.28% gain) and it still works.
> 
> ld.gold --icf is a different optimization but that one requires gold.
>
> Are there some serious Bugs why Fedora is not using it?

What are the criteria for section gc?

For example, if I'm the X server, I have a bunch of symbols exported
from the binary that the drivers are expected to call, but that are
never called from the server itself.  Does marking a function
__attribute__((visibility("default"))) mark it as used from the garbage
collector's perspective?

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux