[Bug ld/22319] ld -u not working in new versions of binutils
https://sourceware.org/bugzilla/show_bug.cgi?id=22319 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=66cae56016a12f7cbdc94be6f82c1cad1c59b521 commit 66cae56016a12f7cbdc94be6f82c1cad1c59b521 Author: Nick Clifton Date: Mon Oct 23 18:16:49 2017 +0100 Make sure that undefined symbols added to the linker command line via the -u option appear in the output executable, if they have not been resolved. PR 22319 bfd * elflink.c (elf_link_output_extsym): Keep global undefined symbols if they have been marked as needed. ld * testsuite/ld-elf/pr22310.s: New test source file. * testsuite/ld-elf/pr22310.d: New test driver. * testsuite/ld-mmix/undef-3.d: Update expected output from readelf. -- 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
[Bug ld/22319] ld -u not working in new versions of binutils
https://sourceware.org/bugzilla/show_bug.cgi?id=22319 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC||nickc at redhat dot com Resolution|--- |FIXED --- Comment #2 from Nick Clifton --- Hi Xavier, It seems a little bit unusual to want to have undefined symbols in the output, but I agree that it is a regression in behaviour compared to earlier versions of the linker, so I have checked in a small patch to fix it. Cheers Nick -- 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