7c9f387aef
Add -z noseparate-code -z max-page-size=0x200000 since these tests check for exact addresses and don't expect extra PT_LOAD segment. But don't add them to nacl targets since they generate different addresses. * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code -z max-page-size=0x200000, excluding NaCl target.
662 lines
23 KiB
Plaintext
662 lines
23 KiB
Plaintext
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
|
||
-z max-page-size=0x200000, excluding NaCl target.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* 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.d: Likewise.
|
||
* testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
|
||
* testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
|
||
* testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
|
||
* testsuite/ld-ifunc/pr17154-i386.d: Likewise.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
|
||
-z max-page-size=0x200000 -z noseparate-code.
|
||
* testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
|
||
* testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
|
||
* testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
|
||
* testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
|
||
* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
|
||
* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
|
||
* testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
|
||
* testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
|
||
* testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
|
||
* testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
|
||
* testsuite/ld-i386/ibt-plt-2a.d: Likewise.
|
||
* testsuite/ld-i386/ibt-plt-2b.d: Likewise.
|
||
* testsuite/ld-i386/ibt-plt-2c.d: Likewise.
|
||
* testsuite/ld-i386/ibt-plt-2d.d: Likewise.
|
||
* testsuite/ld-i386/ibt-plt-3a.d: Likewise.
|
||
* testsuite/ld-i386/ibt-plt-3b.d: Likewise.
|
||
* testsuite/ld-i386/ibt-plt-3c.d: Likewise.
|
||
* testsuite/ld-i386/ibt-plt-3d.d: Likewise.
|
||
* testsuite/ld-i386/load1.d: Likewise.
|
||
* testsuite/ld-i386/pie1.d: Likewise.
|
||
* testsuite/ld-i386/pr20244-1a.d: Likewise.
|
||
* testsuite/ld-i386/pr20244-1b.d: Likewise.
|
||
* testsuite/ld-i386/pr20244-2a.d: Likewise.
|
||
* testsuite/ld-i386/pr20244-2b.d: Likewise.
|
||
* testsuite/ld-i386/pr20244-2c.d: Likewise.
|
||
* testsuite/ld-i386/pr20244-4a.d: Likewise.
|
||
* testsuite/ld-i386/pr20244-4b.d: Likewise.
|
||
* testsuite/ld-i386/pr20830.d: Likewise.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-i386/pr19636-1a.d: Updated.
|
||
* testsuite/ld-i386/pr19636-1b.d: Likewise.
|
||
* testsuite/ld-i386/pr19636-1j.d: Likewise.
|
||
* testsuite/ld-i386/pr19636-1k.d: Likewise.
|
||
* testsuite/ld-i386/pr19636-2a.d: Likewise.
|
||
* testsuite/ld-i386/pr19636-2b.d: Likewise.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-i386/i386.exp: Add -z noseparate-code.
|
||
|
||
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
|
||
* testsuite/ld-elf/textaddr1.d: Likewise.
|
||
* testsuite/ld-elf/textaddr2.d: Likewise.
|
||
* testsuite/ld-elf/textaddr4.d: Likewise.
|
||
* testsuite/ld-elf/textaddr6.d: Likewise.
|
||
|
||
2018-02-15 Jim Wilson <jimw@sifive.com>
|
||
|
||
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
|
||
* testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
|
||
* testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
|
||
|
||
2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22842
|
||
* testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
|
||
* testsuite/ld-x86-64/x86-64.exp: Likewise.
|
||
* testsuite/ld-i386/pr22842a.c: New file.
|
||
* testsuite/ld-i386/pr22842b.S: Likewise.
|
||
* testsuite/ld-x86-64/pr22842a.c: Likewise.
|
||
* testsuite/ld-x86-64/pr22842a.rd: Likewise.
|
||
* testsuite/ld-x86-64/pr22842b.S: Likewise.
|
||
* testsuite/ld-x86-64/pr22842b.rd: Likewise.
|
||
|
||
2018-02-14 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* ldlex.h (ldlex_command): Remove prototype.
|
||
|
||
2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
|
||
pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
|
||
|
||
2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR 22836
|
||
* testsuite/ld-elf/pr22836-1.s: New file.
|
||
* testsuite/ld-elf/pr22836-1a.d: Likewise.
|
||
* testsuite/ld-elf/pr22836-1b.d: Likewise.
|
||
|
||
2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR gas/22791
|
||
* testsuite/ld-x86-64/mpx1c.rd: Updated.
|
||
* testsuite/ld-x86-64/pr22791-1.err: New file.
|
||
* testsuite/ld-x86-64/pr22791-1a.c: Likewise.
|
||
* testsuite/ld-x86-64/pr22791-1b.s: Likewise.
|
||
* testsuite/ld-x86-64/pr22791-2.rd: Likewise.
|
||
* testsuite/ld-x86-64/pr22791-2a.s: Likewise.
|
||
* testsuite/ld-x86-64/pr22791-2b.c: Likewise.
|
||
* testsuite/ld-x86-64/pr22791-2c.s: Likewise.
|
||
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
|
||
|
||
2018-02-13 Alan Modra <amodra@gmail.com>
|
||
|
||
PR 22836
|
||
* testsuite/ld-elf/pr22836-2.d,
|
||
* testsuite/ld-elf/pr22836-2.s: New test.
|
||
|
||
2018-02-13 Alan Modra <amodra@gmail.com>
|
||
|
||
* testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
|
||
|
||
2018-02-07 Alan Modra <amodra@gmail.com>
|
||
|
||
Revert 2018-01-17 Alan Modra <amodra@gmail.com>
|
||
* emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
|
||
* emultempl/ppc64elf.em: Likesize
|
||
* ld.texinfo: Likewise
|
||
* testsuite/ld-powerpc/elfv2exe.d,
|
||
* testsuite/ld-powerpc/elfv2so.d,
|
||
* testsuite/ld-powerpc/relbrlt.d,
|
||
* testsuite/ld-powerpc/powerpc.exp: Likewise.
|
||
|
||
2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
|
||
|
||
* testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
|
||
(pr22263-1): Pass AFLAGS_PIC to the assembler.
|
||
* testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
|
||
* testsuite/ld-sparc/tlspie32.dd: Adjust to above.
|
||
* testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
|
||
* testsuite/ld-sparc/tlspie64.dd: Adjust to above.
|
||
|
||
2018-02-05 Renlin Li <renlin.li@arm.com>
|
||
|
||
PR ld/22764
|
||
* testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
|
||
* testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
|
||
* testsuite/ld-aarch64/pr22764.s: New.
|
||
* testsuite/ld-aarch64/pr22764.d: New.
|
||
|
||
2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22782
|
||
* testsuite/ld-i386/discarded1.s: Replace mov with div.
|
||
* testsuite/ld-x86-64/discarded1.s: Likewise.
|
||
* testsuite/ld-i386/i386.exp: Run pr22782.
|
||
* testsuite/ld-i386/load1-nacl.d: Updated for removing
|
||
_GLOBAL_OFFSET_TABLE_ from output.
|
||
* testsuite/ld-i386/load1.d: Likewise.
|
||
* testsuite/ld-x86-64/load1a-nacl.d: Likewise.
|
||
* testsuite/ld-x86-64/load1a.d: Likewise.
|
||
* testsuite/ld-x86-64/load1b-nacl.d: Likewise.
|
||
* testsuite/ld-x86-64/load1b.d: Likewise.
|
||
* testsuite/ld-i386/pr22782.d: New file.
|
||
* testsuite/ld-i386/pr22782.s: Likewise.
|
||
* testsuite/ld-x86-64/pr22782.s: Likewise.
|
||
* testsuite/ld-x86-64/pr22782a.d: Likewise.
|
||
* testsuite/ld-x86-64/pr22782b.d: Likewise.
|
||
* testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
|
||
|
||
2018-02-05 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/pt_BR.po: Updated Brazilian Portuguese translation.
|
||
|
||
2018-02-04 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
|
||
* testsuite/ld-i386/lea1e.d: Likewise.
|
||
* testsuite/ld-i386/lea1f.d: Likewise.
|
||
* testsuite/ld-x86-64/lea1g.d: Likewise.
|
||
* testsuite/ld-x86-64/lea1h.d: Likewise.
|
||
* testsuite/ld-x86-64/lea1i.d: Likewise.
|
||
* testsuite/ld-x86-64/lea1j.d: Likewise.
|
||
* testsuite/ld-x86-64/lea1k.d: Likewise.
|
||
* testsuite/ld-x86-64/lea1l.d: Likewise.
|
||
|
||
2018-02-03 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 22762
|
||
* scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
|
||
__DTOR_LIST__ symbols. Add a comment explaining why this is
|
||
necessary.
|
||
* scripttemp/pep.sc: Likewise.
|
||
* ld.texinfo (PROVIDE): Add a note about the effect of common
|
||
symbols.
|
||
|
||
2018-02-03 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
|
||
|
||
2018-02-02 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
|
||
assembly builds where missing and remove `tic6x-*-*' XFAIL
|
||
markings accordingly.
|
||
|
||
2018-02-01 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
|
||
on NULL pointer.
|
||
|
||
2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
|
||
|
||
2018-01-31 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
|
||
|
||
2018-01-31 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
|
||
involving a shared library for `mips*vr4100*-*-elf*',
|
||
`mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
|
||
* testsuite/ld-elf/provide-hidden.exp: Likewise.
|
||
* testsuite/ld-elf/shared.exp: Likewise.
|
||
* testsuite/ld-gc/gc.exp: Likewise.
|
||
* testsuite/ld-mips-elf/comm-data.exp: Likewise.
|
||
|
||
2018-01-31 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* testsuite/ld-elf/elf.exp: Move shared library tests over to...
|
||
* testsuite/ld-elf/shared.exp: ... here.
|
||
|
||
2018-01-31 Michael Matz <matz@suse.de>
|
||
|
||
* testsuite/ld-elf/pr21964-5.c: New test.
|
||
* testsuite/ld-elf/shared.exp: Run it.
|
||
|
||
2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/21964
|
||
* testsuite/ld-elf/pr21964-4.c: New file.
|
||
* testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
|
||
|
||
2018-01-30 Alan Modra <amodra@gmail.com>
|
||
|
||
* testsuite/ld-gc/stop.d,
|
||
* testsuite/ld-gc/stop.s: New test.
|
||
* testsuite/ld-gc/gc.exp: Run it.
|
||
|
||
2018-01-30 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
PR ld/22649
|
||
* testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
|
||
* testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
|
||
* testsuite/ld-elf/shared.exp: Use the new outputs with
|
||
`mips*-*-*' targets.
|
||
|
||
2018-01-30 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* testsuite/ld-elf/comm-data1.sd: Alternatively accept
|
||
`PRC[0xff02]' in place of a regular section index.
|
||
* testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
|
||
|
||
2018-01-29 Alan Modra <amodra@gmail.com>
|
||
|
||
* testsuite/ld-elf/pr21964-3a.c: New file.
|
||
* testsuite/ld-elf/pr21964-3c.c: New file.
|
||
* testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
|
||
|
||
2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
|
||
|
||
* testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
|
||
(pr22269-1): Pass AFLAGS_PIC to the assembler.
|
||
|
||
2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
|
||
|
||
* testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
|
||
|
||
2018-01-29 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* testsuite/ld-mips-elf/comm-data.exp: Correct support for
|
||
targets using non-traditional MIPS emulation or having a limited
|
||
selection of ABIs available. Don't force big endianness, use
|
||
defaults.
|
||
|
||
2018-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22732
|
||
* testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
|
||
"-static" if target compiler supports it.
|
||
* testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
|
||
tests if target compiler doesn't support it.
|
||
* testsuite/ld-ifunc/ifunc.exp: Likewise.
|
||
* testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
|
||
(run_cc_link_tests): Likewise.
|
||
|
||
2018-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22751
|
||
* testsuite/config/default.exp (INT128_CFLAGS): New.
|
||
* testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
|
||
Run ld/22751 tests.
|
||
* testsuite/ld-plugin/pr22751.c: New file.
|
||
* testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
|
||
ld trailing options.
|
||
|
||
2018-01-28 Alan Modra <amodra@gmail.com>
|
||
|
||
PR 22751
|
||
* ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
|
||
set.
|
||
|
||
2018-01-26 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
|
||
`mipself'.
|
||
|
||
2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
|
||
|
||
* testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
|
||
Link with a version script.
|
||
(32-bit: TLS -fpie): New test.
|
||
(64-bit: Helper shared library): Link with a version script.
|
||
(64-bit: TLS -fpie): New test.
|
||
(64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
|
||
* testsuite/ld-sparc/tlslib.ver: New file.
|
||
* testsuite/ld-sparc/tlspie32.dd: Likewise.
|
||
* testsuite/ld-sparc/tlspie32.s: Likewise.
|
||
* testsuite/ld-sparc/tlspie64.dd: Likewise.
|
||
* testsuite/ld-sparc/tlspie64.s: Likewise.
|
||
* testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
|
||
* testsuite/ld-sparc/tlssunbin32.rd: Likewise.
|
||
* testsuite/ld-sparc/tlssunbin32.sd: Likewise.
|
||
* testsuite/ld-sparc/tlssunbin64.dd: Likewise.
|
||
* testsuite/ld-sparc/tlssunbin64.rd: Likewise.
|
||
* testsuite/ld-sparc/tlssunbin64.sd: Likewise.
|
||
|
||
2018-01-24 Renlin Li <renlin.li@arm.com>
|
||
|
||
* testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
|
||
* testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
|
||
* testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
|
||
* testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-288.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-288.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-289.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-289.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-290.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-290.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-291.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-291.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-292.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-292.s: New.
|
||
* testsuite/ld-aarch64/emit-relocs-293.d: New.
|
||
* testsuite/ld-aarch64/emit-relocs-293.s: New.
|
||
|
||
2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22721
|
||
* testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
|
||
* testsuite/ld-plugin/pr22721.t: New file.
|
||
* testsuite/ld-plugin/pr22721a.s: Likewise.
|
||
* testsuite/ld-plugin/pr22721b.c: Likewise.
|
||
|
||
2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-elf/group1.d: Also xfail Solaris.
|
||
|
||
2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
|
||
PLT/GOT order/layout for Solaris/x86 targets.
|
||
* testsuite/ld-elf/linkinfo1b.d: Likewise.
|
||
|
||
2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22728
|
||
* emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
|
||
into ...
|
||
(elf_solaris2_before_allocation): This.
|
||
(LDEMUL_AFTER_ALLOCATION): Removed.
|
||
|
||
2018-01-18 Alan Modra <amodra@gmail.com>
|
||
|
||
* emultempl/ppc32elf.em: Support optional --plt-align arg.
|
||
* emultempl/ppc64elf.em: Support negative --plt-align arg.
|
||
|
||
2018-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* emultempl/ppc32elf.em (params): Init new field.
|
||
(OPTION_SPECULATE_INDIRECT_JUMPS): Define.
|
||
(OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
|
||
(PARSE_AND_LIST_LONGOPTS): Handle new options.
|
||
(PARSE_AND_LIST_ARGS_CASES): Likewise.
|
||
(PARSE_AND_LIST_OPTIONS): Likewise.
|
||
* emultempl/ppc64elf.em (params): Init new field.
|
||
(OPTION_SPECULATE_INDIRECT_JUMPS): Define.
|
||
(OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
|
||
(PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
|
||
(PARSE_AND_LIST_OPTIONS): Likewise.
|
||
(PARSE_AND_LIST_ARGS_CASES): Likewise.
|
||
* ld.texinfo (--no-plt-thread-safe): Correct itemx.
|
||
(--speculate-indirect-jumps): Document.
|
||
* testsuite/ld-powerpc/elfv2exe.d,
|
||
* testsuite/ld-powerpc/elfv2so.d,
|
||
* testsuite/ld-powerpc/relbrlt.d,
|
||
* testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
|
||
speculation barriers on various tests.
|
||
|
||
2018-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* emultempl/ppc32elf.em (params): Init new field.
|
||
(enum ppc32_opt): New enum to define OPTION_* values. Add
|
||
OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
|
||
(PARSE_AND_LIST_LONGOPTS): Handle new options.
|
||
(PARSE_AND_LIST_ARGS_CASES): Likewise.
|
||
(PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
|
||
* emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
|
||
correctly for negative --plt-stub-align.
|
||
* testsuite/ld-powerpc/elfv2exe.d,
|
||
* testsuite/ld-powerpc/elfv2so.d,
|
||
* testsuite/ld-powerpc/relbrlt.d,
|
||
* testsuite/ld-powerpc/relbrlt.s,
|
||
* testsuite/ld-powerpc/tlsexe.d,
|
||
* testsuite/ld-powerpc/tlsexe.r,
|
||
* testsuite/ld-powerpc/tlsexe32.d,
|
||
* testsuite/ld-powerpc/tlsexe32.g,
|
||
* testsuite/ld-powerpc/tlsexe32.r,
|
||
* testsuite/ld-powerpc/tlsexetoc.d,
|
||
* testsuite/ld-powerpc/tlsexetoc.r,
|
||
* testsuite/ld-powerpc/tlsopt5_32.d,
|
||
* testsuite/ld-powerpc/tlsso.d,
|
||
* testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
|
||
|
||
2018-01-16 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/pt_BR.po: Updated Brazilian Portuguese translation.
|
||
|
||
2018-01-15 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/uk.po: Updated Ukranian translation.
|
||
|
||
2018-01-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/ld.pot: Regenerated.
|
||
|
||
2018-01-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
* configure: Regenerate.
|
||
|
||
2018-01-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
2.30 branch created.
|
||
* NEWS: Add marker for 2.30.
|
||
|
||
2018-01-12 Alan Modra <amodra@gmail.com>
|
||
|
||
* testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
|
||
initialization" for currently failing targets.
|
||
|
||
2018-01-12 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/22649
|
||
* testsuite/ld-elf/pr22649.msg: Allow other messages.
|
||
* testsuite/ld-elf/shared.exp: Check that --gc-sections is
|
||
supported before running ld/22649 tests.
|
||
|
||
2018-01-12 Nick Clifton <nickc@redhat.com>
|
||
|
||
* emultempl/elf32.em (_handle_option): Add support for "-z undefs"
|
||
as the opposite of "-z defs".
|
||
* ld.texinfo: Document the new option. Update the description of
|
||
the -z defs option to make it clear that it does generate an error
|
||
if an undefined symbol reference is found in an object file whilst
|
||
creating a shared library.
|
||
* NEWS: Document this new feature.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
|
||
"-z separate-code".
|
||
* testsuite/ld-elf/pr22393-2b.rd: Likewise.
|
||
* testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
|
||
* testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22393
|
||
* testsuite/ld-x86-64/pr22393-3a.c: New file.
|
||
* testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
|
||
* testsuite/ld-x86-64/pr22393-3b.c: Likewise.
|
||
* testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
|
||
* testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
|
||
-z max-page-size=0x1000.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22393
|
||
* testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
|
||
* testsuite/ld-elf/pr22393-1.s: New file.
|
||
* testsuite/ld-elf/pr22393-1a.d: Likewise.
|
||
* testsuite/ld-elf/pr22393-1b.d: Likewise.
|
||
* testsuite/ld-elf/pr22393-1c.d: Likewise.
|
||
* testsuite/ld-elf/pr22393-1d.d: Likewise.
|
||
* testsuite/ld-elf/pr22393-1e.d: Likewise.
|
||
* testsuite/ld-elf/pr22393-1f.d: Likewise.
|
||
* testsuite/ld-elf/pr22393-2a.c: Likewise.
|
||
* testsuite/ld-elf/pr22393-2a.rd: Likewise.
|
||
* testsuite/ld-elf/pr22393-2b.c: Likewise.
|
||
* testsuite/ld-elf/pr22393-2b.rd: Likewise.
|
||
* testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22393
|
||
* NEWS: Mention "-z separate-code".
|
||
* emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
|
||
builtin linker scripts and return linker scripts from disk for
|
||
"-z separate-code".
|
||
(gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
|
||
and "-z noseparate-code".
|
||
* genscripts.sh: Generate linker scripts for "-z separate-code".
|
||
(LD_FLAG): Set to *textonly for "-z separate-code".
|
||
* ld.texinfo: Document "-z separate-code".
|
||
* lexsup.c (elf_shlib_list_options): Add linker help messsages
|
||
for "-z separate-code" and "-z noseparate-code".
|
||
* scripttempl/elf.sc (SEPARATE_TEXT): New
|
||
(TEXT_SEGMENT_ALIGN): Likewise.
|
||
Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
|
||
${MAXPAGESIZE}.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22649
|
||
* testsuite/ld-elf/pr22649-1.s: New file.
|
||
* testsuite/ld-elf/pr22649-2a.s: Likewise.
|
||
* testsuite/ld-elf/pr22649-2b.s: Likewise.
|
||
* testsuite/ld-elf/pr22649.msg: Likewise.
|
||
* testsuite/ld-elf/shared.exp: Run ld/22649 tests.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22677
|
||
* scripttempl/elf.sc (PREINIT_ARRAY): New.
|
||
Don't add .preinit_array for ld -r.
|
||
* testsuite/ld-elf/pr22677.d: New file.
|
||
* testsuite/ld-elf/pr22677.s: Likewise.
|
||
|
||
2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* ldexp.h (union etree_union): Remove defsym field.
|
||
* ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
|
||
parameter.
|
||
(exp_assign): Remove passing of defsym parameter.
|
||
(exp_defsym): Likewise.
|
||
(exp_provide): Likewise.
|
||
|
||
2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
|
||
nodes are ignored in the tree walk, and move the location at which
|
||
we change provide nodes into provided nodes.
|
||
(exp_init_os): Add etree_provided.
|
||
* testsuite/ld-scripts/provide-6.d: New file.
|
||
* testsuite/ld-scripts/provide-6.t: New file.
|
||
* testsuite/ld-scripts/provide-7.d: New file.
|
||
* testsuite/ld-scripts/provide-7.t: New file.
|
||
* testsuite/ld-scripts/provide-8.d: New file.
|
||
* testsuite/ld-scripts/provide-8.t: New file.
|
||
|
||
2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/ld-scripts/provide-3.d: Add xfail directive.
|
||
* testsuite/ld-scripts/provide-4.d: Use new map file name.
|
||
* testsuite/ld-scripts/provide-5.d: Use new map file name.
|
||
* testsuite/ld-scripts/provide-4-map.d: Renamed to...
|
||
* testsuite/ld-scripts/provide-4.map: ...this.
|
||
* testsuite/ld-scripts/provide-5-map.d: Renamed to...
|
||
* testsuite/ld-scripts/provide-5.map: ...this.
|
||
* testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
|
||
file, and run tests in a loop.
|
||
|
||
2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
|
||
PROVIDE statements.
|
||
* testsuite/ld-scripts/provide-4.map: Update expected output.
|
||
* testsuite/ld-scripts/provide-5.map: Likewise.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22696
|
||
* scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
|
||
|
||
2018-01-09 Jim Wilson <jimw@sifive.com>
|
||
|
||
* testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
|
||
(#alltargets): Renamed from #target. Add shared.
|
||
* testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
|
||
Document alltargets option. Add support for alltargets option.
|
||
(istarget): Add support for shared target.
|
||
|
||
2018-01-08 Jim Wilson <jimw@sifive.com>
|
||
|
||
* testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
|
||
instead of .text.
|
||
* testsuite/ld-riscv-elf/c-lui.s: Add _start label.
|
||
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
|
||
tests, add call to check_shared_lib_support.
|
||
|
||
2018-01-05 Jim Wilson <jimw@sifive.com>
|
||
|
||
* testsuite/ld-riscv-elf/disas-jalr.d: New.
|
||
* testsuite/ld-riscv-elf/disas-jalr.s: New.
|
||
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
|
||
|
||
* emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
|
||
case on $target, and don't set for riscv*-elf targets.
|
||
(GENERATE_PIE_SCRIPT): Likewise.
|
||
|
||
2018-01-03 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2017
|
||
|
||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|