Limit ld-elf/compressed1b.d to Linux/GNU targets
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 5a2df38689f4be9caf405632db4c4aade52c4531..c4ded9283e82f34797451d02bdef1ac3e0afba87 100644 (file)
@@ -1,3 +1,331 @@
+2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
+
+2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20006
+       * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
+       (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
+       ELF targets.
+
+2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/compressed1b.d: Pass
+       --compress-debug-sections=none to ld.
+       * testsuite/ld-elf/compressed1c.d: Likewise.
+
+2016-04-27  Alan Modra  <amodra@gmail.com>
+
+       PR target/19985
+       * configure.tgt: Don't use var+=.
+
+2016-04-25  Nick Clifton  <nickc@redhat.com>
+
+       PR target/19985
+       * configure.tgt: Include big endian PPC64 emulations with little
+       endian PPC64 targets.
+
+2016-04-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
+
+2016-04-21  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
+       prefernce to _bfd_elf_link_check_relocs.  Drop test for ELF
+       targets.  Do not stop the checks when problems are encountered.
+
+2016-04-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/cross3.t: Add commonly used data
+       and text section names to output section statements.
+       * testsuite/ld-scripts/cross4.t: Likewise.
+       * testsuite/ld-scripts/cross5.t: Likewise.
+       * testsuite/ld-scripts/cross6.t: Likewise.
+       * testsuite/ld-scripts/cross7.t: Likewise.
+
+2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (lang_check_relocs): New function.
+       (lang_process): Call lang_check_relocs after lang_gc_sections.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
+       call _bfd_elf_link_check_relocs here.
+
+2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19972
+       * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
+       R_386_NONE or R_X86_64_NONE.
+
+2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/pic1.d: New file.
+       * testsuite/ld-x86-64/pic1.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run pic1.
+
+2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/pie2.d: New file.
+       * testsuite/ld-x86-64/pie2.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run pie2.
+
+2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19969
+       * testsuite/ld-x86-64/pr19969.d: New file.
+       * testsuite/ld-x86-64/pr19969a.S: Likewise.
+       * testsuite/ld-x86-64/pr19969b.S: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
+
+2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       New.
+       * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       Likewise.
+       * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       Likewise.
+       * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       Likewise.
+       * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       Likewise.
+       * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       Likewise.
+       * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       Likewise.
+       * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+       Likewise.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
+       Set check_relocs_after_open_input to TRUE if
+       CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
+       (gld${EMULATION_NAME}_after_open): Call
+       _bfd_elf_link_check_relocs on all inputs if
+       check_relocs_after_open_input is TRUE.
+
+2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
+       my_personality_v0.
+
+2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * emultempl/scoreelf.em: Likewise.
+
+2016-04-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19719
+       * testsuite/ld-x86-64/pr19719.d: New file.
+       * testsuite/ld-x86-64/pr19719.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
+
+2016-04-18  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * ld.texinfo: Document NOCROSSREFS_TO script command.
+       * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
+       (lang_add_nocrossref_to): New prototype.
+       * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
+       symbols defined in the first section.
+       (check_nocrossref): Likewise.
+       * ldgram.y (NOCROSSREFS_TO): New script command.
+       * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
+       (lang_add_nocrossref_to): New function.
+       * ldlex.l (NOCROSSREFS_TO): New token.
+       * NEWS: Mention NOCROSSREFS_TO.
+       * testsuite/ld-scripts/cross4.t: New file.
+       * testsuite/ld-scripts/cross5.t: Likewise.
+       * testsuite/ld-scripts/cross6.t: Likewise.
+       * testsuite/ld-scripts/cross7.t: Likewise.
+       * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
+       tests.
+
+2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in: Regenerated with automake 1.11.6.
+       * aclocal.m4: Likewise.
+
+2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/ld-arc/arc.exp: New file.
+       * testsuite/ld-arc/nps-1.s: New file.
+       * testsuite/ld-arc/nps-1a.d: New file.
+       * testsuite/ld-arc/nps-1b.d: New file.
+       * testsuite/ld-arc/nps-1b.err: New file.
+
+2016-04-14  Nick Clifton  <nickc@redhat.com>
+
+       PR 19457
+       * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
+       exceptions for Mingw and Cygwin.
+
+2016-04-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
+       check_ld(terminal).
+
+2016-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19774
+       * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
+       tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
+       tests.
+
+2016-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19939
+       * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr19939.s: New file.
+       * testsuite/ld-i386/pr19939a.d: Likewise.
+       * testsuite/ld-i386/pr19939b.d: Likewise.
+       * testsuite/ld-x86-64/pr19939.s: Likewise.
+       * testsuite/ld-x86-64/pr19939a.d: Likewise.
+       * testsuite/ld-x86-64/pr19939b.d: Likewise.
+
+2016-04-09  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
+
+2016-04-08  Alan Modra  <amodra@gmail.com>
+
+       PR 18452
+       * ldlang.c (maybe_overlays): Delete.
+       (lang_size_sections_1): Remove code setting maybe_overlays.
+       (lang_check_section_addresses): Instead detect overlays by
+       exact match of section VMAs here.  Fix memory leak.
+
+2016-04-08  Dan Gisselquist  <dgisselq@ieee.org>
+
+       * ldlang.c (print_output_section_statement): Show minfo size
+       in target machine address units.
+       (print_reloc_statement): Likewise.
+       (print_padding_statement): Likewise.
+       (print_data_statement): Likewise.  Ensure minimum print_dot
+       increment of one address unit.
+
+2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * emulparams/arc-endianness.sh: Make little endian default choice.
+
+2016-04-07  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
+       section name.
+       * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
+
+2016-04-05  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * emulparams/arc-endianness.sh: New file.
+       * emulparams/arcebelf.sh: Deleted.
+       * emulparams/arcebelf_prof.sh: Deleted.
+       * emulparams/arceblinux.sh: Deleted.
+       * emulparams/arceblinux_prof.sh: Deleted.
+       * emulparams/arcelf.sh: Include arc-endinness.sh.
+       * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
+       * emulparams/arclinux.sh: Include arc-endinness.sh.
+       * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
+       * emulparams/arcv2elf.sh: Include arc-endinness.sh.
+       * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
+       * testsuite/ld-elf/compressed1d.d: Update pattern for big and
+       little endian arc targets.
+       * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
+       * testsuite/ld-elf/group1.d: Likewise.
+       * testsuite/ld-elf/group3b.d: Likewise.
+       * testsuite/ld-elf/group8a.d: Likewise.
+       * testsuite/ld-elf/group8b.d: Likewise.
+       * testsuite/ld-elf/group9a.d: Likewise.
+       * testsuite/ld-elf/group9b.d: Likewise.
+       * testsuite/ld-elf/linkonce2.d: Likewise.
+       * testsuite/ld-elf/pr12851.d: Likewise.
+       * testsuite/ld-elf/pr12975.d: Likewise.
+       * testsuite/ld-elf/pr13177.d: Likewise.
+       * testsuite/ld-elf/pr13195.d: Likewise.
+       * testsuite/ld-elf/pr17615.d: Likewise.
+       * testsuite/ld-elf/pr19162.d: Likewise.
+       * testsuite/ld-elf/sec64k.exp: Likewise.
+       * testsuite/lib/ld-lib.exp: Likewise.
+
+2016-04-05  Maciej W. Rozycki  <macro@imgtec.com>
+
+       PR ld/19908
+       * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
+       handling fix.
+       * testsuite/ld-cris/tls-e-20a.d: Likewise.
+       * testsuite/ld-cris/tls-e-21.d: Likewise.
+       * testsuite/ld-cris/tls-e-23.d: Likewise.
+       * testsuite/ld-cris/tls-e-80.d: Likewise.
+       * testsuite/ld-cris/tls-gd-3h.d: Likewise.
+       * testsuite/ld-cris/tls-leie-19.d: Likewise.
+       * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
+       * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
+       * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
+       * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
+       * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
+       * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
+       * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * testsuite/ld-discard/extern.d: Removed xfail for ARC.
+       * testsuite/ld-discard/start.d: Likewise.
+       * testsuite/ld-discard/static.d: Likewise.
+       * testsuite/ld-elf/group1.d: Likewise.
+       * testsuite/ld-elf/group3b.d: Likewise.
+       * testsuite/ld-elf/orphan-region.d: Likewise.
+       * testsuite/ld-elf/orphan.d: Likewise.
+       * testsuite/ld-elf/orphan3.d: Likewise.
+       * testsuite/ld-elf/pr349.d: Likewise.
+       * testsuite/ld-elf/warn1.d: Likewise.
+       * testsuite/ld-elf/warn2.d: Likewise.
+       * testsuite/ld-elf/warn3.d: Likewise.
+       * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
+       through linker flags.
+       * testsuite/ld-srec/srec.exp: Set as xfail.
+
+2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19827
+       * testsuite/ld-i386/pr19827-nacl.rd: New file.
+       * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
+
+2016-04-04  Nick Clifton  <nickc@redhat.com>
+
+       PR 19803
+       * emultempl/pe.em (change_undef): New function.  Encapsulates
+       duplicated code in pe_fixup_stdcalls and adds the newly defined
+       sym to the gc root list.
+       (pe_fixup_stdcall): Use the new function.
+       * pe-dll.c (process_def_file_and_drectve); Add alias of exported
+       symbol to gc root list.
+
+2016-03-31  Alan Modra  <amodra@gmail.com>
+
+       * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
+       (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
+       (print_input_section): Don't use TO_ADDR when printing section
+       size.
+       (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
+       (lang_size_sections): Use TO_ADDR in relro end calculation.
+
+2016-03-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
+       value from regexp_diff.
+       * testsuite/ld-elf/orphan-5.l: Fix expected output.
+       * testsuite/ld-elf/orphan-6.l: Likewise.
+
+2016-03-30  Alan Modra  <amodra@gmail.com>
+
+       PR 18452
+       * ldlang.c (maybe_overlays): New static var.
+       (lang_size_sections_1): Set it here.
+       (struct check_sec): New.
+       (sort_sections_by_lma): Adjust for array of structs.
+       (sort_sections_by_vma): New function.
+       (lang_check_section_addresses): Check both LMA and VMA for overlap.
+       * testsuite/ld-scripts/rgn-over7.d: Adjust.
+
 2016-03-30  Alan Modra  <amodra@gmail.com>
 
        * ldlang.c (lang_size_sections_1): Correct code detecting a
This page took 0.032461 seconds and 4 git commands to generate.