AArch64: When DF_BIND_NOW don't use TLSDESC GOT value.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index cd368bd80c9ca94679b0f67ba391cc764c616b08..e63f2be17891081833b30e8f6b7de1e5ccf01fd7 100644 (file)
@@ -1,3 +1,306 @@
+2019-04-11  Tamar Christina  <tamar.christina@arm.com>
+
+       PR ld/24302
+       * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
+       * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
+
+2019-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * scripttempl/elf.sc (CREATE_PIC): New.  Set for CREATE_SHLIB or
+       CREATE_PIE.
+       (__rel_iplt_start): Don't define for CREATE_PIC.
+       (__rel_iplt_end): Likewise.
+       (__rela_iplt_start): Likewise.
+       (__rela_iplt_end): Likewise.
+
+2019-04-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
+       powerpc-nto.
+
+2019-04-10  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/cskyelf.em (csk_elf_before_parse): New function,
+       setting use_branch_stub false for linux.
+       (csky_elf_create_output_section_statements): Do emit this
+       function and all others in the file for linux, plus the branch
+       option control.  Disable branch stubs when non-ELF.
+
+2019-04-10  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
+       (ecskyelf_linux.c): Depend on cskyelf.sh.
+       (eelf32microblazeel.c): Depend on elf32microblaze.sh.
+       * Makefile.in: Regenerate.
+       * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
+       (PAGE_SIZE): Don't define.
+       * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
+       the differing variable defs/undefs.
+       * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
+       * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
+       (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
+       (PAGE_SIZE): Don't define.
+       * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
+       leaving just the differing OUTPUT_FORMAT.
+
+2019-04-10  Alan Modra  <amodra@gmail.com>
+
+       * po/BLD-POTFILES.in: Regenerate.
+
+2019-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
+       lynxos and nto targets.
+
+2019-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
+       (eelf_i386_chaos.c): Removed.
+       * Makefile.in: Regenerated.
+       * configure.tgt: Remove i[3-7]86-*-kaos*.
+       * emulparams/elf_i386_chaos.sh: Removed.
+
+2019-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
+       * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
+
+2019-04-08  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
+       * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
+       * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
+
+2019-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
+       (eelf_i386_sol2.c): Also depend on
+       $(srcdir)/emultempl/solaris2-x86.em.
+       (eelf_x86_64_sol2.c): Likewise.
+       * Makefile.in: Regenerated.
+       * emulparams/call_nop.sh: Set x86-specific linker options via
+       params.
+       * emulparams/cet.sh: Likewise.
+       * emulparams/reloc_overflow.sh: Likewise.
+       * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New.  Set to
+       "elf-x86".
+       * emulparams/elf_i386.sh: Likewise.
+       * emulparams/elf_i386_be.sh: Likewise.
+       * emulparams/elf_i386_chaos.sh: Likewise.
+       * emulparams/elf_i386_ldso.sh: Likewise.
+       * emulparams/elf_i386_vxworks.sh: Likewise.
+       * emulparams/elf_iamcu.sh: Likewise.
+       * emulparams/elf_k1om.sh: Likewise.
+       * emulparams/elf_l1om.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Likewise.
+       * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
+       "solaris2-x86".
+       * emulparams/elf_x86_64_sol2.sh: Likewise.
+       * emultempl/elf-x86.em: New file.
+       * emultempl/solaris2-x86.em: Likewise.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
+       set link_info.call_nop_byte.
+
+2019-04-05  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
+       * testsuite/ld-powerpc/tlsopt5.d: Likewise.
+       * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
+
+2019-04-03  Alan Modra  <amodra@gmail.com>
+
+       PR 24411
+       ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
+       (<EXPRESSION>"/DISCARD/"): New.
+
+2019-04-03  Alan Modra  <amodra@gmail.com>
+
+       * ldlex.l: Formatting.
+       (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
+       (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
+       (NOCFILENAMECHAR): Remove duplicate chars.  Reorder.
+       (SYMBOLCHARN): Likewise.  Rename to SYMBOLNAMECHAR.
+       (<INPUTLIST>"$SYSROOT"..): Delete rule.
+
+2019-03-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
+       test definition.
+       * testsuite/ld-xtensa/xtensa.exp
+       (relax-undef-weak-pie-export-dynamic): Add new test.
+
+2019-03-26  Martin Liska  <mliska@suse.cz>
+
+       * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
+       lto_visibility_str and use then to inform about plugin-symbols.
+       * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
+
+2019-03-25  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
+       * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
+
+2019-03-21  Sudakshina Das  <sudi.das@arm.com>
+
+       * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
+       * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
+       * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
+       * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
+       * testsuite/ld-aarch64/bti-warn.d: New test.
+
+2019-03-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/fini2.s: Reduce alignment.
+       * testsuite/ld-elf/fini3.s: Likewise.
+       * testsuite/ld-elf/finin.s: Likewise.
+       * testsuite/ld-elf/init2.s: Likewise.
+       * testsuite/ld-elf/init3.s: Likewise.
+       * testsuite/ld-elf/initn.s: Likewise.
+       * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
+       * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
+
+2019-03-21  Alan Modra  <amodra@gmail.com>
+
+       * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
+       * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
+       * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
+       * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
+       * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
+       * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
+       * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
+       * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
+       * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
+       * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
+       * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
+       * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
+       * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
+       * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
+       * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
+       * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
+       * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
+       SORT_NONE to .init and .fini wildcards.
+       * scripttempl/elf32xc16x.sc,
+       * scripttempl/elf32xc16xl.sc,
+       * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
+       * scripttempl/elf_chaos.sc: Add .init output section.
+       * scripttempl/elfd30v.sc: Remove duplicate .init.
+       * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
+       * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
+       duplicate .init, and add .fini wildcard.
+       * scripttempl/ppcpe.sc (INIT, FINI): Delete.
+       * ldlang.c (update_wild_statements): Special case .init and
+       .fini in the wildcard, not the output section.
+
+2019-03-21  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
+
+2019-03-21  Alan Modra  <amodra@gmail.com>
+
+       * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
+       create_object_symbols_section.
+       * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
+
+2019-03-18  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
+       * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
+       * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
+       * testsuite/ld-unique/pr21529.d: Remove csky from xfails
+
+2019-03-15  Nick Clifton  <nickc@redhat.com>
+
+       PR 24262
+       * ld.texi (-plugin): Correct the path used to locate linker
+       plugins.
+
+2019-03-13  Sudakshina Das  <sudi.das@arm.com>
+
+       * NEWS: Document --pac-plt.
+       * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
+       (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
+       (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
+       * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
+       * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
+       * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
+       * testsuite/ld-aarch64/pac-plt-1.d: New test.
+       * testsuite/ld-aarch64/pac-plt-2.d: New test.
+       * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
+
+2019-03-13  Sudakshina Das  <sudi.das@arm.com>
+           Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * NEWS: Document --force-bti.
+       * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
+       (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
+       (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
+       * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
+       * testsuite/ld-aarch64/bti-plt-1.d: New test.
+       * testsuite/ld-aarch64/bti-plt-1.s: New test.
+       * testsuite/ld-aarch64/bti-plt-2.d: New test.
+       * testsuite/ld-aarch64/bti-plt-3.d: New test.
+       * testsuite/ld-aarch64/bti-plt-4.d: New test.
+       * testsuite/ld-aarch64/bti-plt-5.d: New test.
+       * testsuite/ld-aarch64/bti-plt-6.d: New test.
+       * testsuite/ld-aarch64/bti-plt-7.d: New test.
+       * testsuite/ld-aarch64/bti-plt-so.s: New test.
+       * testsuite/ld-aarch64/bti-plt.ld: New test.
+
+2019-03-13  Sudakshina Das  <sudi.das@arm.com>
+
+       * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
+       GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
+       * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
+       * testsuite/ld-aarch64/property-bti-pac1.d: New test.
+       * testsuite/ld-aarch64/property-bti-pac1.s: New test.
+       * testsuite/ld-aarch64/property-bti-pac2.d: New test.
+       * testsuite/ld-aarch64/property-bti-pac2.s: New test.
+       * testsuite/ld-aarch64/property-bti-pac3.d: New test.
+
+2019-03-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/24322
+       * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr24322a.d: New file.
+       * testsuite/ld-i386/pr24322b.d: Likewise.
+       * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24322a.d: Likewise.
+       * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24322b.d: Likewise.
+       * testsuite/ld-x86-64/pr24322a.s: Likewise.
+       * testsuite/ld-x86-64/pr24322b.s: Likewise.
+       * testsuite/ld-x86-64/pr24322c.s: Likewise.
+
+2019-03-06  Nick Bowler  <nbowler@draconx.ca>
+
+       PR 24289
+       * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
+       attributes during the first phase.
+
+2019-03-01  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
+       2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
+
+       PR 20113
+       * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
+       * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
+       * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
+       * testsuite/ld-s390/tlsbin.dd: Likewise.
+       * testsuite/ld-s390/tlsbin.rd: Likewise.
+       * testsuite/ld-s390/tlsbin.sd: Likewise.
+       * testsuite/ld-s390/tlsbin_64.dd: Likewise.
+       * testsuite/ld-s390/tlsbin_64.rd: Likewise.
+       * testsuite/ld-s390/tlsbin_64.sd: Likewise.
+       * testsuite/ld-s390/tlspic.dd: Likewise.
+       * testsuite/ld-s390/tlspic.rd: Likewise.
+       * testsuite/ld-s390/tlspic.sd: Likewise.
+       * testsuite/ld-s390/tlspic_64.dd: Likewise.
+       * testsuite/ld-s390/tlspic_64.rd: Likewise.
+       * testsuite/ld-s390/tlspic_64.sd: Likewise.
+       * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
+
 2019-02-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/24276
This page took 0.026312 seconds and 4 git commands to generate.