PR22471, undefined reference to linker-defined symbols
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 4cfcf6d8ba384b4ddd70b91df54d249b41a37ce3..2b204543a6abf99d33bf3b60c952cbf31dbcd52b 100644 (file)
@@ -1,3 +1,58 @@
+2017-11-28  Alan Modra  <amodra@gmail.com>
+
+       PR 22471
+       * ldexp.c (struct definedness_hash_entry): Delete "by_script".  Make
+       "iteration" an 8-bit field, and update mask in all uses.
+       (definedness_newfunc): Don't init "by_script".
+       (update_definedness): Test ldscript_def rather than by_script.
+       (is_sym_value): Likewise.
+       (fold_name <DEFINED>): Return a result for first phase.  Test
+       ldscript_def.
+       (fold_name <NAME>): Return a result for first phase.
+       * ldlang.c (open_input_bfds): Process all assignments, not just
+       defsym.
+       (lang_process): Increment lang_statement_iteration before
+       open_input_bfds.
+       * testsuite/ld-mips-elf/tlsdyn-o32-1.d: Adjust for larger .dynsym.
+       * testsuite/ld-mips-elf/tlsdyn-o32-1.got: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-2.d: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-2.got: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-3.d: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-3.got: Likewise.
+
+2017-11-28  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.h (struct ldexp_control): Add "assign_src".
+       * ldexp.c (fold_trinary): Save and restore assign_src around
+       condition evaluation.
+       (fold_name <NAME>): Set expld.assign_src.
+       (try_copy_symbol_type): Delete.
+       (exp_fold_tree_1): Set symbol type using expld.assign_src.
+
+2017-11-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/22502
+       * testsuite/ld-plugin/lto.exp: Run PR ld/22502 test.
+       * testsuite/ld-plugin/pr22502a.c: New file.
+       * testsuite/ld-plugin/pr22502b.c: Likewise.
+
+2017-11-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/pr21562c.t: Also provide ___start_scnfoo and
+       ___stop_scnfoo.
+       * testsuite/ld-elf/pr21562d.t: Likewise.
+
+2017-11-23  Martin Storsjo  <martin@martin.st>
+
+       * pe-dll.c (autofilter_liblist): Add libmsvcrt, libmsvcrt-os and
+       libucrtbase.
+
+2017-11-23  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/22441
+       * testsuite/ld-x86-64/apic.{s,d}: New.
+       * testsuite/ld-x86-64/x86-64.exp: Run new test.
+
 2017-11-21  Nick Clifton  <nickc@redhat.com>
 
        PR 22419
This page took 0.045573 seconds and 4 git commands to generate.