Add support to the static linker for the tokens accepted by the dynamic linker when...
[deliverable/binutils-gdb.git] / ld / ChangeLog
index a13c8d171edd6e44675221634908b0edc56e36d0..4c296bfdc5042886256b2d44ed95d3216002a8d4 100644 (file)
@@ -1,3 +1,250 @@
+2016-10-11  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/20535
+       * emultempl/elf32.em (_search_needed): Add support for pseudo
+       environment variables supported by ld.so.  Namely $ORIGIN, $LIB
+       and $PLATFORM.
+       * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2016-10-11  Alan Modra  <amodra@gmail.com>
+
+       * ldlang.c (lang_do_assignments_1): Descend into output section
+       statements that do not yet have bfd sections.  Set symbol section
+       temporarily for symbols defined in such statements to the undefined
+       section.  Don't error on data or reloc statements until final phase.
+       * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
+       in expld.section.
+       * testsuite/ld-mmix/bpo-10.d: Adjust.
+       * testsuite/ld-mmix/bpo-11.d: Adjust.
+
+2016-10-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * emulparams/elf64_s390.sh: Move binary start to 16M.
+       * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
+       * testsuite/ld-s390/tlsbin_64.rd: Likewise.
+
+2016-10-07  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (MAX): Define.
+       (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
+       etree_type.value.
+
+2016-10-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
+       * testsuite/ld-elf/elf.exp: ..here.
+
+2016-10-06  Ludovic Courtès  <ludo@gnu.org>
+
+       * emulparams/elf32bmipn32-defs.sh: Shift quote of
+       "x$EMULATION_NAME" to the left to work around
+       <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
+
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+       * lexsup.c: Spell fall through comments consistently and add
+       missing fall through comments.
+
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+       * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
+       by adding return.
+
+2016-10-04  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo (Expression Section): Update result of arithmetic
+       expressions.
+       * ldexp.c (arith_result_section): New function.
+       (fold_binary): Use it.
+
+2016-10-04  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (exp_value_fold): New function.
+       (exp_unop, exp_binop, exp_trinop): Use it.
+
+2016-09-30  Alan Modra  <amodra@gmail.com>
+
+       * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
+       not relocating.
+       * scripttempl/v850_rh850.sc: Likewise.
+
+2016-09-30  Alan Modra  <amodra@gmail.com>
+
+       PR ld/20528
+       * testsuite/ld-elf/pr20528a.d: xfail generic elf targets.  Allow
+       multiple .text sections for hppa-linux.
+       * testsuite/ld-elf/pr20528b.d: Likewise.
+
+2016-09-30  Alan Modra  <amodra@gmail.com>
+
+       * ldmain.c (default_bfd_error_handler): New function pointer.
+       (ld_bfd_error_handler): New function.
+       (main): Arrange to call it on bfd errors/warnings.
+       (ld_bfd_assert_handler): Enable tail call.
+
+2016-09-30  Alan Modra  <amodra@gmail.com>
+
+       * ldlang.c (ignore_bfd_errors): Update params.
+
+2016-09-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20528
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
+       merge 2 sections with different SHF_EXCLUDE.
+       * testsuite/ld-elf/pr20528a.d: New file.
+       * testsuite/ld-elf/pr20528a.s: Likewise.
+       * testsuite/ld-elf/pr20528b.d: Likewise.
+       * testsuite/ld-elf/pr20528b.s: Likewise.
+
+2016-09-28  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR ld/20608
+       * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
+       * testsuite/ld-arm/farcall-mixed-app2.d: New file.
+       * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
+       * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
+       * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
+
+2016-09-26  Vlad Zakharov  <vzakhar@synopsys.com>
+
+       * Makefile.in: Regenerate.
+       * configure: Likewise.
+
+2016-09-26  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
+       * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
+       * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
+       * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
+       * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
+       * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
+       * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
+       * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
+       * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
+
+2016-09-23  Akihiko Odaki  <akihiko.odaki.4i@stu.hosei.ac.jp>
+
+       PR ld/20595
+       * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
+       line and -r option to objdump command line.  Match emitted relocs
+       to make sure that superflous relocs are not generated.
+
+2016-09-23  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
+       * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
+       * testsuite/ld-s390/tlsbin_64.rd: Likewise.
+
+2016-09-22  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/elf32.em (_try_needed): In verbose mode, report failed
+       attempts to find a needed library.
+
+2016-09-21  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
+       in addresses.
+       * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
+       * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
+       * testsuite/ld-aarch64/erratum835769.d: Likewise.
+       * testsuite/ld-aarch64/erratum843419.d: Likewise.
+       * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
+       * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
+       * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-21.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
+       * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
+       * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
+       * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
+       * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
+       * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
+       * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
+       * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
+       * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
+       * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
+       * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
+       * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
+       * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
+       * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
+
+2016-09-21  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
+       * testsuite/ld-aarch64/weak-undefined.d: Likewise.
+
+2016-09-20  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld.texinfo (Input Section Basics): Expand the description of
+       EXCLUDE_FILE.
+
+2016-09-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
+       Extensions entry functions in absolute section.
+       * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
+
+2016-09-14  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/ld-arc/tls-dtpoff.dd: New file.
+       * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
+       * testsuite/ld-arc/tls-dtpoff.s: Likewise.
+       * testsuite/ld-arc/tls-relocs.ld: Likewise.
+       * testsuite/ld-arc/arc.exp: Add new tdpoff test.
+
+2016-09-14  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/20537
+       * emultempl/elf32.em: More OPTION_xxx values into an enum.  Add
+       OPTION_NO_EH_FRAME_HDR.
+       (_add_options): Add support for --no-eh-frame-hdr.
+       * ld.texinfo: Document new option.
+       * lexsup.c (elf_shlib_list_options): List new option.
+       * NEWS: Mention the new option.
+
+2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20550
+       * testsuite/ld-x86-64/pr20550a.s: New file.
+       * testsuite/ld-x86-64/pr20550b.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
+       PR ld/20550.
+
+2016-09-06  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
+       without any sanitization options.
+       (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
+       any sanitization options.
+       (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
+       as CFLAGS and CXXFLAGS respectively.
+
 2016-09-02  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
 
        PR ld/20545
This page took 0.025358 seconds and 4 git commands to generate.