]> Git Repo - binutils.git/blobdiff - ld/ChangeLog
Correct "ld --help" to display "-z stack-size=SIZE"
[binutils.git] / ld / ChangeLog
index b71bc16273cc78a69edd380929b131c6fec6d8ad..7791c03607690eb49d0940d2ea4efd4aeb483309 100644 (file)
@@ -1,3 +1,308 @@
+2017-06-15  H.J. Lu  <[email protected]>
+
+       * exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE"
+       instead of "-z stacksize=SIZE".
+
+2017-06-15  Jiong Wang  <[email protected]>
+
+       * testsuite/ld-aarch64/copy-reloc-exe-2.s: New test source file.
+       * testsuite/ld-aarch64/copy-reloc-2.d: New test.
+       * testsuite/ld-aarch64/copy-reloc-exe-eliminate.s: New test source file.
+       * testsuite/ld-aarch64/copy-reloc-eliminate.d: New test.
+       * testsuite/ld-aarch64/copy-reloc-so.s: Define new global objects.
+       * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
+
+2017-06-14  Nick Clifton  <[email protected]>
+
+       PR binutils/21580
+       * testsuite/ld-nds32/diff.d: Adjust expected output.
+
+2017-06-14  H.J. Lu  <[email protected]>
+
+       PR ld/20022
+       * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic
+       relocations in .text section.
+
+2017-06-14  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-elf/pr21562a.d: Skip on targets with leading char
+       in in symbol name or without --gc-sections.
+       * testsuite/ld-elf/pr21562b.d: Likewise.
+       * testsuite/ld-elf/pr21562c.d: Likewise.
+       * testsuite/ld-elf/pr21562d.d: Likewise.
+       * testsuite/ld-elf/pr21562i.d: Likewise.
+       * testsuite/ld-elf/pr21562j.d: Likewise.
+       * testsuite/ld-elf/pr21562k.d: Likewise.
+       * testsuite/ld-elf/pr21562l.d: Likewise.
+       * testsuite/ld-elf/pr21562m.d: Likewise.
+       * testsuite/ld-elf/pr21562n.d: Likewise.
+       * testsuite/ld-elf/pr21562e.d: Skip on targets with leading char
+       in symbol name.
+       * testsuite/ld-elf/pr21562f.d: Likewise.
+       * testsuite/ld-elf/pr21562g.d: Likewise.
+       * testsuite/ld-elf/pr21562h.d: Likewise.
+
+2017-06-14  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-gc/pr20022a.s: Add size to bar.
+
+2017-06-14  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-elf/sizeofa.d: Skip on targets with leading char
+       in symbol name.
+       * testsuite/ld-elf/sizeofb.d: Likewise.
+       * testsuite/ld-elf/startofa.d: Likewise.
+       * testsuite/ld-elf/startofb.d: Likewise.
+
+2017-06-14  Georg-Johann Lay  <[email protected]>
+
+       PR ld/21583
+       * scripttempl/avr.sc (.jumptables): Move down in text section.
+       (.hightext): New in text.
+
+2017-06-14  Sebastian Huber  <[email protected]>
+
+       * configure.tgt (epiphany-*-elf): Accept epiphany-*-*.
+
+2017-06-13  H.J. Lu  <[email protected]>
+
+       * ldlang.c (lang_set_startof): Skip if config.build_constructors
+       is FALSE.
+       * testsuite/ld-elf/sizeofc.d: New file.
+       * testsuite/ld-elf/startofc.d: Likewise.
+
+2017-06-13  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-elf/sizeof.d: Renamed to ...
+       * testsuite/ld-elf/sizeofa.d: This.  Updated.
+       * testsuite/ld-elf/startof.d: Renamed to ...
+       * testsuite/ld-elf/startofa.d: This.  Updated.
+       * testsuite/ld-elf/sizeofb.d: New file.
+       * testsuite/ld-elf/startofb.d: Likewise.
+
+2017-06-13  H.J. Lu  <[email protected]>
+
+       PR ld/20022
+       PR ld/21557
+       PR ld/21562
+       PR ld/21571
+       * ld.texinfo: Update __start_SECNAME/__stop_SECNAME symbols.
+       * ldlang.c (lang_insert_orphan): Move handling of __start_SECNAME
+       and __stop_SECNAME symbols to ...
+       (lang_set_startof): Here.  Also define __start_SECNAME and
+       __stop_SECNAME for -Ur.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Mark
+       referenced __start_SECNAME and __stop_SECNAME symbols as hidden
+       and set start_stop for garbage collection.
+       * testsuite/ld-elf/pr21562a.d: New file.
+       * testsuite/ld-elf/pr21562a.s: Likewise.
+       * testsuite/ld-elf/pr21562a.t: Likewise.
+       * testsuite/ld-elf/pr21562b.d: Likewise.
+       * testsuite/ld-elf/pr21562b.s: Likewise.
+       * testsuite/ld-elf/pr21562b.t: Likewise.
+       * testsuite/ld-elf/pr21562c.d: Likewise.
+       * testsuite/ld-elf/pr21562c.t: Likewise.
+       * testsuite/ld-elf/pr21562d.d: Likewise.
+       * testsuite/ld-elf/pr21562d.t: Likewise.
+       * testsuite/ld-elf/pr21562e.d: Likewise.
+       * testsuite/ld-elf/pr21562f.d: Likewise.
+       * testsuite/ld-elf/pr21562g.d: Likewise.
+       * testsuite/ld-elf/pr21562h.d: Likewise.
+       * testsuite/ld-elf/pr21562i.d: Likewise.
+       * testsuite/ld-elf/pr21562j.d: Likewise.
+       * testsuite/ld-elf/pr21562k.d: Likewise.
+       * testsuite/ld-elf/pr21562l.d: Likewise.
+       * testsuite/ld-elf/pr21562m.d: Likewise.
+       * testsuite/ld-elf/pr21562n.d: Likewise.
+       * testsuite/ld-gc/pr20022.d: Likewise.
+       * testsuite/ld-gc/pr20022a.s: Likewise.
+       * testsuite/ld-gc/pr20022b.s: Likewise.
+       * testsuite/ld-gc/gc.exp: Run PR ld/20022 tests.
+       * testsuite/ld-gc/pr19161.d: Also accept local __start_SECNAME
+       symbol.
+       * testsuite/ld-gc/start.d: Likewise.
+       * testsuite/ld-x86-64/lea1a.d: Updated.
+       * testsuite/ld-x86-64/lea1b.d: Updated.
+       * testsuite/ld-x86-64/lea1d.d: Updated.
+       * testsuite/ld-x86-64/lea1e.d: Likewise.
+
+2017-06-13  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-elf/sizeof.d: New file.
+       * testsuite/ld-elf/sizeof.s: Likewise.
+       * testsuite/ld-elf/startof.d: Likewise.
+       * testsuite/ld-elf/startof.s: Likewise.
+
+2017-06-13  Renlin Li  <[email protected]>
+
+       * testsuite/ld-elf/shared.exp (build_tests): Add --no-dynamic-linker
+       option to rdynamic-1 and dynamic-1 tests.
+
+2017-06-09  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-x86-64/property-x86-3-x32.d: New file.
+       * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.d: Also pass
+       -defsym __64_bit__=1 to asssembler.
+       * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.s: Align to 4 bytes if
+       __64_bit__ isn't defined.
+       * testsuite/ld-x86-64/property-x86-4a.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run property-x86-3-x32,
+       property-x86-4a-x32 and property-x86-4b-x32.
+
+2017-06-08  Cupertino Miranda  <[email protected]>
+
+       * testsuite/ld-arc/tls_ie-01.d: Changed expected result.
+
+2017-06-08  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-ifunc/ifunc-1-local-x86.d: Pass
+       "-Map tmpdir/ifunc-1-local-x86.map" to ld and check
+       ifunc-1-local-x86.map.
+       * testsuite/ld-ifunc/ifunc-1-x86.d: Pass
+       "-Map tmpdir/ifunc-1-x86.map" to ld and check ifunc-1-x86.map.
+       * testsuite/ld-ifunc/ifunc-1-local-x86.map: New file.
+       * testsuite/ld-ifunc/ifunc-1-x86.map: Likewise.
+
+2017-06-07  Alan Modra  <[email protected]>
+
+       * testsuite/ld-unique/pr21529.d: xfail aarch64, arm, hppa, ia64,
+       nds32, and score.  Match any output.
+
+2017-06-06  Andrew Burgess  <[email protected]>
+
+       * ld.h (struct args_type): Fix typo in comment.
+
+2017-06-06  Andrew Burgess  <[email protected]>
+
+       * ld.h (struct args_type): Add force_group_allocation field.
+       * ldgram.y: Add support for FORCE_GROUP_ALLOCATION.
+       * ldlex.h: Likewise.
+       * ldlex.l: Likewise.
+       * lexsup.c: Likewise.
+       * ldlang.c (unique_section_p): Check resolve_section_groups flag
+       not the relaxable link flag.
+       (lang_add_section): Discard section groups when we're resolving
+       groups.  Clear the SEC_LINK_ONCE flag if we're resolving section
+       groups.
+       * ldmain.c (main): Initialise resolve_section_groups flag in
+       link_info based on command line flags.
+       * testsuite/ld-elf/group11.d: New file.
+       * testsuite/ld-elf/group12.d: New file.
+       * testsuite/ld-elf/group12.ld: New file.
+       * NEWS: Mention new features.
+       * ld.texinfo (Options): Document --force-group-allocation.
+       (Miscellaneous Commands): Document FORCE_GROUP_ALLOCATION.
+
+2017-06-05  H.J. Lu  <[email protected]>
+
+       PR ld/21529
+       * testsuite/ld-unique/pr21529.d: New file.
+       * testsuite/ld-unique/pr21529.s: Likewise.
+       * testsuite/ld-unique/unique.exp: Run *.d.
+
+2017-06-05  Alan Modra  <[email protected]>
+
+       * ldmain.c (main): Correct setting of link_indo.new_dtags.
+       * testsuite/ld-elf/now-3.d: Pass --disable-new-dtags to ld
+       * testsuite/ld-elf/now-4.d: Likewise.
+       * testsuite/ld-elf/rpath-1.d: Likewise.
+       * testsuite/ld-elf/rpath-2.d: Likewise.
+
+2017-06-05  Slava Barinov  <[email protected]>
+
+       * configure.ac: Add --enable-new-dtags option.
+       * ldmain.c (main): Set link_info.new_dtags to 1 if when
+       --enable-new-dtags is switched on.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2017-06-02  H.J. Lu  <[email protected]>
+
+       * emulparams/call_nop.sh: Remove -z prefix-nop.
+       * ld.texinfo: Likewise.
+       * testsuite/ld-i386/call3c.d: Check for linker error.
+       * testsuite/ld-x86-64/call1c.d: Likewise.
+
+2017-06-01  Alan Modra  <[email protected]>
+
+       * emultempl/ppc64elf.em (params): Init plt_localentry0 field.
+       (enum ppc64_opt): New, replacing OPTION_* defines.  Add
+       OPTION_PLT_LOCALENTRY, and OPTION_NO_PLT_LOCALENTRY.
+       (PARSE_AND_LIST_*): Support --plt-localentry and --no-plt-localentry.
+       * testsuite/ld-powerpc/elfv2so.d: Update.
+       * testsuite/ld-powerpc/powerpc.exp (TLS opt 5): Use --no-plt-localentry.
+       * testsuite/ld-powerpc/tlsopt5.d: Update.
+
+2017-05-31  Alan Modra  <[email protected]>
+
+       * emultempl/ppc64elf.em (plt-static-chain help): Fix quoting.
+
+2017-05-22  Jiong Wang  <[email protected]>
+
+       * configure.tgt: Set "targ_emul" to "aarch64linux32b" for
+       aarch64_be-*-linux-gnu_ilp32.  Set "targ_emul" to "aarch64linux32" for
+       aarch64-*-linux-gnu_ilp32.
+
+2017-05-19  H.J. Lu  <[email protected]>
+
+       * testsuite/ld-i386/i386.exp: Run property-x86-4a and
+       property-x86-4b.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/property-x86-4a.d: New file.
+       * testsuite/ld-i386/property-x86-4a.s: Likewise.
+       * testsuite/ld-i386/property-x86-4b.d: Likewise.
+       * testsuite/ld-i386/property-x86-4b.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4a.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-4b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
+
+2017-05-19  Georg-Johann Lay  <[email protected]>
+
+       PR ld/21472
+       * emulparams/avrxmega3.sh (RODATA_PM_OFFSET): Set to 0x8000.
+       * scripttempl/avr.sc (__RODATA_PM_OFFSET__) [RODATA_PM_OFFSET]:
+       Use RODATA_PM_OFFSET as default if not already defined.
+       (.data) [!RODATA_PM_OFFSET]: Don't include .rodata and friends.
+       (.rodata) [RODATA_PM_OFFSET]: Put at an offset of
+       __RODATA_PM_OFFSET__.
+
+2017-05-18  Nick Clifton  <[email protected]>
+
+       PR ld/21251
+       * ldfile.c (ldfile_add_library_path): If the path starts with
+       $SYSROOT then use the sysroot as the real prefix.
+       * ldlang.c (lang_add_input_file): Treat $SYSROOT in the same
+       way as =.
+       * ldlex.l: Add $SYSROOT as allow prefix for a filename.
+       * ld.texinfo (-L): Document that $SYSROOT acts like = when
+       prefixing a library search path.
+       (INPUT): Likewise.
+       * testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix
+       tests.
+
+2017-05-18  Alan Modra  <[email protected]>
+
+       * emultempl/elf32.em: Don't compare boolean values against TRUE or FALSE.
+       * emultempl/pe.em: Likewise.
+       * emultempl/pep.em: Likewise.
+       * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
+       Don't compare enum against TRUE.
+
+2017-05-18  Alan Modra  <[email protected]>
+
+       PR ld/20882
+       * testsuite/ld-gc/pr20882.d: Don't pass -gdwarf-sections to gas.
+       Allow for 16-bit address targets and match expected data fully.
+       * testsuite/ld-gc/pr20882a.s: Delete .debug_line section.
+       * testsuite/ld-gc/pr20882b.s: Likewise.
+       * testsuite/ld-gc/pr20882c.s: Likewise.
+
 2017-05-17  H.J. Lu  <[email protected]>
 
        PR ld/20882
 2017-02-27   Georg-Johann Lay  <[email protected]>
 
        PR target/20849
-        * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
-        (.rodata): New section.
-        (.data): Remove .rodata*.
+       * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
+       (.rodata): New section.
+       (.data): Remove .rodata*.
 
 2017-02-25  Alan Modra  <[email protected]>
 
This page took 0.029996 seconds and 4 git commands to generate.