https://sourceware.org/bugzilla/show_bug.cgi?id=21448
--- Comment #5 from Michael Deutschmann <michael at talosis dot ca> --- > but the reason you see a .dynbss/.data.rel.ro copy of shared lib variables > and copy relocs is code in the *executable* But not because of anything special GCC does in the executable. The trivial handwritten .s file: .globl _start _start: .long big_symbol_from_shared_library ... displays the unwanted behavior when linked against a shared library with a symbol by that name in the .rodata section with a ".size" covering it. (Obviously that .s file would make an executable that immediately crashes, but it's easy to write a longer .s file that is runnable.) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils