https://sourceware.org/bugzilla/show_bug.cgi?id=21402
--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0dc9a308a1ec9675bf6b33bae9e8b1faa0bad9ed commit 0dc9a308a1ec9675bf6b33bae9e8b1faa0bad9ed Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Apr 24 13:42:33 2017 -0700 i386: Force symbol dynamic if it isn't undefined weak Force symbol dynamic if it isn't undefined weak. Generate R_386_RELATIVE relocation for R_386_GOT32 relocation against non-dynamic symbol in PIC. PR ld/21402 * elf32-i386.c (elf_i386_allocate_dynrelocs): If a symbol isn't undefined weak symbol, don't make it dynamic. (elf_i386_relocate_section): If a symbol isn't dynamic in PIC, set no_finish_dynamic_symbol and generate R_386_RELATIVE relocation for R_386_GOT32. -- 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