X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=99ca2e5fded4ca8f4eecb99b6932d5b4c0d13442;hb=80169c8a23d9bd3f213028e3d44239b03d0aedf7;hp=f53a2edff5b6b5eec5b6e614444feec04c61ccac;hpb=5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index f53a2edff5..99ca2e5fde 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,919 @@ +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. + * testsuite/ld-arm/arm-elf.exp + (Secure gateway veneers: no .gnu.sgstubs section): New test. + (Secure gateway veneers: wrong entry functions): Likewise. + (Secure gateway veneers (ARMv8-M Baseline)): Likewise. + (Secure gateway veneers (ARMv8-M Mainline)): Likewise. + * testsuite/ld-arm/cmse-veneers.s: New file. + * testsuite/ld-arm/cmse-veneers.d: Likewise. + * testsuite/ld-arm/cmse-veneers.rd: Likewise. + * testsuite/ld-arm/cmse-veneers.sd: Likewise. + * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise. + * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise. + +2016-08-02 Nick Clifton + + PR ld/17739 + * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with + valye 'yes'. + * emulparams/shelf32.sh: Likewise. + * emulparams/shelf32.sh: Likewise. + * emulparams/shelf_nto.sh: Likewise. + * emulparams/shelf_nto.sh: Likewise. + * emulparams/shelf_vxworks.sh: Likewise. + * emulparams/shelf_vxworks.sh: Likewise. + * emulparams/shlelf32_linux.sh: Likewise. + * emulparams/shlelf32_linux.sh: Likewise. + * emulparams/shlelf_linux.sh: Likewise. + * emulparams/shlelf_linux.sh: Likewise. + * emulparams/shlelf_nto.sh: Likewise. + * emulparams/shlelf_nto.sh: Likewise. + +2016-07-27 Maciej W. Rozycki + + * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update + patterns for branch compaction. + * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: + Likewise. + +2016-07-27 Nick Clifton + + * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the + test to targets which support cfi. + +2016-07-27 Igor Kudrin + + * ldbuildid.c (generate_build_id): Warning fix. + +2016-07-26 Maciej W. Rozycki + + * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support. + * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise. + * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise. + * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New + test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New + test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od: + New test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd: + New test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od: + New test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd: + New test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od: + New test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd: + New test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od: + New test. + * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd: + New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-07-26 Igor Kudrin + + * ldbuildid.c: Changes for MinGW32: + Include windows.h and rpcdce.h. + (validate_build_id_style): Allow "uuid" style. + (generate_build_id): Fill in id_bits using UuidCreate(). + +2016-07-25 Alan Modra + + * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k + and m32r. Correct comment. Relax ld -r match to account for + msp increased number of default sections. + +2016-07-22 Cupertino Miranda + + * testsuite/ld-arc/got-01.d: New file. + * testsuite/ld-arc/got-01.s: New file. + +2016-07-21 H.J. Lu + + * configure: Regenerated. + +2016-07-21 Alan Modra + + * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace + "targets_to_xfail" parameter with "args". + * testsuite/ld-elf/compress.exp: Remove empty list of xfails on + all calls to run_ld_link_exec_tests. + * testsuite/ld-elf/dwarf.exp: Likewise. + * testsuite/ld-elf/indirect.exp: Likewise. + * testsuite/ld-elf/wrap.exp: Likewise. + * testsuite/ld-i386/i386.exp: Likewise. + * testsuite/ld-i386/no-plt.exp: Likewise. + * testsuite/ld-i386/tls.exp: Likewise. + * testsuite/ld-ifunc/ifunc.exp: Likewise. + * testsuite/ld-pie/pie.exp: Likewise. + * testsuite/ld-plugin/lto.exp: Likewise. + * testsuite/ld-size/size.exp: Likewise. + * testsuite/ld-x86-64/mpx.exp: Likewise. + * testsuite/ld-x86-64/no-plt.exp: Likewise. + * testsuite/ld-x86-64/tls.exp: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing + xfails and simplify lists. + * testsuite/ld-elf/shared.exp: Likewise. + +2016-07-21 Alan Modra + + * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional + parameter to pass list of xfails. + * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy + implib test formatting. Don't set .data start address. + * testsuite/ld-elf/implib.s: Remove first .bss directive and + replace second one with equivalent .section directive. + * testsuite/ld-elf/empty-implib.out: Add expected final error. + * testsuite/ld-elf/implib.rd: Update. + +2016-07-20 Alan Modra + + * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't + fold expression. + * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize. + +2016-07-19 Roland McGrath + + * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes. + * emulparams/aarch64elf32.sh: Likewise. + +2016-07-19 Maciej W. Rozycki + + * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error + messages expected. + * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-addend.d: New test. + * testsuite/ld-mips-elf/bal-jalx-local.d: New test. + * testsuite/ld-mips-elf/bal-jalx-pic.d: New test. + * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test. + * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test. + * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test. + * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test. + * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test. + * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source. + * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source. + * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test + source. + * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test + source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-07-19 Maciej W. Rozycki + + * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message + expected. + * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise. + * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps, + microMIPS BAL and MIPS16 instructions. + * testsuite/ld-mips-elf/undefweak-overflow.d: Update + accordingly. + * testsuite/ld-mips-elf/unaligned-branch-2.d: New test. + * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test. + * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test. + * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test. + * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test. + * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test. + * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test. + * testsuite/ld-mips-elf/unaligned-jump.d: New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-07-19 Andrew Burgess + + * plugin.c (plugin_call_claim_file): Restore the file offset after + an unsuccessful attempt to claim a file. + * testplug.c (bytes_to_read_before_claim): New global. + (record_read_length): New function, sets new global + bytes_to_read_before_claim. + (parse_option): Handle 'read:' option. + (onclaim_file): Read file content before checking for claim. + * testsuite/ld-plugin/plugin-30.d: New file. + * testsuite/ld-plugin/plugin.exp: Add new test. + +2016-07-16 Alan Modra + + * plugin.c: Don't include libbfd.h. Include plugin-api.h + before bfd/plugin.h. + (plugin_object_p): Use bfd_plugin_open_input. + +2016-07-16 Alan Modra + + * ldlang.c (open_output): Replace bfd_search_for_target with + bfd_iterate_over_targets. Localize vars. + +2016-07-16 Alan Modra + + * ldlang.c: Don't include libbfd.h. + * emultempl/nds32elf.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/ppc32elf.em: Likewise. + (pagesize): Delete. + (params): Update init. + (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2. + (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize. + * emultempl/sh64elf.em: Don't include libbfd.h. + (after_allocation): Use ASSERT, not BFD_ASSERT. + * emultempl/xtensaelf.em: Don't include libbfd.h. + (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + +2016-07-15 Thomas Preud'homme + Nick Clifton + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import + library file for writing and initialize implib_bfd field of link_info + structure. + * emultempl/pe.em (pe_implib_filename): Remove variable declaration. + (OPTION_IMPLIB_FILENAME): Remove macro definition. + (gld${EMULATION_NAME}_add_options): Remove --out-implib option. + (gld_${EMULATION_NAME}_list_options): Likewise. + (gld${EMULATION_NAME}_handle_option): Likewise. + (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename + instead of pe_implib_filename. + * emultempl/pep.em (pep_implib_filename): Remove variable declaration. + (OPTION_IMPLIB_FILENAME): Remove enumerator. + (gld${EMULATION_NAME}_add_options): Remove --out-implib option. + (gld_${EMULATION_NAME}_list_options): Likewise. + (gld${EMULATION_NAME}_handle_option): Likewise. + (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename + instead of pep_implib_filename. + * ld.h (args_type): Declare new out_implib_filename field. + * ld.texinfo (--out-implib): Move documentation to arch-independent + part and rephrase to apply to ELF targets. + * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols + defined in linker scripts. + * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB + enumerator. + * lexsup.c (ld_options): Add entry for new --out-implib switch. + (parse_args): Handle OPTION_OUT_IMPLIB case. + * testsuite/ld-elf/elf.exp (Generate empty import library): New test. + (Generate import library): Likewise. + * testsuite/ld-elf/implib.s: Likewise. + * testsuite/ld-elf/implib.rd: New file. + * testsuite/ld-elf/empty-implib.out: Likewise + +2016-07-15 Nick Clifton + + * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in + little endian mode. + +2016-07-14 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips-elf.exp: Run + `branch-absolute-addend', `mips16-branch-absolute', + `mips16-branch-absolute-addend' and + `micromips-branch-absolute-addend'. + +2016-07-14 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test. + * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test. + * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New + test. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New + test. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New + test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except + from `mips16-branch-absolute' and + `mips16-branch-absolute-addend', referred indirectly only. + +2016-07-14 Maciej W. Rozycki + + * testsuite/ld-mips-elf/branch-absolute.d: New test. + * testsuite/ld-mips-elf/branch-absolute-n32.d: New test. + * testsuite/ld-mips-elf/branch-absolute-n64.d: New test. + * testsuite/ld-mips-elf/branch-absolute-addend.d: New test. + * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test. + * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test. + * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test. + * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New + test. + * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New + test. + * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New + test. + * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d: + New test. + * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d: + New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except + from `branch-absolute-addend' and + `micromips-branch-absolute-addend', referred indirectly only. + +2016-07-14 Claudiu Zissulescu + + * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset. + * testsuite/ld-arc/sda-relocs.dd: New file. + * testsuite/ld-arc/sda-relocs.ld: Likewise. + * testsuite/ld-arc/sda-relocs.rd: Likewise. + * testsuite/ld-arc/sda-relocs.s: Likewise. + * testsuite/ld-arc/arc.exp: Add SDA tests. + +2016-07-11 Claudiu Zissulescu + + * testsuite/ld-arc/nps-1b.err: Update test to handle more + verbosity. + +2016-07-09 Alan Modra + + * testsuite/ld-powerpc/elfv2exe.d: Update. + +2016-07-06 James Bowman + + * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_. + (DATA): add ALIGN. + (BSS): add ALIGN + +2016-07-05 H.J. Lu + + * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test. + +2016-07-05 Andre Vieria + + * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result. + * testsuite/ld-arm/farcall-thumb2-purecode.s: New test. + * testsuite/ld-arm/arm-elf.exp: Run it. + +2016-07-05 Andre Vieria + + * testsuite/ld-arm/arm_noread.ld: Renamed to ... + testsuite/ld-arm/arm_purecode.ld: ... this, and replaced + all noread's by purecode. + +2016-07-05 Jan Beulich + + * ldexp.c (exp_fold_tree_1): Set linker_def field based on + assignment line number. + * ldlex.l (lineno): Drop initializer. + (<>): Set lineno to zero after reaching top of stack. + +2016-07-04 H.J. Lu + + PR ld/20321 + * plugin.c (plugin_opt_plugin): Warn and return if plugin has + been loaded already. + * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test. + * testsuite/ld-plugin/pr20321.c: New file. + +2016-07-04 Nick Clifton + + * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K. + (__RAMSIZE): If not defined, set to 64K. + (MEMORY): Set the flash region size to __PMSIZE and the ram region + size to __RAMSIZE. + +2016-07-02 Maciej W. Rozycki + + * testsuite/ld-mips-elf/branch-misc-2.d: New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run it. + 2016-07-01 Thomas Preud'homme * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7. @@ -806,7 +1722,7 @@ * testsuite/ld-plugin/pr20103c.c: Likewise. 2016-05-24 Maciej W. Rozycki - + * testsuite/ld-mips-elf/jalx-local.d: New test. * testsuite/ld-mips-elf/jalx-local-n32.d: New test. * testsuite/ld-mips-elf/jalx-local-n64.d: New test. @@ -1174,6 +2090,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