X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=c02f5e8e3a9bd596d5c3c0eb9b1245f7bc6c55a0;hb=f522190fa7f04a8d9a1dfc51d0cf69973c08afb5;hp=49f79726f2be2fc62e6d43832ea3f5ccd19ed896;hpb=4ba2ef8fbe74716708e5ce0bcba4f3b1cc8ac99a;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 49f79726f2..c02f5e8e3a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,1075 @@ +2016-12-03 Alan Modra + + * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2. + +2016-12-03 Alan Modra + + * ldexp.c (try_copy_symbol_type): Remove unnecessary check. + +2016-12-02 Nick Clifton + + PR ld/20910 + * ldmain.c (main): Prevent evaluation of % sequences when + printing out a linker script. + + PR ld/20911 + * ldctor.c (ldctor_build_sets): Produce alternative error message + if the reloc was being applied to a special section. + + PR ld/20912 + * emultempl/elf32.em (_place_orphan): Test for ELF format of the + orphan before looking for the SHF_EXCLUDE flag. + +2016-12-02 Josh Conner + + * Makefile.am: Add dependency information for earmelf_fuchsia.c. + * Makefile.in: Regenerate. + * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and + x86_64-*-fuchsia* targets. + * emulparams/armelf_fuchsia.sh: New file. + * emulparams/armelfb_fuchsia.sh: New file. + +2016-12-01 Rudy Y + + PR ld/20880 + * pe-dll.c (make_one): Use the hint if the ordinal is -1. + +2016-12-01 Yury Norov + + PR ld/20868 + * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test. + * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new + test. + * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test. + +2016-11-28 Andrew Burgess + + * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME. + +2016-11-28 Nick Clifton + + PR 20815 + * testsuite/ld-elf/loadaddr1.d: Update. + * testsuite/ld-powerpc/vle-multiseg-5.d: Update. + * testsuite/ld-scripts/phdrs3a.d: Update. + +2016-11-28 H.J. Lu + + * testsuite/ld-elf/indirect.exp: Add a test for PR 18720. + * testsuite/ld-elf/pr18720.rd: New file. + +2016-11-27 Alan Modra + + PR 20815 + * testsuite/ld-powerpc/vle-multiseg-5.d: Update. + +2016-11-27 Ambrogino Modigliani + + * deffilep.y: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * scripttempl/ia64vms.sc: Fix spelling in comments. + * scripttempl/ip2k.sc: Fix spelling in comments. + * scripttempl/v850.sc: Fix spelling in comments. + * scripttempl/v850_rh850.sc: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * emultempl/avrelf.em: Fix spelling in comments. + * emultempl/elf32.em: Fix spelling in comments. + * emultempl/pe.em: Fix spelling in comments. + * emultempl/pep.em: Fix spelling in comments. + * emultempl/spuelf.em: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments. + * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments. + * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments. + * testsuite/ld-undefined/undefined.exp: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments. + * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments. + * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments. + * testsuite/ld-s390/tlspic1.s: Fix spelling in comments. + * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments. + * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * deffile.h: Fix spelling in comments. + * ld.h: Fix spelling in comments. + * ldlang.c: Fix spelling in comments. + * ldmisc.c: Fix spelling in comments. + * pe-dll.c: Fix spelling in comments. + +2016-11-24 Jiong Wang + + PR target/20737 + * testsuite/ld-arm/pie-bind-locally-a.s: New test source. + * testsuite/ld-arm/pie-bind-locally-b.s: Likewise. + * testsuite/ld-arm/pie-bind-locally.d: New testcase. + * testsuite/ld-arm/arm-elf.exp: Run new testcase. + +2016-11-24 Nick Clifton + + PR ld/20858 + * emultempl/elf32.em (_search_needed): Allow for path separator + and terminating NUL byte when allocating space for new $ORIGIN + path. + +2016-11-23 Nick Clifton + + * testsuite/ld-arm/vxworks2.sd: Update expected readelf output. + + PR ld/20815 + * ld.texinfo: Note that PT_TLS can be used as a segment type. + * testsuite/ld-discard/discard.ld: Add space for program headers. + * testsuite/ld-elf/flags1.ld: Likewise. + * testsuite/ld-elf/maxpage3.t: Likewise. + * testsuite/ld-elf/noload-1.t: Likewise. + * testsuite/ld-elf/orphan.ld: Likewise. + * testsuite/ld-elf/overlay.t: Likewise. + * testsuite/ld-elf/pr14052.t: Likewise. + * testsuite/ld-elf/pr19539.t: Likewise. + * testsuite/ld-elf/provide-hidden-1.ld: Likewise. + * testsuite/ld-elf/provide-hidden-s.ld: Likewise. + * testsuite/ld-elf/weak-dyn-1.ld: Likewise. + * testsuite/ld-i386/pr19539.t: Likewise. + * testsuite/ld-scripts/defined.t: Likewise. + * testsuite/ld-scripts/defined6.t: Likewise. + * testsuite/ld-scripts/dynamic-sections.t: Likewise. + * testsuite/ld-scripts/empty-aligned.t: Likewise. + * testsuite/ld-scripts/provide-2.t: Likewise. + * testsuite/ld-scripts/provide-4.t: Likewise. + * testsuite/ld-vax-elf/plt-local.ld: Likewise. + * testsuite/ld-x86-64/pr19539.t: Likewise. + * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the + dynamic linker. + * testsuite/ld-elf/ehdr_start-weak.d: Likewise. + * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise. + * testsuite/ld-elf/loadaddr1.d: Update expected readelf output. + * testsuite/ld-elf/noload-2.d: Likewise. + * testsuite/ld-powerpc/vxworks2.sd: Likewise. + * testsuite/ld-scripts/phdrs3a.d: Likewise. + * testsuite/ld-scripts/size-2.d: Likewise. + * testsuite/ld-elf/group.ld: Add program headers. + * testsuite/ld-elf/overlay.d: Skip for SPU. + * testsuite/ld-elf/flags1.d: Skip for RX. + * testsuite/ld-elf/pr19162.d: Skip for HPPA64. + * testsuite/ld-elf/pr19539.d: Skip for ALPHA. + * testsuite/ld-scripts/empty-orphan.t: Update program headers. + * testsuite/ld-scripts/size-2.t: Likewise. + +2016-11-22 Ambrogino Modigliani + + * configure: Regenerate. + +2016-11-22 Alan Modra + + PR 20744 + * emultempl/ppc32elf.em (params): Update initializer. Handle + --vle-reloc-fixup command line arg. + +2016-11-15 Senthil Kumar Selvaraj + + PR ld/20789 + * ld/testsuite/ld-avr/pr20789.d: New test. + * ld/testsuite/ld-avr/pr20789.s: New test. + + +2016-11-14 H.J. Lu + + PR ld/20800 + * testsuite/ld-x86-64/pr20800a.S: New file. + * testsuite/ld-x86-64/pr20800b.S: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test. + +2016-11-14 Nick Clifton + + * lexsup.c (parse_args): Add break at end of default case. + +2016-11-10 Jiong Wang + + PR target/20737 + * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source. + * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise. + * testsuite/ld-aarch64/pie-bind-locally.d: New testcase. + * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase. + +2016-11-07 Nick Clifton + + PR ld/20784 + * emultempl/elf32.em (search_needed): Fix infinite loop when + unable to process a token. Add support for curly braced enclosed + tokens. + * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and + $LIB. + +2016-11-07 Nick Clifton + + * ld.texinfo (--compress-debug-sections): Expand documentation of + this option. + +2016-11-04 Nick Clifton + + * emultempl/elf32.em (search_needed): Remove use of getauxval and + inclusion of . Replace support for $PLATFORM with a + warning message. + * configure.ac (AC_CHECK_FUNCS): Remove getauxval. + * configure: Regenerate. + * config.in: Regenerate. + +2016-11-04 Andrew Burgess + + * ldlang.h (struct lang_wild_statement_struct): Add + exclude_name_list field. + * ldlang.c (walk_wild_file_in_exclude_list): New function. + (walk_wild_consider_section): Use new + walk_wild_file_in_exclude_list function. + (walk_wild_file): Add call to walk_wild_file_in_exclude_list. + (print_wild_statement): Print new exclude_name_list field. + (lang_add_wild): Initialise new exclude_name_list field. + * testsuite/ld-scripts/exclude-file-1.d: New file. + * testsuite/ld-scripts/exclude-file-1.map: New file. + * testsuite/ld-scripts/exclude-file-1.t: New file. + * testsuite/ld-scripts/exclude-file-2.d: New file. + * testsuite/ld-scripts/exclude-file-2.map: New file. + * testsuite/ld-scripts/exclude-file-2.t: New file. + * testsuite/ld-scripts/exclude-file-3.d: New file. + * testsuite/ld-scripts/exclude-file-3.map: New file. + * testsuite/ld-scripts/exclude-file-3.t: New file. + * testsuite/ld-scripts/exclude-file-4.d: New file. + * testsuite/ld-scripts/exclude-file-4.map: New file. + * testsuite/ld-scripts/exclude-file-4.t: New file. + * testsuite/ld-scripts/exclude-file-a.s: New file. + * testsuite/ld-scripts/exclude-file-b.s: New file. + * testsuite/ld-scripts/exclude-file.exp: New file. + * ld.texinfo (Input Section Basics): Update description of + EXCLUDE_FILE to cover the new features. + * NEWS: Mention new EXCLUDE_FILE usage. + +2016-11-04 Andrew Burgess + + * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names + based on the original source file name. + * testsuite/ld-discard/extern.d: Update object file names. + * testsuite/ld-discard/start.d: Likewise. + * testsuite/ld-discard/static.d: Likewise. + * testsuite/ld-elf/orphan-8.map: Likewise. + +2016-11-04 Andrew Burgess + + * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add + xc16x-*-elf to the list of targets that don't support -shared. + +2016-11-04 Andrew Burgess + + * ldgram.y: Rename file_NAME_list to section_NAME_list + throughout. + +2016-11-01 Palmer Dabbelt + Andrew Waterman + + Add support for RISC-V architecture. + * Makefile.am: Add riscv files. + * Makefile.in: Regenerate. + * NEWS: Mention the support for this target. + * configure.tgt: Add riscv entries. + * emulparams/elf32lriscv-defs.sh: New file. + * emulparams/elf32lriscv.sh: New file. + * emulparams/elf64lriscv-defs.sh: New file. + * emulparams/elf64lriscv.sh: New file. + * emultempl/riscvelf.em: New file. + +2016-10-31 Thomas Preud'homme + + * ldmain.c (add_archive_element): Initialize input->header.type. + * plugin.c (plugin_maybe_claim): Assert the statement is an input + statement. + +2016-10-15 Alan Modra + + * emultempl/spu_ovl.o_c: Regenerate. + +2016-10-14 Alan Modra + + * scripttempl/DWARF.sc: Add .debug_addr. + +2016-10-12 Alan Modra + + * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change. + * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise. + * testsuite/ld-tic6x/shlib-1r.dd: Likewise. + * testsuite/ld-x86-64/plt-nacl.pd: Likewise. + * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise. + +2016-10-11 Nick Clifton + + * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change + in objdump. + * ld-aarch64/emit-relocs-515.d: Likewise. + * ld-aarch64/emit-relocs-516-be.d: Likewise. + * ld-aarch64/emit-relocs-516.d: Likewise. + * ld-aarch64/farcall-b-plt.d: Likewise. + * ld-aarch64/farcall-bl-plt.d: Likewise. + * ld-aarch64/gc-plt-relocs.d: Likewise. + * ld-aarch64/tls-desc-ie.d: Likewise. + * ld-aarch64/tls-tiny-desc.d: Likewise. + * ld-aarch64/tls-tiny-gd.d: Likewise. + * ld-aarch64/tls-tiny-ie.d: Likewise. + * ld-arm/arm-app-abs32.d: Likewise. + * ld-arm/arm-app.d: Likewise. + * ld-arm/arm-lib-plt32.d: Likewise. + * ld-arm/arm-lib.d: Likewise. + * ld-arm/armthumb-lib.d: Likewise. + * ld-arm/cortex-a8-fix-b-plt.d: Likewise. + * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise. + * ld-arm/cortex-a8-fix-bl-plt.d: Likewise. + * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise. + * ld-arm/cortex-a8-fix-blx-plt.d: Likewise. + * ld-arm/farcall-mixed-app-v5.d: Likewise. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-app2.d: Likewise. + * ld-arm/farcall-mixed-lib-v4t.d: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/ifunc-10.dd: Likewise. + * ld-arm/ifunc-14.dd: Likewise. + * ld-arm/ifunc-15.dd: Likewise. + * ld-arm/ifunc-3.dd: Likewise. + * ld-arm/ifunc-4.dd: Likewise. + * ld-arm/ifunc-9.dd: Likewise. + * ld-arm/long-plt-format.d: Likewise. + * ld-arm/mixed-app-v5.d: Likewise. + * ld-arm/mixed-app.d: Likewise. + * ld-arm/mixed-lib.d: Likewise. + * ld-arm/tls-lib-loc.d: Likewise. + * ld-cris/dso-pltdis1.d: Likewise. + * ld-cris/dso-pltdis2.d: Likewise. + * ld-cris/dso12-pltdis.d: Likewise. + * ld-elf/symbolic-func.r: Likewise. + * ld-frv/fdpic-pie-1.d: Likewise. + * ld-frv/fdpic-pie-2.d: Likewise. + * ld-frv/fdpic-pie-6.d: Likewise. + * ld-frv/fdpic-pie-7.d: Likewise. + * ld-frv/fdpic-pie-8.d: Likewise. + * ld-frv/fdpic-shared-1.d: Likewise. + * ld-frv/fdpic-shared-2.d: Likewise. + * ld-frv/fdpic-shared-3.d: Likewise. + * ld-frv/fdpic-shared-4.d: Likewise. + * ld-frv/fdpic-shared-5.d: Likewise. + * ld-frv/fdpic-shared-6.d: Likewise. + * ld-frv/fdpic-shared-7.d: Likewise. + * ld-frv/fdpic-shared-8.d: Likewise. + * ld-frv/fdpic-shared-local-2.d: Likewise. + * ld-frv/fdpic-shared-local-8.d: Likewise. + * ld-frv/fdpic-static-1.d: Likewise. + * ld-frv/fdpic-static-2.d: Likewise. + * ld-frv/fdpic-static-6.d: Likewise. + * ld-frv/fdpic-static-7.d: Likewise. + * ld-frv/fdpic-static-8.d: Likewise. + * ld-frv/tls-dynamic-2.d: Likewise. + * ld-frv/tls-initial-shared-2.d: Likewise. + * ld-frv/tls-relax-shared-2.d: Likewise. + * ld-frv/tls-shared-2.d: Likewise. + * ld-i386/plt-nacl.pd: Likewise. + * ld-i386/plt-pic-nacl.pd: Likewise. + * ld-i386/plt-pic.pd: Likewise. + * ld-i386/plt.pd: Likewise. + * ld-i386/pr19636-1d-nacl.d: Likewise. + * ld-i386/pr19636-1d.d: Likewise. + * ld-i386/pr19636-2c-nacl.d: Likewise. + * ld-i386/pr19636-2c.d: Likewise. + * ld-ifunc/ifunc-21-x86-64.d: Likewise. + * ld-ifunc/ifunc-22-x86-64.d: Likewise. + * ld-ifunc/pr17154-i386.d: Likewise. + * ld-ifunc/pr17154-x86-64.d: Likewise. + * ld-m68k/plt1-68020.d: Likewise. + * ld-m68k/plt1-cpu32.d: Likewise. + * ld-m68k/plt1-isab.d: Likewise. + * ld-m68k/plt1-isac.d: Likewise. + * ld-metag/shared.d: Likewise. + * ld-metag/stub_pic_app.d: Likewise. + * ld-metag/stub_pic_shared.d: Likewise. + * ld-metag/stub_shared.d: Likewise. + * ld-s390/tlsbin_64.dd: Likewise. + * ld-s390/tlspic_64.dd: Likewise. + * ld-tic6x/shlib-1.dd: Likewise. + * ld-tic6x/shlib-1b.dd: Likewise. + * ld-tic6x/shlib-1rb.dd: Likewise. + * ld-tic6x/shlib-app-1.dd: Likewise. + * ld-tic6x/shlib-app-1b.dd: Likewise. + * ld-tic6x/shlib-app-1r.dd: Likewise. + * ld-tic6x/shlib-app-1rb.dd: Likewise. + * ld-tic6x/shlib-noindex.dd: Likewise. + * ld-vax-elf/export-class-data.dd: Likewise. + * ld-vax-elf/plt-local-lib.dd: Likewise. + * ld-vax-elf/plt-local.dd: Likewise. + * ld-x86-64/bnd-ifunc-2.d: Likewise. + * ld-x86-64/bnd-plt-1.d: Likewise. + * ld-x86-64/gotpcrel1.dd: Likewise. + * ld-x86-64/libno-plt-1b.dd: Likewise. + * ld-x86-64/load1c-nacl.d: Likewise. + * ld-x86-64/load1c.d: Likewise. + * ld-x86-64/load1d-nacl.d: Likewise. + * ld-x86-64/load1d.d: Likewise. + * ld-x86-64/mov1a.d: Likewise. + * ld-x86-64/mov1b.d: Likewise. + * ld-x86-64/mov1c.d: Likewise. + * ld-x86-64/mov1d.d: Likewise. + * ld-x86-64/mov2a.d: Likewise. + * ld-x86-64/mov2b.d: Likewise. + * ld-x86-64/mov2c.d: Likewise. + * ld-x86-64/mov2d.d: Likewise. + * ld-x86-64/mpx3.dd: Likewise. + * ld-x86-64/mpx4.dd: Likewise. + * ld-x86-64/no-plt-1a.dd: Likewise. + * ld-x86-64/no-plt-1b.dd: Likewise. + * ld-x86-64/no-plt-1c.dd: Likewise. + * ld-x86-64/no-plt-1e.dd: Likewise. + * ld-x86-64/no-plt-1f.dd: Likewise. + * ld-x86-64/no-plt-1g.dd: Likewise. + * ld-x86-64/plt-main-bnd.dd: Likewise. + * ld-x86-64/plt-nacl.pd: Likewise. + * ld-x86-64/plt.pd: Likewise. + * ld-x86-64/pr18591.d: Likewise. + * ld-x86-64/pr19609-1c.d: Likewise. + * ld-x86-64/pr19609-1e.d: Likewise. + * ld-x86-64/pr19609-1j.d: Likewise. + * ld-x86-64/pr19609-1l.d: Likewise. + * ld-x86-64/pr19609-1m.d: Likewise. + * ld-x86-64/pr19609-5b.d: Likewise. + * ld-x86-64/pr19609-5c.d: Likewise. + * ld-x86-64/pr19609-5e.d: Likewise. + * ld-x86-64/pr19609-6b.d: Likewise. + * ld-x86-64/pr19609-7b.d: Likewise. + * ld-x86-64/pr19609-7d.d: Likewise. + * ld-x86-64/pr19636-2d.d: Likewise. + * ld-x86-64/pr20093-1.d: Likewise. + * ld-x86-64/pr20093-2.d: Likewise. + * ld-x86-64/pr20253-1b.d: Likewise. + * ld-x86-64/pr20253-1d.d: Likewise. + * ld-x86-64/pr20253-1f.d: Likewise. + * ld-x86-64/pr20253-1h.d: Likewise. + * ld-x86-64/pr20253-1j.d: Likewise. + * ld-x86-64/pr20253-1l.d: Likewise. + * ld-x86-64/protected3.d: Likewise. + * ld-x86-64/tlsbin.dd: Likewise. + * ld-x86-64/tlsbin2.dd: Likewise. + * ld-x86-64/tlsbindesc.dd: Likewise. + * ld-x86-64/tlsdesc-nacl.pd: Likewise. + * ld-x86-64/tlsdesc.dd: Likewise. + * ld-x86-64/tlsdesc.pd: Likewise. + * ld-x86-64/tlsgd10.dd: Likewise. + * ld-x86-64/tlsgd5.dd: Likewise. + * ld-x86-64/tlsgd6.dd: Likewise. + * ld-x86-64/tlsgd8.dd: Likewise. + * ld-x86-64/tlsgdesc.dd: Likewise. + * ld-x86-64/tlspic.dd: Likewise. + * ld-x86-64/tlspic2.dd: Likewise. + +2016-10-11 Nick Clifton + + 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 + + * 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 ): 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 + + * 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 + + * ldexp.c (MAX): Define. + (exp_unop, exp_binop, exp_trinop): Alloc at least enough for + etree_type.value. + +2016-10-07 Alan Modra + + * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from.. + * testsuite/ld-elf/elf.exp: ..here. + +2016-10-06 Ludovic Courtès + + * emulparams/elf32bmipn32-defs.sh: Shift quote of + "x$EMULATION_NAME" to the left to work around + . + +2016-10-06 Alan Modra + + * lexsup.c: Spell fall through comments consistently and add + missing fall through comments. + +2016-10-06 Alan Modra + + * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning + by adding return. + +2016-10-04 Alan Modra + + * 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 + + * ldexp.c (exp_value_fold): New function. + (exp_unop, exp_binop, exp_trinop): Use it. + +2016-09-30 Alan Modra + + * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when + not relocating. + * scripttempl/v850_rh850.sc: Likewise. + +2016-09-30 Alan Modra + + 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 + + * 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 + + * ldlang.c (ignore_bfd_errors): Update params. + +2016-09-29 H.J. Lu + + 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 + + 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 + + * Makefile.in: Regenerate. + * configure: Likewise. + +2016-09-26 Alan Modra + + * 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 + + 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 + + * 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 + + * emultempl/elf32.em (_try_needed): In verbose mode, report failed + attempts to find a needed library. + +2016-09-21 Richard Sandiford + + * 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 + + * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments. + * testsuite/ld-aarch64/weak-undefined.d: Likewise. + +2016-09-20 Andrew Burgess + + * ld.texinfo (Input Section Basics): Expand the description of + EXCLUDE_FILE. + +2016-09-14 Thomas Preud'homme + + * 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 + + * 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 + + 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 + + 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 + + * 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 + + 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 + + * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu* + targets. + * testsuite/ld-elf/pr20513d.d: Likewise. + +2016-09-01 H.J. Lu + + 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 + + PR 20513 + * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections. + +2016-08-31 Alan Modra + + * 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 + + * 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 + + * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only + if ifunc attribute works. + +2016-08-29 H.J. Lu + + 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 + + * 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 + + * 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 + + * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix. + * testsuite/ld-arc/tls_ie-01.d: Likewise + +2016-08-26 Thomas Preud'homme + + * emultempl/armelf.em (in_implib_filename): Declare and initialize new + variable. + (arm_elf_create_output_section_statements): Open import input library + file for writing and pass resulting in_implib_bfd to + bfd_elf32_arm_set_target_relocs. + (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option. + (PARSE_AND_LIST_LONGOPTS): Define --in-implib option. + (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option. + (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case. + * ld.texinfo (--cmse-implib): Update to mention --in-implib. + (--in-implib): Document new option. + * NEWS: Likewise. + * testsuite/ld-arm/arm-elf.exp + (Secure gateway import library generation): add --defsym VER=1 to gas + CLI. + (Secure gateway import library generation: errors): Likewise. + (Input secure gateway import library): New test. + (Input secure gateway import library: no output import library): + Likewise. + (Input secure gateway import library: not an SG input import library): + Likewise. + (Input secure gateway import library: earlier stub section base): + Likewise. + (Input secure gateway import library: later stub section base): + Likewise. + (Input secure gateway import library: veneer comeback): Likewise. + (Input secure gateway import library: entry function change): + Likewise. + * testsuite/ld-arm/cmse-implib.s: Add input import library testing. + * testsuite/ld-arm/cmse-implib.rd: Update accordingly. + * testsuite/ld-arm/cmse-new-implib.out: New file. + * testsuite/ld-arm/cmse-new-implib.rd: Likewise. + * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise. + * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise. + * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise. + * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise. + * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise. + +2016-08-25 Alan Modra + + * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE + support for BE. First output all target endian configury + values, then opposite endian. Handle more tooldirs. Fix + bogus matches with strings in MANUF-OS part of target triple. + +2016-08-23 Alan Modra + + * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests + twice. + +2016-08-19 Nick Clifton + + * emultempl/aarch64elf.em (before_parse): Initialise the relro + field in the link_info structure. + * emultempl/armelf.em (before_parse): Likewise. + * emultempl/linux.em (before_parse): Likewise. + * emultempl/scoreelf.em (before_parse): Likewise. + + * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections. + * testsuite/ld-alpha/tlsbinr.rd: Likewise. + * testsuite/ld-alpha/tlspic.rd: Likewise. + * testsuite/ld-cris/libdso-2.d: Likewise. + * testsuite/ld-i386/nogot1.d: Likewise. + * testsuite/ld-i386/pr12718.d: Likewise. + * testsuite/ld-i386/pr12921.d: Likewise. + * testsuite/ld-i386/tlsbin-nacl.rd: Likewise. + * testsuite/ld-i386/tlsbin.rd: Likewise. + * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise. + * testsuite/ld-i386/tlsbin2.rd: Likewise. + * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise. + * testsuite/ld-i386/tlsbindesc.rd: Likewise. + * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise. + * testsuite/ld-i386/tlsdesc.rd: Likewise. + * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise. + * testsuite/ld-i386/tlsgdesc.rd: Likewise. + * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise. + * testsuite/ld-i386/tlsnopic.rd: Likewise. + * testsuite/ld-i386/tlspic-nacl.rd: Likewise. + * testsuite/ld-i386/tlspic.rd: Likewise. + * testsuite/ld-i386/tlspic2-nacl.rd: Likewise. + * testsuite/ld-i386/tlspic2.rd: Likewise. + * testsuite/ld-ia64/tlsbin.rd: Likewise. + * testsuite/ld-ia64/tlspic.rd: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise. + * testsuite/ld-mmix/bspec1.d: Likewise. + * testsuite/ld-mmix/bspec2.d: Likewise. + * testsuite/ld-mmix/local1.d: Likewise. + * testsuite/ld-mmix/local3.d: Likewise. + * testsuite/ld-mmix/local5.d: Likewise. + * testsuite/ld-mmix/local7.d: Likewise. + * testsuite/ld-mmix/undef-3.d: Likewise. + * testsuite/ld-powerpc/tlsexe.r: Likewise. + * testsuite/ld-powerpc/tlsexe32.r: Likewise. + * testsuite/ld-powerpc/tlsexetoc.r: Likewise. + * testsuite/ld-powerpc/tlsso.r: Likewise. + * testsuite/ld-powerpc/tlsso32.r: Likewise. + * testsuite/ld-powerpc/tlstocso.r: Likewise. + * testsuite/ld-s390/tlsbin.rd: Likewise. + * testsuite/ld-s390/tlsbin_64.rd: Likewise. + * testsuite/ld-s390/tlspic.rd: Likewise. + * testsuite/ld-s390/tlspic_64.rd: Likewise. + * testsuite/ld-sh/sh64/crange1.rd: Likewise. + * testsuite/ld-sh/sh64/crange2.rd: Likewise. + * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise. + * testsuite/ld-sh/sh64/crange3-media.rd: Likewise. + * testsuite/ld-sh/sh64/crange3.rd: Likewise. + * testsuite/ld-sh/sh64/crangerel1.rd: Likewise. + * testsuite/ld-sh/sh64/crangerel2.rd: Likewise. + * testsuite/ld-sh/tlsbin-2.d: Likewise. + * testsuite/ld-sh/tlspic-2.d: Likewise. + * testsuite/ld-sparc/gotop32.rd: Likewise. + * testsuite/ld-sparc/gotop64.rd: Likewise. + * testsuite/ld-sparc/tlssunbin32.rd: Likewise. + * testsuite/ld-sparc/tlssunbin64.rd: Likewise. + * testsuite/ld-sparc/tlssunnopic32.rd: Likewise. + * testsuite/ld-sparc/tlssunnopic64.rd: Likewise. + * testsuite/ld-sparc/tlssunpic32.rd: Likewise. + * testsuite/ld-sparc/tlssunpic64.rd: Likewise. + * testsuite/ld-tic6x/common.d: Likewise. + * testsuite/ld-tic6x/shlib-1.rd: Likewise. + * testsuite/ld-tic6x/shlib-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. + * testsuite/ld-tic6x/static-app-1.rd: Likewise. + * testsuite/ld-tic6x/static-app-1b.rd: Likewise. + * testsuite/ld-tic6x/static-app-1r.rd: Likewise. + * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. + * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise. + * testsuite/ld-x86-64/ilp32-4.d: Likewise. + * testsuite/ld-x86-64/nogot1.d: Likewise. + * testsuite/ld-x86-64/pr12718.d: Likewise. + * testsuite/ld-x86-64/pr12921.d: Likewise. + * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise. + * testsuite/ld-x86-64/split-by-file.rd: Likewise. + * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlsbin.rd: Likewise. + * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlsbin2.rd: Likewise. + * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. + * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlsdesc.rd: Likewise. + * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlsgdesc.rd: Likewise. + * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlspic.rd: Likewise. + * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlspic2.rd: Likewise. + * testsuite/ld-xtensa/tlsbin.rd: Likewise. + * testsuite/ld-xtensa/tlspic.rd: Likewise. + +2016-08-18 Alan Modra + + * testsuite/ld-undefined/weak-undef.exp: Use unsupported not + unresolved. + +2016-08-12 Alan Modra + + * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info. + * testsuite/ld-tic6x/shlib-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. + * testsuite/ld-tic6x/static-app-1.rd: Likewise. + * testsuite/ld-tic6x/static-app-1b.rd: Likewise. + * testsuite/ld-tic6x/static-app-1r.rd: Likewise. + * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. + +2016-08-12 Alan Modra + + * testsuite/ld-undefined/weak-fundef.s: New. + * testsuite/ld-undefined/weak-undef.t: Don't specify filename. + * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange + much of old code. Use is_elf_format to select targets. + +2016-08-11 Alan Modra + + PR ld/20436 + * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore + remote_exec status. + (check_gcc_plugin_enabled): Likewise. Revert previous patch. + +2016-08-11 Nick Clifton + + PR ld/20436 + * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not + testing remotely, check to see if target compiler is installed + before trying to run it. + +2016-08-10 Maciej W. Rozycki + + PR ld/15428 + * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start' + test 2. + +2016-08-10 Maciej W. Rozycki + + * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New + test. + * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New + test. + * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test. + * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test. + * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test + source. + * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test + source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-08-09 H.J. Lu + + PR ld/20436 + * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New + proc. + (check_lto_available): Return 0 if check_gcc_plugin_enabled + returns 0. + (check_lto_fat_available): Likewise. + (check_lto_shared_available): Likewise. + +2016-08-09 Roland McGrath + + * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes. + +2016-08-04 Thomas Preud'homme + + * emultempl/armelf.em (cmse_implib): Declare and define this new + static variable. + (arm_elf_create_output_section_statements): Add new cmse_implib + parameter. + (OPTION_CMSE_IMPLIB): Define macro. + (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case. + * ld.texinfo (--cmse-implib): Document new option. + * testsuite/ld-arm/arm-elf.exp + (Secure gateway import library generation): New test. + (Secure gateway import library generation: errors): Likewise. + * testsuite/ld-arm/cmse-implib.s: New file. + * testsuite/ld-arm/cmse-implib-errors.out: Likewise. + * testsuite/ld-arm/cmse-implib.rd: Likewise. + 2016-08-04 Thomas Preud'homme * ld.texinfo (Placement of SG veneers): New concept entry. @@ -1563,6 +2635,13 @@ * scripttempl/avrtiny.sc (.text): Do not set LMA to zero. +2016-04-21 H.J. Lu + + * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on + Linux with GCC 4.9 or newer. + (check_lto_fat_available): Likewise. + (check_lto_shared_available): Likewise. + 2016-04-21 Nick Clifton * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in