[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: |
Thu, 04 May 2017 04:55:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21448
--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
> But not because of anything special GCC does in the executable.
Normally a shared library variable would be accessed in a PIE by loading the
address of that variable from the GOT, just like it would in a shared library.
Instead, HJ's copy reloc optimization makes a copy locally in the PIE that then
can be accessed using an insn with a PC-relative data access.
Contrary to your opinion, that is indeed something "special".
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, hjl.tools at gmail dot com, 2017/05/01
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, amodra at gmail dot com, 2017/05/02
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, michael at talosis dot ca, 2017/05/02
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, amodra at gmail dot com, 2017/05/03
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, michael at talosis dot ca, 2017/05/03
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27,
amodra at gmail dot com <=
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, michael at talosis dot ca, 2017/05/04
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, amodra at gmail dot com, 2017/05/04
- [Bug ld/21448] References to constant data in shared libraries bloats 2.28 executables compared to 2.27, michael at talosis dot ca, 2017/05/04