Fold arithmetic integer expressions
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 76c28631ff15015d34f067a448afb0c4779c8c7d..8b22c50a1f31f2aa4ad0def90e767eb619b392fc 100644 (file)
@@ -1,3 +1,281 @@
+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
+       * testsuite/ld-avr/avr-prop-7.d: New test.
+       * testsuite/ld-avr/avr-prop-7.s: New test.
+       * testsuite/ld-avr/avr-prop-8.d: New test.
+       * testsuite/ld-avr/avr-prop-8.s: New test.
+
+2016-09-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
+       targets.
+       * testsuite/ld-elf/pr20513d.d: Likewise.
+
+2016-09-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20513
+       * testsuite/ld-elf/pr20513a.d: New file.
+       * testsuite/ld-elf/pr20513a.s: Likewise.
+       * testsuite/ld-elf/pr20513b.d: Likewise.
+       * testsuite/ld-elf/pr20513b.s: Likewise.
+       * testsuite/ld-elf/pr20513c.d: Likewise.
+       * testsuite/ld-elf/pr20513d.d: Likewise.
+       * testsuite/ld-elf/pr20513e.d: Likewise.
+       * testsuite/ld-elf/pr20513f.d: Likewise.
+
+2016-08-31  Alan Modra  <amodra@gmail.com>
+
+       PR 20513
+       * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
+
+2016-08-31  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
+       * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
+       * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
+       * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
+       * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
+
+2016-08-30  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
+       * testsuite/ld-arc/tls_ie-01.d: Likewise.
+
+2016-08-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
+       if ifunc attribute works.
+
+2016-08-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14961
+       PR ld/20515
+       * testsuite/ld-i386/i386.exp: Run pr20515.
+       * testsuite/ld-i386/pr20515.d: New file.
+       * testsuite/ld-i386/pr20515.s: Likewise.
+       * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
+       function.
+       * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
+       * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
+       * testsuite/ld-x86-64/x86-64.exp: Here.
+       * testsuite/ld-ifunc/pr19784a.c: Moved to ...
+       * testsuite/ld-x86-64/pr19784a.c: Here.
+       * testsuite/ld-ifunc/pr19784b.c: Moved to ...
+       * testsuite/ld-x86-64/pr19784b.c: Here.
+       * testsuite/ld-ifunc/pr19784c.c: Moved to ...
+       * testsuite/ld-x86-64/pr19784c.c: Here.
+
+2016-08-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * emultempl/armelf.em (params): New static variable.
+       (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
+       fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
+       no_enum_size_warning, no_wchar_size_warning, pic_veneer,
+       merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
+       above new structure.
+       (arm_elf_before_allocation): Access static variable from the params
+       structure.
+       (gld${EMULATION_NAME}_finish): Likewise.
+       (arm_elf_create_output_section_statements): Likewise and pass the
+       address of that structure to bfd_elf32_arm_set_target_relocs instead
+       of the static variables.
+       (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
+       structure.
+
+2016-08-26  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
+       * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
+
 2016-08-26  Cupertino Miranda  <cmiranda@synopsys.com>
 
        * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
This page took 0.026802 seconds and 4 git commands to generate.