bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21448] References to constant data in shared libraries bloats 2.


From: amodra at gmail dot com
Subject: [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27
Date: Tue, 02 May 2017 12:38:02 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21448

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |WONTFIX

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
This is not a ld problem.  The patch for pr20995 is a necessary security fix.

The real reason you are seeing larger binaries is that gcc is using copy relocs
rather than accessing the shared library variables, in order to gain a small
performance improvement.

Please open a gcc bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]