[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17085] Hello world gets bigger with plugin.
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/17085] Hello world gets bigger with plugin. |
Date: |
Tue, 05 Aug 2014 07:06:19 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17085
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Right, you get more dynamic symbols. These:
NOTYPE WEAK DEFAULT UND _ITM_deregisterTMCloneTable
NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
NOTYPE WEAK DEFAULT UND _ITM_registerTMCloneTable
And the reason you get them is that libgcc_s.so is being linked via gcc's
--pass-through option *outside of --as-needed*. That also adds a DT_NEEDED tag
for libgcc_s.so.1, which also increases the size of the binary.
I could say this is a gcc bug for continuing to use --pass-through, when ld
hasn't needed that option for quite a while. :)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/17085] Hello world gets bigger with plugin.,
amodra at gmail dot com <=