X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=26fbe401893a26996f2945b8342ec37e69993d24;hb=5b1f6c95704da7128ca2a7c682a2e0ef533180ce;hp=8d45491dda8581107e2678ec2d520fb95158ff69;hpb=5b4293ba3c207ebdaea3631819b9459f0a10e761;p=binutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 8d45491dda8..26fbe401893 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,747 @@ +2021-02-14 Alan Modra + + * testsuite/ld-cdtest/cdtest.exp, + * testsuite/ld-checks/checks.exp, + * testsuite/ld-elf/binutils.exp, + * testsuite/ld-elf/compress.exp, + * testsuite/ld-elf/dwarf.exp, + * testsuite/ld-elf/exclude.exp, + * testsuite/ld-elf/frame.exp, + * testsuite/ld-elf/indirect.exp, + * testsuite/ld-elf/linux-x86.exp, + * testsuite/ld-elf/sec-to-seg.exp, + * testsuite/ld-elf/tls_common.exp, + * testsuite/ld-elfcomm/elfcomm.exp, + * testsuite/ld-elfvers/vers.exp, + * testsuite/ld-elfvsb/elfvsb.exp, + * testsuite/ld-elfweak/elfweak.exp, + * testsuite/ld-ifunc/binutils.exp, + * testsuite/ld-mips-elf/mips-elf-flags.exp, + * testsuite/ld-misc/defsym.exp, + * testsuite/ld-mn10300/mn10300.exp, + * testsuite/ld-plugin/lto.exp, + * testsuite/ld-plugin/plugin.exp, + * testsuite/ld-scripts/align.exp, + * testsuite/ld-scripts/assert.exp, + * testsuite/ld-scripts/crossref.exp, + * testsuite/ld-scripts/defined.exp, + * testsuite/ld-scripts/extern.exp, + * testsuite/ld-scripts/log2.exp, + * testsuite/ld-scripts/map-address.exp, + * testsuite/ld-scripts/phdrs.exp, + * testsuite/ld-scripts/phdrs2.exp, + * testsuite/ld-scripts/script.exp, + * testsuite/ld-scripts/section-flags.exp, + * testsuite/ld-scripts/sizeof.exp, + * testsuite/ld-scripts/weak.exp, + * testsuite/ld-selective/selective.exp, + * testsuite/ld-sh/sh.exp, + * testsuite/ld-shared/shared.exp, + * testsuite/ld-srec/srec.exp, + * testsuite/ld-tic6x/tic6x.exp, + * testsuite/ld-undefined/undefined.exp, + * testsuite/ld-undefined/weak-undef.exp, + * testsuite/lib/ld-lib.exp: Don't use unresolved except after + perror. Instead report "unsupported" or "fail". + +2021-02-12 Nick Clifton + + * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically + following debug links. + +2021-02-11 Alan Modra + + * NEWS: Mention arm-symbianelf removal. + +2021-02-09 Alan Modra + + * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c. + Don't include symbian dep file. + * configure.tgt: Remove arm*-*-symbianelf* entry. + * emulparams/armsymbian.sh: Delete. + * ld.texi: Don't mention symbian. + * scripttempl/armbpabi.sc: Delete. + * testsuite/ld-arm/symbian-seg1.d: Delete. + * testsuite/ld-arm/symbian-seg1.s: Delete. + * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2021-02-07 H.J. Lu + + PR ld/27358 + * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time + tests. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + +2021-01-26 Nick Alcock + + * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS + when appropriate. + +2021-02-04 H.J. Lu + + PR ld/19609 + * 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. + * testsuite/ld-x86-64/pr19609-5d.d: Likewise. + * testsuite/ld-x86-64/pr19609-7a.d: Likewise. + * testsuite/ld-x86-64/pr19609-7c.d: Likewise. + +2021-02-04 H.J. Lu + + PR ld/15146 + * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests. + * testsuite/ld-plugin/pr15146.d: Restored. + * testsuite/ld-plugin/pr15146a.c: Likewise. + * testsuite/ld-plugin/pr15146b.c: Likewise. + * testsuite/ld-plugin/pr15146c.c: Likewise. + * testsuite/ld-plugin/pr15146d.c: Likewise. + +2021-02-04 Alan Modra + + * testsuite/ld-plugin/pr27311d.c: New test. + * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile + and link new test as pr27311-2. + +2021-02-03 Alan Modra + + * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so): + Link with --as-needed. + +2021-02-02 Alan Modra + + * testsuite/ld-plugin/pr27311.d, + * testsuite/ld-plugin/pr27311.ver, + * testsuite/ld-plugin/pr27311a.c, + * testsuite/ld-plugin/pr27311b.c, + * testsuite/ld-plugin/pr27311c.c: New testcase. + * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and + PR12982 entries. + +2021-02-01 Emery Hemingway + + * configure.tgt: Add *-*-genode* as a target for AArch64 and x86. + +2021-02-01 Alan Modra + + * ldgram.y (defsym_expr): Use assignment rule. + * ldlex.h (ldlex_defsym): Delete. + * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete. + +2021-02-01 Alan Modra + + * ldgram.y (section): Call ldlex_backup. Remove empty action. + * ldlex.h (ldlex_backup): Declare. + * ldlex.l (NAME): Don't use NOCFILENAMECHAR set of + chars, use SYMBOLNAMECHAR. + (ldlex_backup): New function. + +2021-02-01 Alan Modra + + * ldgram.y: Whitespace fixes. + +2021-02-01 Alan Modra + + * testsuite/ld-elf/pr27259.d: Correct sh_link match. + +2021-01-29 Alan Modra + + * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test. + +2021-01-28 H.J. Lu + + PR ld/27259 + * testsuite/ld-elf/pr27259.d: New file. + * testsuite/ld-elf/pr27259.s: Likewise. + +2021-01-28 Alan Modra + + PR 27259 + * ldelf.c (ldelf_before_place_orphans): Use linker_mark to + prevent endless looping of linked-to sections. + +2021-01-26 H.J. Lu + + * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo. + +2021-01-26 Alan Modra + + PR 27226 + * emulparams/alphavms.sh: Don't set COMPILE_IN. + * emulparams/elf64_ia64_vms.sh: Likewise. + * emulparams/elf64mmix.sh: Likewise. + * emulparams/elf_iamcu.sh: Likewise. + * emulparams/elf_k1om.sh: Likewise. + * emulparams/elf_l1om.sh: Likewise. + * emulparams/mmo.sh: Likewise. + * emulparams/pdp11.sh: Set DATA_SEG_ADDR. + * scripttempl/pdp11.sc: Use it. + * emultempl/pdp11.em: Don't edit .xn script for separate_code, + instead use .xe script. Support scripts from file system. + * emultempl/beos.em: Support scripts from file system. + * emultempl/pe.em: Likewise. + * emultempl/pep.em: Likewise. + * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link. + +2021-01-25 Fangrui Song + + PR ld/27230 + * scripttempl/DWARF.sc: Add .debug_* sections. + +2021-01-25 Nick Clifton + + * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists, + .debug_line_str and .debug_str_offsets. Move .debug_macro and + .debug_addr into DWARF-5 section. + +2021-01-21 Alan Modra + + * testsuite/ld-elf/pr26936.d: No longer xfail mips. + +2021-01-20 Alan Modra + + * testsuite/ld-powerpc/relbrlt.s: Make symbols global. + * testsuite/ld-powerpc/relbrlt.d: Adjust to suit. + * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs. + * testsuite/ld-powerpc/tlsget.wf: Likewise. + * testsuite/ld-powerpc/tlsget2.d: Likewise. + * testsuite/ld-powerpc/tlsget2.wf: Likewise. + * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms. + * testsuite/ld-powerpc/tlsexe32.r: Likewise. + * testsuite/ld-powerpc/tlsexe32no.r: Likewise. + * testsuite/ld-powerpc/tlsexeno.r: Likewise. + * testsuite/ld-powerpc/tlsexenors.r: Likewise. + * testsuite/ld-powerpc/tlsexers.r: Likewise. + * testsuite/ld-powerpc/tlsexetoc.r: Likewise. + * testsuite/ld-powerpc/tlsexetocrs.r: Likewise. + * testsuite/ld-powerpc/tlsso.r: Likewise. + * testsuite/ld-powerpc/tlsso32.r: Likewise. + * testsuite/ld-powerpc/tlstocso.r: Likewise. + +2021-01-19 Nick Alcock + + * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t + symbols by the optimizer. + * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly. + +2021-01-19 Nelson Chu + + * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true + if target is riscv little endian. Otherwise, return false. + * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian + targets by [riscv_little_endian]. + +2021-01-18 Alan Modra + + PR 26378 + * ldlang.c (map_input_to_output_sections): Start with a read-only + section for data statements. + * testsuite/ld-elf/size-2.d: Adjust to suit. + +2021-01-17 H.J. Lu + + PR ld/27193 + * testsuite/ld-i386/i386.exp: Run PR ld/27193 test. + * testsuite/ld-i386/pr27193.dd: New file. + * testsuite/ld-i386/pr27193a.o.bz2: Likewise. + * testsuite/ld-i386/pr27193b.s: Likewise. + +2021-01-16 H.J. Lu + + PR binutils/23460 + * testsuite/ld-plugin/lto.exp: Increase the max number of open + files to 20 for PR binutils/23460 test. + +2021-01-16 H.J. Lu + + PR ld/23169 + * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with + pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests. + * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function + address. + +2021-01-15 H.J. Lu + + * NEWS: Mention -z report-relative-reloc. + * ld.texi: Document -z report-relative-reloc. + * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh. + * emulparams/elf_i386.sh: Likewse. + * emulparams/elf_x86_64.sh: Likewse. + * emulparams/x86-report-relative.sh: New file. + * testsuite/ld-i386/report-reloc-1.d: Likewse. + * testsuite/ld-i386/report-reloc-1.l: Likewse. + * testsuite/ld-i386/report-reloc-1.s: Likewse. + * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse. + * testsuite/ld-x86-64/report-reloc-1.d: Likewse. + * testsuite/ld-x86-64/report-reloc-1.l: Likewse. + * testsuite/ld-x86-64/report-reloc-1.s: Likewse. + * testsuite/ld-i386/i386.exp: Run report-reloc-1. + * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and + report-reloc-1-x32. + +2021-01-16 Alan Modra + + PR 26002 + * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined + unversioned symbols. + * testsuite/ld-elfvers/vers16.dsym: Likewise. + +2021-01-15 Nelson Chu + + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise. + +2021-01-14 Nick Clifton + + * po/fr.po: Updated French translation. + +2021-01-14 Mike Frysinger + + * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim. + +2021-01-14 Alan Modra + + PR 27160 + * ldelfgen.c (compare_link_order): Protect access of ELF section + data. + (add_link_order_input_section): Remove redundant NULL check. + Use bfd_get_flavour. + (ldelf_map_segments): Use bfd_get_flavour. + +2021-01-13 H.J. Lu + + * ldelfgen.c (add_link_order_input_section): Check for ELF input + before accessing ELF section data. + +2021-01-13 Alan Modra + + * Makefile.in: Regenerate. + +2021-01-13 Alan Modra + + PR 27160 + * ldlang.h (lang_output_section_statement_type): Add data field. + (lang_input_section_type, lang_section_bst_type): Add pattern field. + (statement_list): Declare. + (lang_add_section): Adjust prototype. + * emultempl/aarch64elf.em: Adjust lang_add_section calls. + * emultempl/armelf.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/cskyelf.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/m68hc1xelf.em: Likewise. + * emultempl/metagelf.em: Likewise. + * emultempl/mipself.em: Likewise. + * emultempl/mmo.em: Likewise. + * emultempl/msp430.em: Likewise. + * emultempl/nios2elf.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/pep.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/spuelf.em: Likewise. + * emultempl/vms.em: Likewise. + * ldelf.c: Likewise. + * ldelfgen.c: Include ldctor.h. + (struct os_sections): New. + (add_link_order_input_section, link_order_scan): New functions. + (compare_link_order, fixup_link_order): New functions. + (ldelf_map_segments): Call link_order_scan and fixup_link_order. + * ldlang.c (statement_list): Make global. + (output_section_callback_fast): Save pattern in tree node. + (lang_add_section): Add pattern parameter, save in lang_input_section. + (output_section_callback_tree_to_list): Adjust lang_add_section calls. + (lang_insert_orphan, output_section_callback): Likewise. + (ldlang_place_orphan): Likewise. + (gc_section_callback): Don't set section->pattern. + * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic. + * testsuite/ld-elf/pr26256-3b.d: Likewise. + * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate. + +2021-01-13 Alan Modra + + * ldlang.h (callback_t): Remove flag_info function parameter. + * ldlang.c (walk_wild_consider_section): Adjust to suit. + (walk_wild_section_general): Likewise. + (output_section_callback_fast, output_section_callback): Likewise. + (check_section_callback, gc_section_callback): Likewise. + (find_relro_section_callback): Likewise. + +2021-01-12 H.J. Lu + + PR binutils/26792 + * configure.ac: Use GNU_MAKE_JOBSERVER. + * aclocal.m4: Regenerated. + * configure: Likewise. + +2021-01-12 H.J. Lu + + PR ld/27171 + * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file. + * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise. + * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise. + * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test. + +2021-01-11 H.J. Lu + + PR ld/27173 + * configure: Regenerated. + +2021-01-11 Matt Jenkins + + PR ld/27167 + * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3 + and mips64r5 to list of known mips targets. + +2021-01-11 Nick Clifton matt@majenko.co.uk + + * po/pt_BR.po: Updated Brazilian Portuguese translation. +` * po/uk.po: Updated Ukranian translation. + +2021-01-09 H.J. Lu + + * configure: Regenerated. + +2021-01-09 H.J. Lu + + PR ld/27166 + * testsuite/ld-x86-64/lam-u48.rd: New file. + * testsuite/ld-x86-64/lam-u57.rd: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests. + +2021-01-09 Nick Clifton + + * configure: Regenerate. + * po/ld.pot: Regenerate. + +2021-01-09 Nick Clifton + + * 2.36 release branch crated. + +2021-01-08 H.J. Lu + + * ld-x86-64/property-x86-lam-u48-4.d: Updated. + * ld-x86-64/property-x86-lam-u48-5.d: Likewise. + +2021-01-09 Alan Modra + + * configure: Regenerate. + * Makefile.in: Regenerate. + +2021-01-07 Samuel Thibault + + * configure: Regenerate. + +2021-01-07 H.J. Lu + + PR 27109 + * testsuite/ld-elf/export-class.sd: Adjust the expected output. + * testsuite/ld-elf/loadaddr3b.d: Likewise. + * testsuite/ld-i386/ibt-plt-1.d: Likewise. + * 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-i386/pr19636-1d.d: Likewise. + * testsuite/ld-i386/pr19636-1l.d: Likewise. + * testsuite/ld-i386/pr19636-2c.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. + * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. + * testsuite/ld-ifunc/pr17154-i386.d: Likewise. + * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. + * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. + * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. + * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. + * testsuite/ld-x86-64/pr19609-4e.d: Likewise. + * testsuite/ld-x86-64/pr19609-6a.d: Likewise. + * testsuite/ld-x86-64/pr19609-6b.d: Likewise. + * testsuite/ld-x86-64/pr19609-7b.d: Likewise. + * testsuite/ld-x86-64/pr19609-7d.d: Likewise. + * testsuite/ld-x86-64/pr19636-2l.d: Likewise. + * testsuite/ld-x86-64/pr20253-1d.d: Likewise. + * testsuite/ld-x86-64/pr20253-1h.d: Likewise. + * testsuite/ld-x86-64/pr21038b-now.d: Likewise. + * testsuite/ld-x86-64/pr21038b.d: Likewise. + * testsuite/ld-x86-64/pr21038c-now.d: Likewise. + * testsuite/ld-x86-64/pr21038c.d: Likewise. + * testsuite/ld-x86-64/pr23854.d: Likewise. + * testsuite/ld-x86-64/pr25416-3.d: Likewise. + * testsuite/ld-x86-64/pr25416-4.d: Likewise. + * testsuite/ld-i386/plt-pic.pd: Likewise. + * testsuite/ld-i386/plt-pic2.dd: Likewise. + * testsuite/ld-i386/plt.pd: Likewise. + * testsuite/ld-i386/plt2.dd: Likewise. + * testsuite/ld-i386/tlsbin.rd: Likewise. + * testsuite/ld-i386/tlsbin2.rd: Likewise. + * testsuite/ld-i386/tlsbindesc.rd: Likewise. + * testsuite/ld-i386/tlsdesc.rd: Likewise. + * testsuite/ld-i386/tlsgdesc.rd: Likewise. + * testsuite/ld-i386/tlsnopic.rd: Likewise. + * testsuite/ld-i386/tlspic.rd: Likewise. + * testsuite/ld-i386/tlspic2.rd: Likewise. + * testsuite/ld-x86-64/mpx3.dd: Likewise. + * testsuite/ld-x86-64/mpx3n.dd: Likewise. + * testsuite/ld-x86-64/mpx4.dd: Likewise. + * testsuite/ld-x86-64/mpx4n.dd: Likewise. + * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise. + * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise. + * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise. + * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise. + * testsuite/ld-x86-64/plt.pd: Likewise. + * testsuite/ld-x86-64/plt2.dd: Likewise. + * testsuite/ld-x86-64/tlsbin.rd: Likewise. + * testsuite/ld-x86-64/tlsbin2.rd: Likewise. + * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. + * testsuite/ld-x86-64/tlsdesc.rd: Likewise. + * testsuite/ld-x86-64/tlsgdesc.rd: Likewise. + * testsuite/ld-x86-64/tlspic.rd: Likewise. + * testsuite/ld-x86-64/tlspic2.rd: Likewise. + * testsuite/ld-elf/sec64k.exp: Check + is_elf_unused_section_symbols. + +2021-01-07 Alan Modra + + * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail. + * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe. + * testsuite/ld-scripts/segment-start.d: Likewise. + +2021-01-07 Alan Modra + + * testsuite/ld-elf/comm-data5.d: xfail targets that complain + about dynamic relocations in read-only sections. + * testsuite/ld-elf/ehdr_start-shared.d: Likewise. + * testsuite/ld-elf/ehdr_start.d: Likewise. + * testsuite/ld-scripts/pr22267.d: Likewise. + * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and + pr20995 text. + * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux. + +2021-01-07 Marcus Comstedt + + * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*. + * testsuite/ld-scripts/empty-address-2b.d: Likewise. + +2021-01-07 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2021-01-07 Alan Modra + + * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that + complain about relocs in read-only sections. Tidy ASFLAGS append. + +2021-01-06 Alan Modra + + * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment + base for some tests. + * testsuite/ld-sparc/gotop32.dd: Match solaris output. + * testsuite/ld-sparc/gotop32.sd: Likewise. + * testsuite/ld-sparc/gotop32.td: Likewise. + * testsuite/ld-sparc/gotop64.dd: Likewise. + * testsuite/ld-sparc/gotop64.sd: Likewise. + * testsuite/ld-sparc/gotop64.td: Likewise. + * testsuite/ld-sparc/tlsg32.sd: Likewise. + * testsuite/ld-sparc/tlsg64.sd: Likewise. + * testsuite/ld-sparc/tlspie32.dd: Likewise. + * testsuite/ld-sparc/tlspie64.dd: Likewise. + * testsuite/ld-sparc/tlssunbin32.dd: Likewise. + * testsuite/ld-sparc/tlssunbin32.sd: Likewise. + * testsuite/ld-sparc/tlssunbin32.td: Likewise. + * testsuite/ld-sparc/tlssunbin64.dd: Likewise. + * testsuite/ld-sparc/tlssunbin64.sd: Likewise. + * testsuite/ld-sparc/tlssunbin64.td: Likewise. + * testsuite/ld-sparc/tlssunnopic32.dd: Likewise. + * testsuite/ld-sparc/tlssunnopic32.sd: Likewise. + * testsuite/ld-sparc/tlssunnopic64.dd: Likewise. + * testsuite/ld-sparc/tlssunnopic64.sd: Likewise. + * testsuite/ld-sparc/tlssunpic32.dd: Likewise. + * testsuite/ld-sparc/tlssunpic32.sd: Likewise. + * testsuite/ld-sparc/tlssunpic32.td: Likewise. + * testsuite/ld-sparc/tlssunpic64.dd: Likewise. + * testsuite/ld-sparc/tlssunpic64.sd: Likewise. + * testsuite/ld-sparc/tlssunpic64.td: Likewise. + * testsuite/ld-sparc/wdispcall.dd: Likewise. + +2021-01-06 Alan Modra + + * testsuite/ld-scripts/rgn-at10.d: xfail v850. + * testsuite/ld-scripts/rgn-at11.d: Likewise. + +2021-01-06 Marcus Comstedt + + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added + riscv_choose_[ilp32|lp64]_emul to choose the correct linker script. + * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call + riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv. + * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise. + * testsuite/ld-riscv-elf/c-lui-2.d: Likewise. + * testsuite/ld-riscv-elf/c-lui.d: Likewise. + * testsuite/ld-riscv-elf/call-relax.d: Likewise. + * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise. + * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise. + * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition + to littleriscv. + * testsuite/ld-riscv-elf/weakref64.d: Likewise. + +2021-01-06 Marcus Comstedt + + * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*, + riscv32be*-*-linux*, and riscv64be*-*-linux*. + * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and + eelf32briscv_ilp32.c. + * Makefile.in: Regenerate. + * emulparams/elf32briscv.sh: Added. + * emulparams/elf32briscv_ilp32.sh: Likewise. + * emulparams/elf32briscv_ilp32f.sh: Likewise. + * emulparams/elf64briscv.sh: Likewise. + * emulparams/elf64briscv_lp64.sh: Likewise. + * emulparams/elf64briscv_lp64f.sh: Likewise. + +2021-01-05 Nick Alcock + + * testsuite/ld-ctf/enum-forward.c: New test. + * testsuite/ld-ctf/enum-forward.c: New results. + +2021-01-05 Nick Alcock + + * testsuite/ld-ctf/array.d: Adjust for dumper changes. + * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-enums.d: Likewise. + * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. + * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. + * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. + * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. + * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. + * testsuite/ld-ctf/cycle-1.d: Likewise. + * testsuite/ld-ctf/cycle-2.A.d: Likewise. + * testsuite/ld-ctf/cycle-2.B.d: Likewise. + * testsuite/ld-ctf/cycle-2.C.d: Likewise. + * testsuite/ld-ctf/data-func-conflicted.d: Likewise. + * testsuite/ld-ctf/diag-cttname-null.d: Likewise. + * testsuite/ld-ctf/diag-cuname.d: Likewise. + * testsuite/ld-ctf/diag-parlabel.d: Likewise. + * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. + * testsuite/ld-ctf/forward.d: Likewise. + * testsuite/ld-ctf/function.d: Likewise. + * testsuite/ld-ctf/slice.d: Likewise. + * testsuite/ld-ctf/super-sub-cycles.d: Likewise. + * testsuite/ld-ctf/enums.c: New test. + * testsuite/ld-ctf/enums.d: New test. + +2021-01-05 Nick Alcock + + * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper + changes. + * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. + * testsuite/ld-ctf/forward.c: New test... + * testsuite/ld-ctf/forward.d: ... and results. + +2021-01-05 Nick Alcock + + * testsuite/ld-ctf/array.d: Adjust for dumper changes. + * testsuite/ld-ctf/data-func-conflicted.d: Likewise. + * testsuite/ld-ctf/diag-cttname-null.d: Likewise. + * testsuite/ld-ctf/diag-cuname.d: Likewise. + * testsuite/ld-ctf/diag-parlabel.d: Likewise. + * testsuite/ld-ctf/function.d: Likewise. + * testsuite/ld-ctf/slice.d: Likewise. + +2021-01-05 Nick Alcock + + * testsuite/ld-ctf/array.d: Adjust for dumper changes. + * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-enums.d: Likewise. + * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. + * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. + * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. + * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. + * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. + * testsuite/ld-ctf/cycle-1.d: Likewise. + * testsuite/ld-ctf/cycle-2.A.d: Likewise. + * testsuite/ld-ctf/cycle-2.B.d: Likewise. + * testsuite/ld-ctf/cycle-2.C.d: Likewise. + * testsuite/ld-ctf/data-func-conflicted.d: Likewise. + * testsuite/ld-ctf/diag-cttname-null.d: Likewise. + * testsuite/ld-ctf/diag-cuname.d: Likewise. + * testsuite/ld-ctf/diag-parlabel.d: Likewise. + * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. + * testsuite/ld-ctf/function.d: Likewise. + * testsuite/ld-ctf/slice.d: Likewise. + * testsuite/ld-ctf/super-sub-cycles.d: Likewise. + +2021-01-05 Alan Modra + + * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets. + +2021-01-05 Alan Modra + + PR ld/26256 + * testsuite/ld-elf/pr26256-1b.d: xfail s12z. + * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64. + +2021-01-04 H.J. Lu + + PR ld/26256 + * ldlang.c (gc_section_callback): Set pattern. + * testsuite/ld-elf/pr26256-1.s: New file. + * testsuite/ld-elf/pr26256-1.t: Likewise. + * testsuite/ld-elf/pr26256-1a.d: Likewise. + * testsuite/ld-elf/pr26256-1b.d: Likewise. + * testsuite/ld-elf/pr26256-2.s: Likewise. + * testsuite/ld-elf/pr26256-2.t: Likewise. + * testsuite/ld-elf/pr26256-2a.d: Likewise. + * testsuite/ld-elf/pr26256-2b-alt.d: Likewise. + * testsuite/ld-elf/pr26256-2b.d: Likewise. + * testsuite/ld-elf/pr26256-3.s: Likewise. + * testsuite/ld-elf/pr26256-3a.d: Likewise. + * testsuite/ld-elf/pr26256-3a.t: Likewise. + * testsuite/ld-elf/pr26256-3b.d: Likewise. + * testsuite/ld-elf/pr26256-3b.t: Likewise. + 2021-01-04 Alan Modra PR 26822