X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=7c178680d3b30252439725da178b63f794ae3db2;hb=0a27fed72d4190cc70025c671b5133e6c58d9c09;hp=e4e6bfe5e326787c14bc0d2e128c755eb441abe4;hpb=978c05401b0f0ac7a94cca7db19b1dec0c5bd698;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index e4e6bfe5e3..7c178680d3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,444 @@ +2017-09-09 H.J. Lu + + PR ld/22115 + * ld-i386/i386.exp: Run PR ld/22115 tests, + * ld/testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr22115-1.s: New file. + * testsuite/ld-i386/pr22115-1a.d: Likewise. + * testsuite/ld-i386/pr22115-1b.d: Likewise. + * testsuite/ld-i386/pr22115-1c.d: Likewise. + * testsuite/ld-i386/pr22115-1d.d: Likewise. + * testsuite/ld-x86-64/pr22115-1.s: Likewise. + * testsuite/ld-x86-64/pr22115-1a-x32.d: Likewise. + * testsuite/ld-x86-64/pr22115-1a.d: Likewise. + * testsuite/ld-x86-64/pr22115-1b-x32.d: Likewise. + * testsuite/ld-x86-64/pr22115-1b.d: Likewise. + * testsuite/ld-x86-64/pr22115-1c-x32.d: Likewise. + * testsuite/ld-x86-64/pr22115-1c.d: Likewise. + * testsuite/ld-x86-64/pr22115-1d-x32.d: Likewise. + * testsuite/ld-x86-64/pr22115-1d.d: Likewise. + +2017-09-06 H.J. Lu + + * testsuite/ld-x86-64/pr19609-2a.d: Updated. + * testsuite/ld-x86-64/pr19609-2b.d: Likewise. + * testsuite/ld-x86-64/pr19609-4a.d: Likewise. + * testsuite/ld-x86-64/pr19609-4c.d: Likewise. + +2017-09-05 H.J. Lu + + * testsuite/ld-x86-64/pr19609-5d.d: Updated. + * testsuite/ld-x86-64/pr19609-7a.d: Likewise. + * testsuite/ld-x86-64/pr19609-7c.d: Likewise. + +2017-09-05 H.J. Lu + + * testsuite/ld-x86-64/pr19609-4e.d: Updated. + * testsuite/ld-x86-64/pr19609-6a.d: Likewise. + +2017-09-03 H.J. Lu + + PR ld/22071 + * testsuite/ld-x86-64/pr22071.d: New file. + * testsuite/ld-x86-64/pr22071.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr22071. + +2017-09-02 Alan Modra + + * ldlang.h (lang_input_statement_type): Expand comments. + (LANG_FOR_EACH_INPUT_STATEMENT): Rewrite without casts. + * ldlang.c (lang_for_each_input_file): Likewise. + (load_symbols): Set usrdata for archives. + (find_rescan_insertion): New function. + (lang_process): Trim off and reinsert entries added to file chain + when rescanning archives for LTO. + * ldmain.c (add_archive_element): Set my_archive input_statement + next pointer to last element added. + +2017-09-01 H.J. Lu + + PR ld/22064 + * testsuite/ld-x86-64/pr22064a.S: New file. + * testsuite/ld-x86-64/pr22064b.c: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22064 test. + +2017-09-02 Alan Modra + + * emultempl/msp430.em (eval_upper_either_sections): Make base_sec_name + a const char*. + (eval_lower_either_sections): Likewise. + (msp430_elf_after_allocation): Likewise, and don't needlessly concat + and free. Warning fix. + +2017-09-01 H.J. Lu + + PR ld/22061 + * testsuite/ld-i386/ibt-plt-1.d: Updated. + * testsuite/ld-i386/ibt-plt-2a.d: Likewise. + * testsuite/ld-i386/ibt-plt-2c.d: Likewise. + * testsuite/ld-i386/ibt-plt-3a.d: Likewise. + * testsuite/ld-i386/ibt-plt-3c.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. + * testsuite/ld-i386/ibt-plt-2b.d: Pass --hash-style=sysv to ld + and dump unwind information. + * testsuite/ld-i386/ibt-plt-2d.d: Likewise. + * testsuite/ld-i386/ibt-plt-3b.d: Likewise. + * testsuite/ld-i386/ibt-plt-3d.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. + +2017-08-31 H.J. Lu + + PR ld/22048 + * testsuite/ld-x86-64/pr22048.d: New file. + * testsuite/ld-x86-64/pr22048a.s: Likewise. + * testsuite/ld-x86-64/pr22048b.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr22048. + +2017-08-31 Alan Modra + + * testsuite/ld-elf/eh3.d: Update. + * testsuite/ld-elf/eh4.d: Update. + +2017-08-30 Maciej W. Rozycki + + * testsuite/ld-elf/orphan-11.ld: Also discard `.MIPS.options' + sections. + +2017-08-30 Maciej W. Rozycki + + * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: New test. + * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: New + test. + * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: New + test. + * testsuite/ld-mips-elf/bal-jalx-local-micromips.d: New test. + * testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: New + test. + * testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: New + test. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: New test. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: New test. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: New test. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: New + test. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: New + test. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: New + test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2017-08-30 Alan Modra + + * testsuite/ld-powerpc/tls.s: Add calls with tls markers. + * testsuite/ld-powerpc/tls32.s: Likewise. + * testsuite/ld-powerpc/powerpc.exp: Run tls marker tests. + * testsuite/ld-powerpc/tls.d: Adjust for TPREL16_HA/LO optimization. + * testsuite/ld-powerpc/tlsexe.d: Likewise. + * testsuite/ld-powerpc/tlsexetoc.d: Likewise. + * testsuite/ld-powerpc/tlsld.d: Likewise. + * testsuite/ld-powerpc/tlsmark.d: Likewise. + * testsuite/ld-powerpc/tlsopt4.d: Likewise. + * testsuite/ld-powerpc/tlstoc.d: Likewise. + +2017-08-30 Alan Modra + + * testsuite/ld-powerpc/tls.d: Update. + * testsuite/ld-powerpc/tlsexe.d: Update. + * testsuite/ld-powerpc/tlsexetoc.d: Update. + * testsuite/ld-powerpc/tlsld.d: Update. + * testsuite/ld-powerpc/tlsmark.d: Update. + * testsuite/ld-powerpc/tlsopt4.d: Update. + * testsuite/ld-powerpc/tlstoc.d: Update. + +2017-08-30 Hans-Peter Nilsson + + * testsuite/ld-cris/dso-pltdis1.d: Run ld with --hash-style=sysv. + * testsuite/ld-cris/dso-pltdis2.d, + testsuite/ld-cris/dso12-pltdis.d, testsuite/ld-cris/expdyn1.d, + testsuite/ld-cris/expdyn5.d, testsuite/ld-cris/expdyn6.d, + testsuite/ld-cris/expdyn7.d, testsuite/ld-cris/gotplt1.d, + testsuite/ld-cris/gotplt2.d, testsuite/ld-cris/gotplt3.d, + testsuite/ld-cris/hiddef1.d, testsuite/ld-cris/libdso-11.d, + testsuite/ld-cris/libdso-12.d, testsuite/ld-cris/libdso-12b.d, + testsuite/ld-cris/libdso-12c.d, testsuite/ld-cris/libdso-13.d, + testsuite/ld-cris/libdso-13b.d, testsuite/ld-cris/libdso-14.d, + testsuite/ld-cris/libdso-15.d, testsuite/ld-cris/libdso-15b.d, + testsuite/ld-cris/libdso-1b.d, testsuite/ld-cris/libdso-1c.d, + testsuite/ld-cris/libdso-1d.d, testsuite/ld-cris/libdso-4.d, + testsuite/ld-cris/pr16044.d, testsuite/ld-cris/pv32-1.d, + testsuite/ld-cris/tls-dso-dtpoffd2.d, + testsuite/ld-cris/tls-dso-dtpoffd4.d, + testsuite/ld-cris/tls-dso-tpoffgotcomm1.d, + testsuite/ld-cris/tls-dso-x1x2-1.d, testsuite/ld-cris/tls-gc-71.d, + testsuite/ld-cris/tls-ie-78.d, testsuite/ld-cris/tls-js1.d, + testsuite/ld-cris/tls-ldgdex-14.d, + testsuite/ld-cris/tls-ldgdex-15.d, + testsuite/ld-cris/tls-legdx-16.d, + testsuite/ld-cris/tls-legdx-17.d, + testsuite/ld-cris/tls-local-63.d, + testsuite/ld-cris/tls-local-64.d, testsuite/ld-cris/tls-ok-30.d, + testsuite/ld-cris/tls-ok-32.d, testsuite/ld-cris/tls-ok-34.d, + testsuite/ld-cris/tls-und-38.d, testsuite/ld-cris/tls-und-42.d, + testsuite/ld-cris/tls-und-46.d, testsuite/ld-cris/tls-und-50.d, + testsuite/ld-cris/weakref2.d, testsuite/ld-cris/weakref3.d, + testsuite/ld-cris/weakref4.d: Likewise. + +2017-08-29 Jozef Lawrynowicz + + * emultempl/msp430.em (change_output_section): New function. + (move_prefixed_section): New function. + (add_region_prefix): New function. + (msp430_elf_after_open): New function. + (gld${EMULATION_NAME}_add_options): Implement. + (gld${EMULATION_NAME}_list_options): Implement. + (gld${EMULATION_NAME}_handle_option): Implement. + * ld.texinfo: Document new options. + * testsuite/ld-msp430-elf/main-bss-lower.d: New. + * testsuite/ld-msp430-elf/main-bss-upper.d: New. + * testsuite/ld-msp430-elf/main-const-lower.d: New. + * testsuite/ld-msp430-elf/main-const-upper.d: New. + * testsuite/ld-msp430-elf/main-text-lower.d: New. + * testsuite/ld-msp430-elf/main-text-upper.d: New. + * testsuite/ld-msp430-elf/main-var-lower.d: New. + * testsuite/ld-msp430-elf/main-var-upper.d: New. + * testsuite/ld-msp430-elf/main-with-data-bss-unique-sec.s: New. + * testsuite/ld-msp430-elf/main-with-data-bss.s: New. + * testsuite/ld-msp430-elf/main-with-text-rodata-unique-sec.s: New. + * testsuite/ld-msp430-elf/main-with-text-rodata.s: New. + * testsuite/ld-msp430-elf/msp430-elf.exp: New. + * testsuite/ld-msp430-elf/msp430-no-lower.ld: New. + * testsuite/ld-msp430-elf/msp430.ld: New. + * emultempl/msp430.em (data_statement_size): New. + (eval_upper_either_sections): New. + (eval_lower_either_sections): New. + (intermediate_relax_sections): New. + (msp430_elf_after_allocation): New. + * emultempl/msp430.em (gld${EMULATION_NAME}_place_orphan): Always + place sections in the lower region. + +2017-08-26 H.J. Lu + + PR ld/21997 + * testsuite/ld-i386/i386.exp: Run PR ld/21997 tests. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr21997-1a.S: New file. + * testsuite/ld-i386/pr21997-1b.c: Likewise. + * testsuite/ld-i386/pr21997-1c.S: Likewise. + * testsuite/ld-x86-64/pr21997-1a.S: Likewise. + * testsuite/ld-x86-64/pr21997-1a.err: Likewise. + * testsuite/ld-x86-64/pr21997-1b.c: Likewise. + * testsuite/ld-x86-64/pr21997-1b.err: Likewise. + * testsuite/ld-x86-64/pr21997-1c.c: Likewise. + +2017-08-24 H.J. Lu + + * testsuite/ld-elf/pr21903c.d: Remove '\' before --. + * testsuite/ld-elf/pr21903d.d: Likewise. + * testsuite/ld-elf/pr21903e.d: Likewise. + * testsuite/lib/ld-lib.exp (run_dump_test): Add "--" after + regexp. + +2017-08-24 H.J. Lu + + * testsuite/ld-i386/i386.exp (undefined_weak): Replace regexp + with string match. + * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Likewise. + +2017-08-24 H.J. Lu + + * testsuite/ld-x86-64/x86-64.exp: Run pr22001-1b on x32. + +2017-08-24 H.J. Lu + + PR ld/22001 + * testsuite/ld-i386/i386.exp: Run -z nocopyreloc tests. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr22001-1a.c: New file. + * testsuite/ld-i386/pr22001-1b.c: Likewise. + * testsuite/ld-i386/pr22001-1c.S: Likewise. + * testsuite/ld-x86-64/pr22001-1a.c: Likewise. + * testsuite/ld-x86-64/pr22001-1a.err: Likewise. + * testsuite/ld-x86-64/pr22001-1b.c: Likewise. + * testsuite/ld-x86-64/pr22001-1b.err: Likewise. + * testsuite/ld-x86-64/pr22001-1c.c: Likewise. + +2017-08-17 Andrew Burgess + + PR 21961 + * ldlang.c (lang_discard_section_p): New function. + (lang_add_section): Checks moved out into new function, which is + now called. + (lang_place_orphans): Call lang_discard_section_p instead of + duplicating some of the checks from lang_add_section. + * testsuite/ld-elf/orphan-11.d: New file. + * testsuite/ld-elf/orphan-11.ld: New file. + * testsuite/ld-elf/orphan-11.s: New file. + * testsuite/ld-elf/orphan-12.d: New file. + * testsuite/ld-elf/orphan-12.s: New file. + +2017-08-24 Alan Modra + + * testsuite/ld-undefined/fundef.s: New test. + * testsuite/ld-undefined/undefined.exp: Test that undefined + symbols in shared libraries are made dynamic. + +2017-08-23 H.J. Lu + + * testsuite/ld-elf/pr21903c.d: Add '\' before --. + * testsuite/ld-elf/pr21903d.d: Likewise. + * testsuite/ld-elf/pr21903e.d: Likewise. + +2017-08-23 H.J. Lu + + * testsuite/ld-x86-64/pie2.d: Updated. + * testsuite/ld-x86-64/pr19719.d: Likewise. + * testsuite/ld-x86-64/pr19807-2a.d: Likewise. + * testsuite/ld-x86-64/pr19969.d: Likewise. + +2017-08-23 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run protected7. + * testsuite/ld-i386/protected7.d: New file. + * testsuite/ld-i386/protected7.s: Likewise. + * testsuite/ld-x86-64/protected8.d: Likewise. + * testsuite/ld-x86-64/protected8.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run protected8. + +2017-08-23 Alan Modra + + * testsuite/ld-gc/pr19161.d: Don't xfail hppa. + +2017-08-22 H.J. Lu + Alan Modra + + * testsuite/ld-elf/pr21964-1a.c (foo): Renamed to ... + (foo1): This. + * testsuite/ld-elf/pr21964-1b.c: Rewrite. + * testsuite/ld-elf/pr21964-1c.c: New file. + * testsuite/ld-elf/pr21964-2c.c: Likewise. + * testsuite/ld-elf/pr21964-2a.c (foo): Renamed to ... + (foo1): This. + * testsuite/ld-elf/pr21964-2b.c: Rewrite. + * testsuite/ld-elf/shared.exp: Update PR ld/21964 tests. + +2017-08-21 H.J. Lu + Alan Modra + + PR ld/21964 + * testsuite/ld-elf/pr21562a.d: Update for changed start/stop symbols. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562e.d: Likewise. + * testsuite/ld-elf/pr21562f.d: Likewise. + * testsuite/ld-elf/pr21562g.d: Likewise. + * testsuite/ld-elf/pr21562h.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/sizeofa.d: Likewise. + * testsuite/ld-elf/sizeofb.d: Likewise. + * testsuite/ld-elf/startofa.d: Likewise. + * testsuite/ld-elf/startofb.d: Likewise. + * testsuite/ld-gc/pr20022.d: Likewise. + * testsuite/ld-gc/start.d: Likewise. + * testsuite/ld-elf/pr21964-1a.c: New file. + * testsuite/ld-elf/pr21964-1b.c: New file. + * testsuite/ld-elf/pr21964-2a.c: New file. + * testsuite/ld-elf/pr21964-2b.c: New file. + * testsuite/ld-elf/shared.exp: Run PR ld/21964 tests. + +2017-08-21 Hans-Peter Nilsson + + PR ld/20125 + * testsuite/ld-mmix/pr20125.d, testsuite/ld-mmix/pr20125.s: New + test. + +2017-08-20 A. Wilcox + + PR ld/21976 + * testsuite/ld-x86-64/plt-main-bnd.dd: Accept '_' in symbol + name. + +2017-08-17 Nick Clifton + + * po/pt_BR.po: New Brazilian Portuguese translation. + * configure.ac (ALL_LINGUAS): Add pt_BR. + * configure: Regenerate. + +2017-08-14 Alan Modra + + PR 21441 + * testsuite/ld-x86-64/pr21038a.d: Adjust. + * testsuite/ld-x86-64/pr21038a-now.d: Adjust. + +2017-08-13 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run pr21884-nacl. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr21884.d: Don't run on nacl targets. + * testsuite/ld-x86-64/pr21884.d: Likewise. + * testsuite/ld-i386/pr21884.t: Revert the last change. + * testsuite/ld-x86-64/pr21884.t: Likewise. + * testsuite/ld-i386/pr21884-nacl.d: New file. + * testsuite/ld-i386/pr21884-nacl.t: Likewise. + * testsuite/ld-x86-64/pr21884-nacl.d: Likewise. + * testsuite/ld-x86-64/pr21884-nacl.t: Likewise. + +2017-08-13 Alan Modra + + * testsuite/ld-i386/pr21884.t: Remove unneeded format, arch and entry. + * testsuite/ld-x86-64/pr21884.t: Likewise. + +2017-08-11 Nick Clifton + + * emultempl/elf32.em (handle_option): Accept the -z globalaudit + command line option. + * lexsup.c (elf_static_list_options): Add -z globalaudit. + * ld.texinfo: Document the support for the new command line + option. + * NEWS: Mention the new feature. + * testsuite/ld-elf/audit.exp: Add a test of the -z globalaudit + command line option. + * testsuite/ld-elf/globalaudit.rd: New file: Expected output from + readelf. + +2017-08-11 H.J. Lu + + PR ld/21884 + * testsuite/ld-i386/i386.exp: Run pr21884. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr21884.d: New file. + * testsuite/ld-i386/pr21884.t: Likewise. + * testsuite/ld-x86-64/pr21884.d: Likewise. + * testsuite/ld-x86-64/pr21884.t: Likewise. + +2017-08-10 Nick Clifton + + * scripttempl/pep.sc: Enclose __CTOR_LIST__, ___CTOR_LIST__, + __DTOR_LIST__ and ___DTOR_LIST__ in PROVIDE statements so that + they can be overrridden by crt input files. + * scripttempl/pe.sc: Likewise. + +2017-08-09 H.J. Lu + + * testsuite/config/default.exp (LD_CLASS): Check .libs/ld-new + for linker first. + 2017-08-09 H.J. Lu * testsuite/config/default.exp (LD_CLASS): New. Set to "64bit"