2015-09-03 11:03:13 +00:00
|
|
|
|
2015-09-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-ifunc/ifunc-21-i386.s: Add tests for call, jmp, add, test.
|
|
|
|
|
* ld-ifunc/ifunc-21-x86-64.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-i386.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-x86-64.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-21-i386.d: Updated.
|
|
|
|
|
* ld-ifunc/ifunc-21-x86-64.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-i386.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-x86-64.d: Likewise.
|
|
|
|
|
|
2015-09-02 22:30:32 +00:00
|
|
|
|
2015-09-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
2015-09-03 11:03:13 +00:00
|
|
|
|
* ld-ifunc/ifunc-21-i386.d: New file.
|
2015-09-02 22:30:32 +00:00
|
|
|
|
* ld-ifunc/ifunc-21-i386.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-21-x86-64.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-21-x86-64.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-i386.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-i386.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-x86-64.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-22-x86-64.s: Likewise.
|
|
|
|
|
|
2015-09-01 12:06:16 +00:00
|
|
|
|
2015-09-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18900
|
|
|
|
|
* ld-i386/i386.exp: Run tests for PR ld/18900.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* ld-i386/pr18900.out: New file.
|
|
|
|
|
* ld-i386/pr18900a.c: Likewise.
|
|
|
|
|
* ld-i386/pr18900a.c: Likewise.
|
|
|
|
|
* ld-i386/pr18900a.rd: Likewise.
|
|
|
|
|
* ld-i386/pr18900b.c: Likewise.
|
|
|
|
|
* ld-i386/pr18900b.rd: Likewise.
|
|
|
|
|
* ld-i386/pr18900c.c: Likewise.
|
|
|
|
|
* ld-x86-64/pr18900.out: Likewise.
|
|
|
|
|
* ld-x86-64/pr18900a.c: Likewise.
|
|
|
|
|
* ld-x86-64/pr18900a.rd: Likewise.
|
|
|
|
|
* ld-x86-64/pr18900b.c: Likewise.
|
|
|
|
|
* ld-x86-64/pr18900b.rd: Likewise.
|
|
|
|
|
* ld-x86-64/pr18900c.c: Likewise.
|
|
|
|
|
* ld-x86-64/mpx3.dd: Updated.
|
|
|
|
|
|
2015-08-27 06:35:54 +00:00
|
|
|
|
2015-08-27 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/relocsort.s, * ld-powerpc/relocsort.d: New test.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run it.
|
|
|
|
|
|
2015-08-26 13:42:56 +00:00
|
|
|
|
2015-08-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18401
|
|
|
|
|
* ld-mips-elf/mips-elf-flags.exp: Add more ISA conflict tests.
|
|
|
|
|
|
2015-08-19 10:26:56 +00:00
|
|
|
|
2015-08-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/emit-relocs-531.s: New testcase.
|
|
|
|
|
* ld-aarch64/emit-relocs-531-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-532.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-533.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-533-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-534.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-535.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-535-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-536.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-537.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-537-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-538.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-531.d: New expectation file.
|
|
|
|
|
* ld-aarch64/emit-relocs-531-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-532.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-533.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-533-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-534.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-535.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-535-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-536.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-537.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-537-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-538.d: Likewise.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new testcases.
|
|
|
|
|
|
2015-08-19 10:18:25 +00:00
|
|
|
|
2015-08-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/emit-relocs-87.s: New testcase.
|
|
|
|
|
* ld-aarch64/emit-relocs-88.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-88-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-89.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-90.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-90-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-523.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-524.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-525.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-527.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-526.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-528.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-528-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-87.d: New expectation file.
|
|
|
|
|
* ld-aarch64/emit-relocs-88.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-88-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-89.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-90.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-90-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-91.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-523.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-524.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-525.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-526.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-527.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-528.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-528-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new testcases.
|
|
|
|
|
|
2015-08-19 09:58:13 +00:00
|
|
|
|
2015-08-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/emit-relocs-530.s: New testcase.
|
|
|
|
|
* ld-aarch64/emit-relocs-92.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-530.d: New expectation file.
|
|
|
|
|
* ld-aarch64/emit-relocs-92.d: Likewise.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new testcases.
|
|
|
|
|
|
2015-08-18 17:43:19 +00:00
|
|
|
|
2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18841
|
|
|
|
|
* ld-ifunc/ifunc.exp: Add another test for PR ld/18841.
|
|
|
|
|
* ld-ifunc/pr18841c.c: New file.
|
|
|
|
|
|
2015-08-18 16:47:59 +00:00
|
|
|
|
2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18841
|
|
|
|
|
* ld-ifunc/ifunc.exp: Add a test for PR ld/18841.
|
|
|
|
|
* ld-ifunc/pr18841.out: New file.
|
|
|
|
|
* ld-ifunc/pr18841a.c: Likewise.
|
|
|
|
|
* ld-ifunc/pr18841b.c: Likewise.
|
|
|
|
|
|
2015-08-13 11:31:38 +00:00
|
|
|
|
2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18801
|
|
|
|
|
* ld-i386/i386.exp: Run pr18801.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* ld-i386/pr18801.d: New file.
|
|
|
|
|
* ld-i386/pr18801.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr18801.d: Likewise.
|
|
|
|
|
* ld-x86-64/pr18801.s: Likewise.
|
|
|
|
|
|
[MIPS] Map 'move' to 'or'.
The MIPS assembly idiom 'move' now maps to the 'or' machine instruction. This
change affects microMIPS, MIPS32, MIPS64.
2015-08-12 Simon Dardis <simon.dardis@imgtec.com>
opcodes/
* micromips-opc.c (micromips_opcodes): Re-order table so that move
based on 'or' is first.
* mips-opc.c (mips_builtin_opcodes): Ditto.
bfd/
* elfxx-mips.c (STUB_MOVE): Change to use 'or' only.
(mips_o32_exec_plt0_entry, mips_n32_exec_plt0_entry,
mips_n64_exec_plt0_entry, micromips_insn32_o32_exec_plt0_entry):
Update to use 'or' instead of 'addu/daddu'.
(_bfd_mips_elf_finish_dynamic_symbol): Update usage of STUB_MOVE.
(move_insns_32): Reorder table.
gas/
* config/tc-mips.c (move_register): Change to use 'or' only.
(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
use or for move.
gas/testsuite/
* gas/mips/elf-rel23.d: Update test.
* gas/mips/elf-rel23.d: Ditto.
* gas/mips/elf-rel23a.d: Ditto.
* gas/mips/elf-rel23b.d: Ditto.
* gas/mips/elf_e_flags1.d: Ditto.
* gas/mips/elf_e_flags2.d: Ditto.
* gas/mips/elf_e_flags3.d: Ditto.
* gas/mips/elf_e_flags4.d: Ditto.
* gas/mips/loc-swap-dis.d: Ditto.
* gas/mips/micromips-insn32.d: Ditto.
* gas/mips/micromips-noinsn32.d: Ditto.
* gas/mips/micromips-trap.d: Ditto.
* gas/mips/micromips.d: Ditto.
* gas/mips/mips-abi32-pic.d: Ditto.
* gas/mips/mips-abi32.d: Ditto.
* gas/mips/mips-gp32-fp32-pic.d: Ditto.
* gas/mips/mips-gp32-fp32.d: Ditto.
* gas/mips/mips-gp32-fp64-pic.d: Ditto.
* gas/mips/mips-gp32-fp64.d: Ditto.
* gas/mips/mips-gp64-fp32-pic.d: Ditto.
* gas/mips/mips-gp64-fp32.d: Ditto.
* gas/mips/mips-gp64-fp64-pic.d: Ditto.
* gas/mips/mips-gp64-fp64.d: Ditto.
* gas/mips/mipsr6@loc-swap-dis.d: Ditto.
* gas/mips/tls-o32.d: Ditto.
* gas/mips/uld2-eb.d: Ditto.
* gas/mips/uld2-el.d: Ditto.
* gas/mips/ulw2-eb-ilocks.d: Ditto.
* gas/mips/ulw2-eb.d: Ditto.
* gas/mips/ulw2-el-ilocks.d: Ditto.
* gas/mips/ulw2-el.d: Ditto.
* gas/mips/move.d: New test.
* gas/mips/move.s: Ditto.
* gas/mips/micromips32-move.d: Ditto.
* gas/mips/micromips32-move.s: Ditto.
* gas/mips/mips.exp: Run the new tests.
gold/
* mips.cc (plt0_entry_o32, plt0_entry_n32, plt0_entry_n64,
lazy_stub_normal_1, lazy_stub_normal_1_n64,
lazy_stub_normal_2, lazy_stub_normal_2_n64, lazy_stub_big,
lazy_stub_big_n64, lazy_stub_micromips32_normal_1_n64,
lazy_stub_micromips32_normal_2_n64, lazy_stub_micromips32_big,
lazy_stub_micromips32_big_n64): Update to use 'or' for move instead
of 'addu/daddu'.
ld/testsuite/
* ld-mips-elf/compressed-plt-1-n32-mips16.od: Update test.
* ld-mips-elf/compressed-plt-1-n32-umips.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16-got.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16-only.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16-word.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-se.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-umips-got.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-umips-word.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-umips.od: Ditto.
* ld-mips-elf/jalx-2.dd: Ditto.
* ld-mips-elf/mips16-pic-3.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-3a.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-3b.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-5b.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-6-n32.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-6-o32.dd: Ditto.
* ld-mips-elf/stub-dynsym-1-10000.d: Ditto.
* ld-mips-elf/stub-dynsym-1-2fe80.d: Ditto.
* ld-mips-elf/stub-dynsym-1-7fff.d: Ditto.
* ld-mips-elf/stub-dynsym-1-8000.d: Ditto.
* ld-mips-elf/stub-dynsym-1-fff0.d: Ditto.
* ld-mips-elf/tlsbin-o32.d: Ditto.
* ld-mips-elf/tlsdyn-o32-1.d: Ditto.
* ld-mips-elf/tlsdyn-o32-2.d: Ditto.
* ld-mips-elf/tlsdyn-o32-3.d: Ditto.
* ld-mips-elf/tlsdyn-o32.d: Ditto.
* ld-mips-elf/tlslib-o32.d: Ditto.
2015-08-12 16:06:35 +00:00
|
|
|
|
2015-08-12 Simon Dardis <simon.dardis@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-n32-mips16.od: Update test.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-n32-umips.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-mips16-got.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-mips16-only.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-mips16-word.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-mips16.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-se.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-umips-got.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-umips-word.od: Ditto.
|
|
|
|
|
* ld-mips-elf/compressed-plt-1-o32-umips.od: Ditto.
|
|
|
|
|
* ld-mips-elf/jalx-2.dd: Ditto.
|
|
|
|
|
* ld-mips-elf/mips16-pic-3.dd: Ditto.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-3a.dd: Ditto.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-3b.dd: Ditto.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-5b.dd: Ditto.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-6-n32.dd: Ditto.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-6-o32.dd: Ditto.
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-10000.d: Ditto.
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-2fe80.d: Ditto.
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-7fff.d: Ditto.
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-8000.d: Ditto.
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-fff0.d: Ditto.
|
|
|
|
|
* ld-mips-elf/tlsbin-o32.d: Ditto.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-1.d: Ditto.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-2.d: Ditto.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-3.d: Ditto.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32.d: Ditto.
|
|
|
|
|
* ld-mips-elf/tlslib-o32.d: Ditto.
|
|
|
|
|
|
2015-08-12 12:17:50 +00:00
|
|
|
|
2015-08-12 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): Support all
|
|
|
|
|
four triple shape: aarch64-*-linux*, aarch64-*-elf,
|
|
|
|
|
aarch64_be-*-linux*, aarch64_be-*-elf.
|
|
|
|
|
* ld-aarch64/emit-relocs-86.d: Use aarch64_choose_ilp32_emul.
|
|
|
|
|
* ld-aarch64/emit-relocs-86-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/ld-aarch64/farcall-b-plt.d: Relax instrucion encoding
|
|
|
|
|
check when they reflect address.
|
|
|
|
|
* ld-aarch64/ld-aarch64/farcall-bl-plt.d: Likewise.
|
|
|
|
|
|
2015-08-12 01:31:04 +00:00
|
|
|
|
2015-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Rename relocs-257-symbolic-func to
|
|
|
|
|
relocs-1027-symbolic-func.
|
|
|
|
|
* ld-aarch64/relocs-257-symbolic-func.d: Rename to ...
|
|
|
|
|
* ld-aarch64/relocs-1027-symbolic-func.d: ... this.
|
|
|
|
|
* ld-aarch64/relocs-257-symbolic-func.s: Rename to ...
|
|
|
|
|
* ld-aarch64/relocs-1027-symbolic-func.s: ... this.
|
|
|
|
|
|
2015-08-11 20:55:52 +00:00
|
|
|
|
2015-08-11 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/farcall-b-defsym.s: New test.
|
|
|
|
|
* ld-aarch64/farcall-bl-defsym.s: Likewise.
|
|
|
|
|
* ld-aarch64/farcall-b-defsym.d: New expectation.
|
|
|
|
|
* ld-aarch64/farcall-bl-defsym.d: Likewise.
|
|
|
|
|
|
2015-08-11 20:44:31 +00:00
|
|
|
|
2015-08-11 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/farcall-b-gsym.s: New test.
|
|
|
|
|
* ld-aarch64/farcall-b-plt.s: Likewise.
|
|
|
|
|
* ld-aarch64/farcall-bl-plt.s: Likewise.
|
|
|
|
|
* ld-aarch64/farcall-b-gsym.d: New expect file.
|
|
|
|
|
* ld-aarch64/farcall-b-plt.d: Likewise.
|
|
|
|
|
* ld-aarch64/farcall-bl-plt.d: Likewise.
|
|
|
|
|
|
2015-08-11 16:44:30 +00:00
|
|
|
|
2015-08-11 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/emit-relocs-529.s: New testcase.
|
|
|
|
|
* ld-aarch64/emit-relocs-529-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-86.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-86-overflow.s: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-529.d: New expectation file.
|
|
|
|
|
* ld-aarch64/emit-relocs-529-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-86.d: Likewise.
|
|
|
|
|
* ld-aarch64/emit-relocs-86-overflow.d: Likewise.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new testcases.
|
|
|
|
|
|
2015-08-11 16:20:17 +00:00
|
|
|
|
2015-08-11 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/tls-small-ld.s: Update testcase.
|
|
|
|
|
|
2015-08-11 16:05:34 +00:00
|
|
|
|
2015-08-11 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/tls-small-ld.s: New file.
|
|
|
|
|
* ld-aarch64/tls-small-ld.d: Likewise.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new test.
|
|
|
|
|
|
2015-08-11 19:58:52 +00:00
|
|
|
|
2015-08-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18808
|
|
|
|
|
* ld-ifunc/ifunc.exp: Add a test for PR ld/18808.
|
|
|
|
|
* ld-ifunc/pr18808.out: New file.
|
|
|
|
|
* ld-ifunc/pr18808a.c: Likewise.
|
|
|
|
|
* ld-ifunc/pr18808b.c: Likewise.
|
2015-08-13 09:48:55 +00:00
|
|
|
|
* lib/ld-lib.exp (check_ifunc_attribute_available): New.
|
2015-08-12 09:36:01 +00:00
|
|
|
|
|
2015-08-07 12:04:21 +00:00
|
|
|
|
2015-08-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18720
|
|
|
|
|
* ld-elf/indirect.exp: Run tests for PR ld/18720.
|
|
|
|
|
* ld-elf/pr18720.out: New file.
|
|
|
|
|
* ld-elf/pr18720a.c: Likewise.
|
|
|
|
|
* ld-elf/pr18720b.c: Likewise.
|
|
|
|
|
* ld-elf/pr18720c.c: Likewise.
|
|
|
|
|
|
2015-07-28 18:14:37 +00:00
|
|
|
|
2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* ld/ld-lib.exp (run_dump_test): When using the map option, no
|
|
|
|
|
program is required.
|
|
|
|
|
|
2015-07-28 15:20:41 +00:00
|
|
|
|
2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* ld/ld-lib.exp (run_dump_test): Add error_output and
|
|
|
|
|
warning_output options.
|
|
|
|
|
|
2015-07-15 17:37:30 +00:00
|
|
|
|
2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* ld-undefined/require-defined-1.d: New file.
|
|
|
|
|
* ld-undefined/require-defined-2.d: New file.
|
|
|
|
|
* ld-undefined/require-defined-3.d: New file.
|
|
|
|
|
* ld-undefined/require-defined-4.d: New file.
|
|
|
|
|
* ld-undefined/require-defined-5.d: New file.
|
|
|
|
|
* ld-undefined/require-defined.exp: New file.
|
|
|
|
|
* ld-undefined/require-defined.s: New file.
|
|
|
|
|
|
2015-07-30 10:27:44 +00:00
|
|
|
|
2015-07-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18735
|
|
|
|
|
* ld-elf/pr18735.d: New file.
|
|
|
|
|
* ld-elf/pr18735.s: Likewise.
|
|
|
|
|
|
2015-07-29 18:20:04 +00:00
|
|
|
|
2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/pr18718.c (bar): Use noclone attribute only for GCC
|
|
|
|
|
4.5 or newer.
|
|
|
|
|
|
2015-07-29 17:51:08 +00:00
|
|
|
|
2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-size/size.exp: Move run-time support check.
|
|
|
|
|
|
2015-07-28 01:33:57 +00:00
|
|
|
|
2015-07-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/elfv2so.d: Update.
|
|
|
|
|
|
2015-07-27 23:16:17 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/default.exp (NOPIE_CFLAGS): New.
|
|
|
|
|
(NOPIE_LDFLAGS): Likewise.
|
|
|
|
|
* ld-size/size.exp (run_cc_link_tests): Add $NOPIE_CFLAGS and
|
|
|
|
|
$NOPIE_LDFLAGS if needed.
|
|
|
|
|
(run_ld_link_exec_tests): Add $NOPIE_CFLAGS if needed.
|
|
|
|
|
|
2015-07-27 12:18:20 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-srec/srec.exp (CC): Save and restore. Append $PLT_CFLAGS.
|
|
|
|
|
(CXX): Likewise.
|
|
|
|
|
|
2015-07-27 12:17:26 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-shared/shared.exp: Pass $PLT_CFLAGS to ld_compile.
|
|
|
|
|
|
2015-07-27 12:16:38 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/crossref.exp (CC): Save and restore. Append
|
|
|
|
|
$PLT_CFLAGS.
|
|
|
|
|
|
2015-07-27 12:15:48 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/i386.exp (run_cc_link_tests): Add $PLT_CFLAGS to
|
|
|
|
|
-fPIC if needed.
|
|
|
|
|
* ld-x86-64/mpx.exp (run_cc_link_tests): Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp (run_cc_link_tests): Likewise.
|
|
|
|
|
|
2015-07-27 12:15:01 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elfvsb/elfvsb.exp (visibility_run): Pass $PLT_CFLAGS to
|
|
|
|
|
ld_compile.
|
|
|
|
|
|
2015-07-27 12:13:55 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elfvers/vers.exp (build_vers_lib_no_pic): Pass $PLT_CFLAGS
|
|
|
|
|
to build_binary.
|
|
|
|
|
|
2015-07-27 10:42:39 +00:00
|
|
|
|
2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/default.exp (PLT_CFLAGS): New.
|
|
|
|
|
|
2015-07-27 10:48:48 +00:00
|
|
|
|
2015-07-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18705
|
|
|
|
|
* ld-aarch64/protected-data.d: New.
|
|
|
|
|
* ld-aarch64/protected-data.s: New.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Add new test.
|
|
|
|
|
|
2015-07-27 10:45:27 +00:00
|
|
|
|
2015-07-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18705
|
|
|
|
|
* ld-arm/protected-data.d: New.
|
|
|
|
|
* ld-arm/protected-data.s: New.
|
|
|
|
|
* ld-arm/arm-elf.exp: Add new test.
|
|
|
|
|
|
2015-07-26 21:55:39 +00:00
|
|
|
|
2015-07-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18718
|
|
|
|
|
* ld-elf/shared.exp: Compile PR ld/18718 tests with -O2.
|
|
|
|
|
|
2015-07-26 18:55:57 +00:00
|
|
|
|
2015-07-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_host_cmd_yesno): Set errcnt and warncnt
|
|
|
|
|
to 0.
|
|
|
|
|
|
2015-07-25 15:10:51 +00:00
|
|
|
|
2015-07-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18718
|
|
|
|
|
* ld-elf/pr18718.c: New file.
|
|
|
|
|
* ld-elf/shared.exp: Run tests for PR ld/18718.
|
|
|
|
|
|
2015-07-25 07:08:42 +00:00
|
|
|
|
2015-07-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/symbolic-func.s,
|
|
|
|
|
* ld-elf/symbolic-func.r: New test.
|
|
|
|
|
* ld-elf/elf.exp: Run it.
|
|
|
|
|
|
2015-07-24 11:14:04 +00:00
|
|
|
|
2015-07-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compress.exp (build_tests): Replace -g with -ggdb3.
|
|
|
|
|
* ld-elf/zlibbegin.rS: Also expect "GC".
|
|
|
|
|
* ld-elf/zlibnormal.rS: Likewise.
|
|
|
|
|
|
2015-07-16 14:46:21 +00:00
|
|
|
|
2015-07-16 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/tls-tiny-ld.s: New file.
|
|
|
|
|
* ld-aarch64/tls-tiny-ld.d: Ditto.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new test.
|
|
|
|
|
|
2015-07-14 17:25:52 +00:00
|
|
|
|
2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/zlibbegin.rS: Updated to .debug_.* with the
|
|
|
|
|
SHF_COMPRESSED bit.
|
|
|
|
|
* ld-elf/zlibnormal.rS: Likewise.
|
|
|
|
|
|
2015-07-09 15:24:54 +00:00
|
|
|
|
2015-07-09 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
2015-07-24 11:08:12 +00:00
|
|
|
|
* ld-mips-elf/attr-gnu-4-08.d: Update expected output.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-09.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-19.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-29.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-39.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-49.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-59.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-69.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-79.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-89.d: New.
|
|
|
|
|
* ld-mips-elf/attr-gnu-4-9.s: New.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run new tests.
|
2015-07-09 15:24:54 +00:00
|
|
|
|
|
2015-07-08 18:35:19 +00:00
|
|
|
|
2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
|
|
|
|
|
|
|
|
|
|
* ld-avr/gc-section-debugline.d: New test.
|
|
|
|
|
* ld-avr/per-function-debugline.s: Source for new test.
|
|
|
|
|
|
2015-07-05 18:56:59 +00:00
|
|
|
|
2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s,
|
|
|
|
|
ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s,
|
|
|
|
|
ld-powerpc/tocopt6.d: New test.
|
|
|
|
|
* ld-powerpc/powerpc.exp (ppc64elftests): Add it.
|
|
|
|
|
|
Add experimental support for --gc-sections with COFF and PE based targets.
PR ld/11539
bfd * coffcode.h (coff_bfd_gc_sections): Define default
to bfd_coff_gc_sections function.
* cofflink.c (init_reloc_cookie): Copy and adjust coff
related code about gc-sections from elflink.c to here.
(fini_reloc_cookie): Likewise.
(init_reloc_cookie_rels): Likewise.
(fini_reloc_cookie_rels): Likewise.
(init_reloc_cookie_for_section): Likewise.
(fini_reloc_cookie_for_section): Likewise.
(_bfd_coff_gc_mark_hook): Likewise.
(_bfd_coff_gc_mark_rsec): Likewise.
(_bfd_coff_gc_mark_reloc): Likewise.
(_bfd_coff_gc_mark): Likewise.
(_bfd_coff_gc_mark_extra_sections): Likewise.
(coff_gc_sweep_symbol_info): Likewise.
(coff_gc_sweep_symbol): Likewise.
(gc_sweep_hook_fn): Likewise.
(coff_gc_sweep): Likewise.
(bfd_coff_gc_sections): Likewise.
(_bfd_coff_gc_keep): Likewise.
* libcoff.h (coff_reloc_cookie): New struct.
(bfd_coff_gc_sections): New prototype.
(coff_gc_mark_hook_fn): New type.
ld * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*,
.rsrc*, .init, .ctor*, .dtor*, .fini, .jcr,
.eh_frame, .pdata. .xdata, and .gcc_except_table sections
as KEEP.
* scripttempl/pe.sc: Likewise.
2015-07-03 14:50:29 +00:00
|
|
|
|
2015-07-03 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11539
|
|
|
|
|
* lib/ld-lib.exp (check_gc_sections_available): Do not
|
|
|
|
|
automatically fail for cygwin and mingw targets.
|
|
|
|
|
|
2015-07-01 22:55:28 +00:00
|
|
|
|
2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
Cesar Philippidis <cesar@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-nios2/mixed1a.d: New.
|
|
|
|
|
* ld-nios2/mixed1a.s: New.
|
|
|
|
|
* ld-nios2/mixed1b.d: New.
|
|
|
|
|
* ld-nios2/mixed1b.s: New.
|
|
|
|
|
* ld-nios2/nios2.exp: Build the new compatibility tests.
|
|
|
|
|
|
2015-06-27 23:24:50 +00:00
|
|
|
|
2015-06-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-xtensa/tlsbin.rd: Updated.
|
|
|
|
|
* ld-xtensa/tlspic.rd: Likewise.
|
|
|
|
|
|
2015-06-11 09:16:19 +00:00
|
|
|
|
2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
|
|
|
|
|
* ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32.got: Likewise.
|
|
|
|
|
* ld-mips-elf/pie-n32.d: New file.
|
|
|
|
|
* ld-mips-elf/pie-n64.d: Likewise.
|
|
|
|
|
* ld-mips-elf/pie-o32.d: Likewise.
|
|
|
|
|
* ld-mips-elf/pie.s: Likewise.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Add new tests.
|
|
|
|
|
|
2015-06-25 17:14:13 +00:00
|
|
|
|
2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
|
|
|
|
|
|
2015-06-25 17:05:10 +00:00
|
|
|
|
2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-mmix/bspec1.d: Updated.
|
|
|
|
|
* ld-mmix/bspec2.d: Likewise.
|
|
|
|
|
* ld-mmix/undef-3.d: Likewise.
|
|
|
|
|
|
Use strtab with GC and suffix merging for .strtab
This patch uses ELF strtab with GC and suffix merging support to create
ELF .strtab section. There is some small memory overhead to use ELF
strtab:
==14928== HEAP SUMMARY:
==14928== in use at exit: 3,276,318 bytes in 679 blocks
==14928== total heap usage: 1,544 allocs, 865 frees, 15,259,146 bytes allocated
vs.
==14936== HEAP SUMMARY:
==14936== in use at exit: 3,276,318 bytes in 679 blocks
==14936== total heap usage: 1,532 allocs, 853 frees, 15,026,402 bytes allocated
when running:
./ld-new -m elf_x86_64 -o tmpdir/ld-partial.o -r ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_x86_64.o eelf32_x86_64.o eelf_i386.o eelf_iamcu.o ei386linux.o eelf_l1om.o eelf_k1om.o ldbuildid.o
The results are
[32] .strtab STRTAB 0+ 3beff8 00407a 00 0 0 1
vs
[32] .strtab STRTAB 0+ 3beff8 0041d8 00 0 0 1
It reduces the .strtab size by 350 bytes, about 2%
Saving on libc.so from glibc is much more since libc.so has many alias
symbols with the same suffix. For x32 glibc,
[82] .strtab STRTAB 0+ 81b348 0159e7 00 0 0 1
vs
[82] .strtab STRTAB 0+ 81b8bc 019e72 00 0 0 1
It reduces the .strtab size by 17547 bytes, about 16%.
bfd/
PR gas/18451
* elf-bfd.h (elf_sym_strtab): New.
(elf_link_hash_table): Add strtabcount, strtabsize and
strtab.
(_bfd_elf_stringtab_init): Removed.
* elf.c (_bfd_elf_stringtab_init): Removed.
(_bfd_elf_compute_section_file_positions): Replace
bfd_strtab_hash/_bfd_elf_stringtab_init/_bfd_stringtab_free/
_bfd_stringtab_size with
elf_strtab_hash/_bfd_elf_strtab_init/_bfd_elf_strtab_free/
_bfd_elf_strtab_size. Use _bfd_elf_strtab_add,
_bfd_elf_strtab_finalize and _bfd_elf_strtab_offset to get
st_name.
(swap_out_syms): Likewise.
* elflink.c (elf_final_link_info): Replace bfd_strtab_hash
with elf_strtab_hash. Remove symbuf, symbuf_count,
symbuf_size and shndxbuf_size.
(elf_link_flush_output_syms): Removed.
(elf_link_output_sym): Renamed to ...
(elf_link_output_symstrtab): This. Replace _bfd_stringtab_add
with _bfd_elf_strtab_add. Don't flush symbols to the file nor
swap out symbols.
(elf_link_swap_symbols_out): New.
(elf_link_output_extsym): Replace elf_link_output_sym with
elf_link_output_symstrtab.
(elf_link_input_bfd): Likewise.
(elf_final_link_free): Replace _bfd_stringtab_free with
_bfd_elf_strtab_free. Remove symbuf.
(bfd_elf_final_link): Replace _bfd_elf_stringtab_init with
_bfd_elf_strtab_init. Don't set symbuf, symbuf_count,
symbuf_size nor shndxbuf_size. Initialize strtabsize and
strtab. Initialize symshndxbuf to -1 when number of sections
>= 64K. Replace elf_link_output_sym/elf_link_output_sym with
elf_link_output_symstrtab/elf_link_output_symstrtab. Don't
call elf_link_flush_output_syms. Call _bfd_elf_strtab_finalize
and elf_link_swap_symbols_out. Replace _bfd_stringtab_size
and _bfd_stringtab_emit with _bfd_elf_strtab_size and
_bfd_elf_strtab_emit.
gas/testsuite/
PR gas/18451
* gas/elf/elf.exp: Run strtab.
* gas/elf/strtab.d: New file.
* gas/elf/strtab.s: Likewise.
ld/testsuite/
PR gas/18451
* ld-elf/strtab.d: New file.
* ld-elf/strtab.s: Likewise.
2015-06-25 15:16:00 +00:00
|
|
|
|
2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/18451
|
|
|
|
|
* ld-elf/strtab.d: New file.
|
|
|
|
|
* ld-elf/strtab.s: Likewise.
|
|
|
|
|
|
2015-06-24 20:37:05 +00:00
|
|
|
|
2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/i386.exp: Run pltgot-2 for Linux targets.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* ld-i386/pltgot-1.d: Updated.
|
|
|
|
|
* ld-x86-64/pltgot-1.d: Likewise.
|
|
|
|
|
* ld-i386/pltgot-2.d: New file.
|
|
|
|
|
* ld-x86-64/pltgot-2.d: Likewise.
|
|
|
|
|
|
2015-06-23 11:12:06 +00:00
|
|
|
|
2015-06-23 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/dt_textrel.s: New testcase.
|
|
|
|
|
* ld-aarch64/dt_textrel.d: New expectation file.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new testcase.
|
|
|
|
|
|
2015-06-17 15:36:04 +00:00
|
|
|
|
2015-06-17 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): New function.
|
|
|
|
|
* ld-aarch64/emit-relocs-28.d: Use aarch64_choose_ilp32_emul to choose
|
|
|
|
|
emulation mode.
|
|
|
|
|
|
2015-06-16 07:17:51 +00:00
|
|
|
|
2015-06-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/ppc476-shared.s: Repeat dynamic reloc generating insns.
|
|
|
|
|
* ld-powerpc/ppc476-shared.d: Update.
|
|
|
|
|
* ld-powerpc/ppc476-shared2.d: Update.
|
|
|
|
|
|
2015-06-05 13:09:31 +00:00
|
|
|
|
2015-06-12 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/print-memory-usage-1.t,
|
|
|
|
|
* ld-scripts/print-memory-usage-1.s,
|
|
|
|
|
* ld-scripts/print-memory-usage-1.l,
|
|
|
|
|
* ld-scripts/print-memory-usage-2.t,
|
|
|
|
|
* ld-scripts/print-memory-usage-2.l,
|
|
|
|
|
* ld-scripts/print-memory-usage-3.s,
|
|
|
|
|
* ld-scripts/print-memory-usage-3.t,
|
|
|
|
|
* ld-scripts/print-memory-usage-3.l,
|
|
|
|
|
* ld-scripts/print-memory-usage.t: New tests.
|
|
|
|
|
* ld-scripts/print-memory-usage.exp: Run them.
|
|
|
|
|
|
2015-06-05 15:48:01 +00:00
|
|
|
|
2015-06-05 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compressed1d.d: Fix typo: iq200 -> iq2000.
|
|
|
|
|
|
2015-06-05 09:05:40 +00:00
|
|
|
|
2015-06-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/ppc476-shared.s,
|
|
|
|
|
* ld-powerpc/ppc476-shared.lnk,
|
|
|
|
|
* ld-powerpc/ppc476-shared.d,
|
|
|
|
|
* ld-powerpc/ppc476-shared2.d: New tests.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run them.
|
|
|
|
|
|
2015-06-02 12:59:17 +00:00
|
|
|
|
2015-06-02 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/emit-relocs-313.s: Use gotpage_lo15.
|
|
|
|
|
|
2015-06-01 14:45:25 +00:00
|
|
|
|
2015-06-01 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/emit-relocs-28.s: New test file.
|
|
|
|
|
* ld-aarch64/emit-relocs-28.d: Ditto.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new test.
|
|
|
|
|
|
2015-06-01 09:31:38 +00:00
|
|
|
|
2015-06-01 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/tprel_add_lo12_overflow.s: New testcase.
|
|
|
|
|
* ld-aarch64/tprel_add_lo12_overflow.d: Nex expectation file.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new testcase.
|
|
|
|
|
|
2015-06-01 09:26:00 +00:00
|
|
|
|
2015-06-01 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/emit-relocs-313.s: New test file.
|
|
|
|
|
* ld-aarch64/emit-relocs-313.d: Ditto.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new test.
|
|
|
|
|
|
2015-05-29 10:51:41 +00:00
|
|
|
|
2015-05-29 Stephen Kitt <steve@sk2.org>
|
|
|
|
|
|
|
|
|
|
* ld-pe/pe-run2.exp (test_direct2_link_dll): Add $CFLAGS to the
|
|
|
|
|
compiler command line.
|
|
|
|
|
|
Compact EH Support
The specification for the Compact EH format is available at:
https://github.com/MentorEmbedded/cxx-abi/blob/master/MIPSCompactEH.pdf
2015-05-28 Catherine Moore <clm@codesourcery.com>
Bernd Schmidt <bernds@codesourcery.com>
Paul Brook <paul@codesourcery.com>
bfd/
* bfd-in2.h: Regenerated.
* elf-bfd.h (DWARF2_EH_HDR, COMPACT_EH_HDR): Define.
(COMPACT_EH_CANT_UNWIND_OPCODE): Define.
(dwarf_eh_frame_hdr_info): Move dwarf-specific fields from
eh_frame_hdr_info.
(compact_eh_frame_hdr_info): Declare.
(eh_frame_hdr_info): Redeclare with union for dwarf-specific
fields and compact-eh fields.
(elf_backend_data): Add cant_unwind_opcode and compact_eh_encoding.
(bfd_elf_section_data): Add eh_frame_entry_field.
(elf_section_eh_frame_entry): Define.
(bfd_elf_parse_eh_frame_entries): Declare.
(_bfd_elf_parse_eh_frame_entry): Declare.
(_bfd_elf_end_eh_frame_parsing): Declare.
(_bfd_elf_write_section_eh_frame_entry): Declare.
(_bfd_elf_eh_frame_entry_present): Declare.
(_bfd_elf_section_for_symbol): Declare.
* elf-eh-frame.c (bfd_elf_discard_eh_frame_entry): New function.
(bfd_elf_record_eh_frame_entry): New function.
(_bfd_elf_parse_eh_frame_entry): New function.
(_bfd_elf_parse_eh_frame): Update hdr_info field references.
(cmp_eh_frame_hdr): New function.
(add_eh_frame_hdr_terminator): New function.
(_bfd_elf_end_eh_frame_parsing): New function.
(find_merged_cie): Update hdr_info field references.
(_bfd_elf_discard_section_eh_frame): Likewise.
(_bfd_elf_discard_section_eh_frame_hdr): Add Compact EH support.
(_bfd_elf_eh_frame_entry_present): New function.
(_bfd_elf_maybe_strip_eh_frame_hdr): Add Compact EH support.
(_bfd_elf_write_section_eh_frame_entry): New function.
(_bfd_elf_write_section_eh_frame): Update hdr_info field references.
(_bfd_elf_fixup_eh_frame_hdr): New function.
(write_compact_eh_frame_hdr): New function.
(write_dwarf_eh_frame_hdr): New function.
(_bfd_elf_write_section_eh_frame_hdr): Add Compact EH support.
* elflink.c (_bfd_elf_section_for_symbol): New function.
(elf_section_ignore_discarded_relocs): Add Compact EH support.
(elf_link_input_bfd): Likewise.
(bfd_elf_final_link): Likewise.
(_bfd_elf_gc_mark): Likewise.
(bfd_elf_parse_eh_frame_entries): New function.
(bfd_elf_gc_sections): Add Compact EH support.
(bfd_elf_discard_info): Likewise.
* elfxx-mips.c: Include dwarf2.h.
(_bfd_mips_elf_compact_eh_encoding): New function.
(_bfd_mips_elf_cant_unwind_opcode): New function.
* elfxx-mips.h (_bfd_mips_elf_compact_eh_encoding): Declare.
(_bfd_mips_elf_cant_unwind_opcode): Declare.
(elf_backend_compact_eh_encoding): Define.
(elf_backend_cant_unwind_opcode): Define.
* elfxx-target.h (elf_backend_compact_eh_encoding): Provide default.
(elf_backend_cant_unwind_opcode): Provide default.
(elf_backend_data elfNN_bed): Add elf_backend_compact_eh_encoding and
elf_backend_cant_unwind_opcode.
* section.c (SEC_INFO_TYPE_EH_FRAME_ENTRY): Add definition.
gas/
* config/tc-alpha.c (all_cfi_sections): Declare.
(s_alpha_ent): Initialize all_cfi_sections.
(alpha_elf_md_end): Invoke cfi_set_sections.
* config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
(s_ehword): Use BFD_RELOC_32_PCREL.
(mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
(mips_cfi_reloc_for_encoding): New function.
* tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
(DWARF2_FDE_RELOC_ENCODING): Define.
(tc_cfi_reloc_for_encoding): Define.
(mips_cfi_reloc_for_encoding): Define.
(tc_compact_eh_opcode_stop): Define.
(tc_compact_eh_opcode_pad): Define.
* doc/as.texinfo: Document Compact EH extensions.
* doc/internals.texi: Likewise.
* dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
(tc_cfi_reloc_for_encoding): Provide default.
(compact_eh): Declare.
(emit_expr_encoded): New function.
(get_debugseg_name): Add Compact EH support.
(alloc_debugseg_item): Likewise.
(cfi_set_sections): New function.
(dot_cfi_fde_data): New function.
(dot_cfi_personality_id): New function.
(dot_cfi_inline_lsda): New function.
(cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
and cfi_inline_lsda.
(dot_cfi_personality): Add Compact EH support.
(dot_cfi_lsda): Likewise.
(dot_cfi_sections): Likewise.
(dot_cfi_startproc): Likewise.
(get_cfi_seg): Likewise.
(output_compact_unwind_data): New function.
(output_cfi_insn): Add Compact EH support.
(output_cie): Likewise.
(output_fde): Likewise.
(cfi_finish): Likewise.
(cfi_emit_eh_header): New function.
(output_eh_header): New function.
* dw2gencfi.h (cfi_set_sections): Declare.
(SUPPORT_COMPACT_EH): Define.
(MULTIPLE_FRAME_SECTIONS): Define.
New enumeration to describe the Compact EH header format.
(fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
eh_data, eh_loc and sections.
(CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
CFI_EMIT_eh_frame_compact): Define.
2015-05-22 Catherine Moore <clm@codesourcery.com>
Bernd Schmidt <bernds@codesourcery.com>
gas/testsuite/
* gas/mips/mips.exp: Run new tests.
* gas/mips/compact-eh-1.s: New file.
* gas/mips/compact-eh-2.s: New file.
* gas/mips/compact-eh-3.s: New file.
* gas/mips/compact-eh-4.s: New file.
* gas/mips/compact-eh-5.s: New file.
* gas/mips/compact-eh-6.s: New file.
* gas/mips/compact-eh-7.s: New file.
* gas/mips/compact-eh-eb-1.d: New file.
* gas/mips/compact-eh-eb-2.d: New file.
* gas/mips/compact-eh-eb-3.d: New file.
* gas/mips/compact-eh-eb-4.d: New file.
* gas/mips/compact-eh-eb-5.d: New file.
* gas/mips/compact-eh-eb-6.d: New file.
* gas/mips/compact-eh-eb-7.d: New file.
* gas/mips/compact-eh-el-1.d: New file.
* gas/mips/compact-eh-el-2.d: New file.
* gas/mips/compact-eh-el-3.d: New file.
* gas/mips/compact-eh-el-4.d: New file.
* gas/mips/compact-eh-el-5.d: New file.
* gas/mips/compact-eh-el-6.d: New file.
* gas/mips/compact-eh-el-7.d: New file.
* gas/mips/compact-eh-err1.l: New file.
* gas/mips/compact-eh-err1.s: New file.
* gas/mips/compact-eh-err2.l: New file.
* gas/mips/compact-eh-err2.s: New file.
2015-05-22 Catherine Moore <clm@codesourcery.com>
include/
* bfdlink.h: Rename eh_frame_hdr to eh_frame_hdr_type.
2015-05-22 Catherine Moore <clm@codesourcery.com>
Paul Brook <paul@codesourcery.com>
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
Add Compact EH support.
* scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab
sections.
2015-05-22 Catherine Moore <clm@codesourcery.com>
ld/testsuite/
* ld-mips-elf/compact-eh.ld: New linker script.
* ld-mips-elf/compact-eh1.d: New.
* ld-mips-elf/compact-eh1.s: New.
* ld-mips-elf/compact-eh1a.s: New.
* ld-mips-elf/compact-eh1b.s: New.
* ld-mips-elf/compact-eh2.d: New.
* ld-mips-elf/compact-eh2.s: New.
* ld-mips-elf/compact-eh3.d: New.
* ld-mips-elf/compact-eh3.s: New.
* ld-mips-elf/compact-eh3a.s: New.
* ld-mips-elf/compact-eh4.d: New.
* ld-mips-elf/compact-eh5.d: New.
* ld-mips-elf/compact-eh6.d: New.
* ld-mips-elf/mips-elf.exp: Run new tests.
2015-05-28 21:50:36 +00:00
|
|
|
|
2015-05-28 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
ld/testsuite/
|
|
|
|
|
* ld-mips-elf/compact-eh.ld: New linker script.
|
|
|
|
|
* ld-mips-elf/compact-eh1.d: New.
|
|
|
|
|
* ld-mips-elf/compact-eh1.s: New.
|
|
|
|
|
* ld-mips-elf/compact-eh1a.s: New.
|
|
|
|
|
* ld-mips-elf/compact-eh1b.s: New.
|
|
|
|
|
* ld-mips-elf/compact-eh2.d: New.
|
|
|
|
|
* ld-mips-elf/compact-eh2.s: New.
|
|
|
|
|
* ld-mips-elf/compact-eh3.d: New.
|
|
|
|
|
* ld-mips-elf/compact-eh3.s: New.
|
|
|
|
|
* ld-mips-elf/compact-eh3a.s: New.
|
|
|
|
|
* ld-mips-elf/compact-eh4.d: New.
|
|
|
|
|
* ld-mips-elf/compact-eh5.d: New.
|
|
|
|
|
* ld-mips-elf/compact-eh6.d: New.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run new tests.
|
|
|
|
|
|
2015-05-27 21:32:24 +00:00
|
|
|
|
2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/18458
|
|
|
|
|
* ld-elf/shared.exp (build_tests): Build libpr18458a.so and
|
|
|
|
|
libpr18458b.so.
|
|
|
|
|
(run_tests): Run pr18458 test.
|
|
|
|
|
* ld-elf/pr18458a.c: New file.
|
|
|
|
|
* ld-elf/pr18458b.c: Likewise.
|
|
|
|
|
* ld-elf/pr18458c.c: Likewise.
|
|
|
|
|
|
2015-05-16 14:00:21 +00:00
|
|
|
|
2015-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/i386.exp: Run PR ld/17689 tests with -z now.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Likewise
|
|
|
|
|
* ld-i386/pr17689now.rd: New file.
|
|
|
|
|
* ld-x86-64/pr17689now.rd: Likewise
|
|
|
|
|
|
2015-05-15 16:47:39 +00:00
|
|
|
|
2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutis/18386
|
|
|
|
|
* ld-x86-64/tlsgdesc.dd: Also pass -Mintel64 to objdump.
|
|
|
|
|
* ld-x86-64/tlspic.dd: Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp (x86_64tests): Also pass -Mintel64 to
|
|
|
|
|
objdump for tlspic.dd and tlsgdesc.dd.
|
|
|
|
|
|
2015-05-12 20:11:48 +00:00
|
|
|
|
2015-05-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/i386.exp: Run pltgot-1 for Linux targets.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* ld-i386/pltgot-1.d: New file.
|
|
|
|
|
* ld-i386/pltgot-1.s: Likewise.
|
|
|
|
|
* ld-x86-64/pltgot-1.d: Likewise.
|
|
|
|
|
* ld-x86-64/pltgot-1.s: Likewise.
|
|
|
|
|
|
2015-05-11 19:01:57 +00:00
|
|
|
|
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/i386.exp (iamcu_tests): Run iamcu-4.
|
|
|
|
|
* ld-i386/iamcu-4.d: New file.
|
|
|
|
|
|
2015-05-11 18:27:34 +00:00
|
|
|
|
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/abs-iamcu.d: New file.
|
|
|
|
|
* ld-i386/dummy.s: Likewise.
|
|
|
|
|
* ld-i386/foo.s: Likewise.
|
|
|
|
|
* ld-i386/iamcu-1.d: Likewise.
|
|
|
|
|
* ld-i386/iamcu-2.d: Likewise.
|
|
|
|
|
* ld-i386/iamcu-3.d: Likewise.
|
|
|
|
|
* ld-i386/start.s: Likewise.
|
|
|
|
|
* ld-i386/i386.exp (iamcu_tests): New.
|
|
|
|
|
Run iamcu_tests.
|
|
|
|
|
|
2015-05-13 11:33:45 +00:00
|
|
|
|
2015-05-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutis/18386
|
|
|
|
|
* ld-x86-64/tlsgdesc.dd: Updated.
|
|
|
|
|
* ld-x86-64/tlspic.dd: Likewise.
|
|
|
|
|
|
2015-04-29 15:43:22 +00:00
|
|
|
|
2015-04-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18354
|
|
|
|
|
* ld-elf/compress.exp (run_tests): Link the last zlibnormal,
|
|
|
|
|
gnunormal and gabinormal against libfoozlib.so.
|
|
|
|
|
|
2015-04-29 10:04:17 +00:00
|
|
|
|
2015-04-27 Renlin Li <renlin.li@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/ifunc-10.dd: Adjust expected output.
|
|
|
|
|
* ld-arm/ifunc-2.dd: Likewise.
|
|
|
|
|
|
2015-04-27 08:24:24 +00:00
|
|
|
|
2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-s390/gotreloc_31-1.dd: Use instruction mnemonics.
|
|
|
|
|
|
2015-04-24 09:49:37 +00:00
|
|
|
|
2015-04-24 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tocnovar.d: Revert last change.
|
|
|
|
|
|
2015-04-24 14:51:49 +00:00
|
|
|
|
2015-04-24 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/armthumb-lib.d: Regenerate expected output.
|
|
|
|
|
* ld-arm/armthumb-lib.d: Likewise.
|
|
|
|
|
* ld-arm/armthumb-lib.sym: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-b-rel-thumb.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-b.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-bcc-rel-thumb.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-bcc.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-bl-rel-arm.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-bl-rel-thumb.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-bl.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-blx-bcond.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-blx-rel-arm.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-blx-rel-thumb.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-blx.d: Likewise.
|
|
|
|
|
* ld-arm/cortex-a8-fix-hdr.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app-v5.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-lib-v4t.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-lib.d: Likewise.
|
|
|
|
|
* ld-arm/mixed-app-v5.d: Likewise.
|
|
|
|
|
* ld-arm/mixed-app.d: Likewise.
|
|
|
|
|
* ld-arm/mixed-lib.d: Likewise.
|
|
|
|
|
|
2015-04-24 09:15:41 +00:00
|
|
|
|
2015-04-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compressed1d.d: Add notarget for ELF based targets that
|
|
|
|
|
do not use elf.em.
|
|
|
|
|
|
2015-04-24 04:10:19 +00:00
|
|
|
|
2015-04-24 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compressed1e.d: Correct xfail to notarget and cris*-*-*
|
|
|
|
|
to cris*-*-elf.
|
|
|
|
|
|
2015-04-24 01:58:46 +00:00
|
|
|
|
2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compressed1e.d: Only run for Linux/gnu. Xfail cris and
|
|
|
|
|
frv.
|
|
|
|
|
|
2015-04-23 23:37:44 +00:00
|
|
|
|
2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18277
|
|
|
|
|
* ld-elf/compressed1d.d: New.
|
|
|
|
|
* ld-elf/compressed1e.d: Likewise.
|
|
|
|
|
|
2015-04-21 09:48:24 +00:00
|
|
|
|
2015-04-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/ambiguousv1b.d: Update for aligned .got.
|
|
|
|
|
* ld-powerpc/defsym.d: Likewise.
|
|
|
|
|
* ld-powerpc/elfv2-2exe.d: Likewise.
|
|
|
|
|
* ld-powerpc/elfv2exe.d: Likewise.
|
|
|
|
|
* ld-powerpc/elfv2so.d: Likewise.
|
|
|
|
|
* ld-powerpc/relbrlt.d: Likewise.
|
|
|
|
|
* ld-powerpc/tls.g: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe.d: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe.g: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.d: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.g: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.d: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.g: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlstoc.g: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.d: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.g: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.r: Likewise.
|
|
|
|
|
* ld-powerpc/tocopt.d: Likewise.
|
|
|
|
|
* ld-powerpc/tocopt2.d: Likewise.
|
|
|
|
|
* ld-powerpc/tocopt3.d: Likewise.
|
|
|
|
|
* ld-powerpc/tocopt4.d: Likewise.
|
|
|
|
|
* ld-powerpc/tocopt5.d: Likewise.
|
2015-04-22 02:01:18 +00:00
|
|
|
|
* ld-powerpc/tocnovar.d: Adjust.
|
2015-04-21 09:48:24 +00:00
|
|
|
|
|
Rewrite relro adjusting code
The linker tries to put the end of the last section in the relro
segment exactly on a page boundary, because the relro segment itself
must end on a page boundary. If for any reason this can't be done,
padding is inserted. Since the end of the relro segment is typically
between .got and .got.plt, padding effectively increases the size of
the GOT. This isn't nice for targets and code models with limited GOT
addressing.
The problem with the current code is that it doesn't cope very well
with aligned sections in the relro segment. When making .got aligned
to a 256 byte boundary for PowerPC64, I found that often the initial
alignment attempt failed and the fallback attempt to be less than
adequate. This is a particular problem for PowerPC64 since the
distance between .got and .plt affects the size of plt call stubs,
leading to "stubs don't match calculated size" errors.
So this rewrite takes a direct approach to calculating a new relro
base. Starting from the last section in the segment, we calculate
where it must start to position its end on the boundary, or as near as
possible considering alignment requirements. The new start then
becomes the goal for the previous section to end, and so on for all
sections. This of course ignores the possibility that user scripts
will place . = ALIGN(xxx); in the relro segment, or provide section
address expressions. In those cases we might fail, but the old code
probably did too, and a fallback is provided.
ld/
* ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
data_seg.relro_offset.
* ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
(fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
* ldlang.c (lang_size_sections): Rewrite code adjusting relro
segment base to line up last section on page boundary.
ld/testsuite/
* ld-x86-64/pr18176.d: Update.
2015-04-22 13:16:19 +00:00
|
|
|
|
2015-04-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/pr18176.d: Update.
|
|
|
|
|
|
2015-04-22 12:24:54 +00:00
|
|
|
|
2015-04-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18289
|
|
|
|
|
* ld-i386/copyreloc-lib.c: New file.
|
|
|
|
|
* ld-i386/copyreloc-main.S: Likewise.
|
|
|
|
|
* ld-i386/copyreloc-main.out: Likewise.
|
|
|
|
|
* ld-i386/copyreloc-main1.rd: Likewise.
|
|
|
|
|
* ld-i386/copyreloc-main2.rd: Likewise.
|
|
|
|
|
* ld-i386/dummy.c: Likewise.
|
|
|
|
|
* ld-i386/pr17689.out: Likewise.
|
|
|
|
|
* ld-i386/pr17689.rd: Likewise.
|
|
|
|
|
* ld-i386/pr17689a.c: Likewise.
|
|
|
|
|
* ld-i386/pr17689b.S: Likewise.
|
|
|
|
|
* ld-i386/pr17827.rd: Likewise.
|
|
|
|
|
* ld-i386/pr17827ver.rd: Likewise.
|
|
|
|
|
* ld-i386/i386.exp: Run copyreloc tests.
|
|
|
|
|
|
2015-04-20 16:55:34 +00:00
|
|
|
|
2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-mmix/bspec1.d: Don't hardcode offset of .shstrtab section.
|
|
|
|
|
* ld-mmix/bspec2.d: Likewise.
|
|
|
|
|
* ld-mmix/local1.d: Likewise.
|
|
|
|
|
* ld-mmix/local3.d: Likewise.
|
|
|
|
|
* ld-mmix/local5.d: Likewise.
|
|
|
|
|
* ld-mmix/local7.d: Likewise.
|
|
|
|
|
* ld-mmix/undef-3.d: Likewise.
|
|
|
|
|
* ld-sh/sh64/crangerel1.rd: Likewise.
|
|
|
|
|
* ld-sh/sh64/crangerel2.rd: Likewise.
|
|
|
|
|
* ld-tic6x/common.d: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1b.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1r.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1rb.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1b.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1r.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1rb.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-noindex.rd: Likewise.
|
|
|
|
|
* ld-tic6x/static-app-1.rd: Likewise.
|
|
|
|
|
* ld-tic6x/static-app-1b.rd: Likewise.
|
|
|
|
|
* ld-tic6x/static-app-1r.rd: Likewise.
|
|
|
|
|
* ld-tic6x/static-app-1rb.rd: Likewise.
|
|
|
|
|
* ld-x86-64/ilp32-4.d: Likewise.
|
|
|
|
|
* ld-x86-64/split-by-file-nacl.rd: Likewise.
|
|
|
|
|
* ld-x86-64/split-by-file.rd: Likewise.
|
|
|
|
|
|
2015-04-15 05:01:25 +00:00
|
|
|
|
2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compress.exp (build_tests): Add tests for
|
|
|
|
|
--compress-debug-sections=.
|
|
|
|
|
(run_tests): Likewise.
|
|
|
|
|
Add additonal tests for --compress-debug-sections=.
|
|
|
|
|
* ld-elf/gabiend.rt: New file.
|
|
|
|
|
* ld-elf/gabinormal.rt: Likewise.
|
|
|
|
|
* ld-elf/gnubegin.rS: Likewise.
|
|
|
|
|
* ld-elf/gnunormal.rS: Likewise.
|
|
|
|
|
* ld-elf/zlibbegin.rS: Likewise.
|
|
|
|
|
* ld-elf/zlibnormal.rS: Likewise.
|
|
|
|
|
|
2015-04-15 02:29:10 +00:00
|
|
|
|
2015-04-15 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-gc/pr18223.d: xfail tic6x.
|
|
|
|
|
|
2015-04-14 11:12:55 +00:00
|
|
|
|
2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/pr17709
|
|
|
|
|
* ld-i386/i386.exp: Run protected6b.
|
|
|
|
|
* ld-i386/protected6b.d: New file.
|
|
|
|
|
* ld-x86-64/protected6b.d: Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run protected6b.
|
|
|
|
|
|
2015-04-11 14:34:49 +00:00
|
|
|
|
2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/i386.exp: Run protected6a.
|
|
|
|
|
* ld-i386/protected6.d: Renamed to ...
|
|
|
|
|
* ld-i386/protected6a.d: This.
|
|
|
|
|
* ld-x86-64/hidden4.d: New file.
|
|
|
|
|
* ld-x86-64/hidden4.s: Likewise.
|
|
|
|
|
* ld-x86-64/hidden5.d: Likewise.
|
|
|
|
|
* ld-x86-64/hidden5.s: Likewise.
|
|
|
|
|
* ld-x86-64/protected6.d: Renamed to ...
|
|
|
|
|
* ld-x86-64/protected6a.d: This.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run hidden4, hidden5, protected6a,
|
|
|
|
|
protected7a and protected7b.
|
|
|
|
|
|
2015-04-10 21:02:23 +00:00
|
|
|
|
2015-04-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/pr17709
|
|
|
|
|
* ld-i386/protected6.d: New file.
|
|
|
|
|
* ld-i386/protected6.s: Likewise.
|
|
|
|
|
* ld-x86-64/protected6.d: Likewise.
|
|
|
|
|
* ld-x86-64/protected6.s: Likewise.
|
|
|
|
|
* ld-x86-64/protected7.d: Likewise.
|
|
|
|
|
* ld-x86-64/protected7.s: Likewise.
|
|
|
|
|
* ld-x86-64/protected7a.d: Likewise.
|
|
|
|
|
* ld-x86-64/protected7b.d: Likewise.
|
|
|
|
|
|
2015-03-05 14:34:39 +00:00
|
|
|
|
2015-04-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/pr15228
|
|
|
|
|
PR ld/pr17709
|
|
|
|
|
* ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
|
|
|
|
|
* ld-i386/pr17709-nacl.rd: New file.
|
|
|
|
|
* ld-i386/pr17709.rd: Likewise.
|
|
|
|
|
* ld-i386/pr17709a.s: Likewise.
|
|
|
|
|
* ld-i386/pr17709b.s: Likewise.
|
|
|
|
|
* ld-i386/protected3.d: Updated.
|
|
|
|
|
* ld-i386/protected3.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709-nacl.rd: New file.
|
|
|
|
|
* ld-x86-64/pr17709.rd: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709a.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709b.s: Likewise.
|
|
|
|
|
* ld-x86-64/protected3.d: Updated.
|
|
|
|
|
* ld-x86-64/protected3.s: Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
|
|
|
|
|
|
2015-04-10 11:15:53 +00:00
|
|
|
|
2015-04-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18223
|
|
|
|
|
* ld-gc/gc.exp: Run pr18223.
|
|
|
|
|
* ld-gc/pr18223.d: New file.
|
|
|
|
|
* ld-gc/pr18223.s: Likewise.
|
|
|
|
|
|
2015-04-09 12:06:24 +00:00
|
|
|
|
2015-04-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Revert 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
PR ld/pr15228
|
|
|
|
|
PR ld/pr17709
|
|
|
|
|
* ld-i386/i386.exp (i386tests): Remove test for PR ld/17709.
|
|
|
|
|
* ld-i386/pr17709-nacl.rd: Delete.
|
|
|
|
|
* ld-i386/pr17709.rd: Likewise.
|
|
|
|
|
* ld-i386/pr17709a.s: Likewise.
|
|
|
|
|
* ld-i386/pr17709b.s: Likewise.
|
|
|
|
|
* ld-i386/protected3.d: Updated.
|
|
|
|
|
* ld-i386/protected3.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709-nacl.rd: Delete.
|
|
|
|
|
* ld-x86-64/pr17709.rd: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709a.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709b.s: Likewise.
|
|
|
|
|
* ld-x86-64/protected3.d: Updated.
|
|
|
|
|
* ld-x86-64/protected3.s: Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp (x86_64tests): Remove test for PR ld/17709.
|
|
|
|
|
|
2015-04-08 14:53:54 +00:00
|
|
|
|
2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compress.exp: Add a test for
|
|
|
|
|
--compress-debug-sections=zlib-gabi.
|
|
|
|
|
(build_tests): Add 2 tests for --compress-debug-sections=zlib-gabi.
|
|
|
|
|
(run_tests): Likewise.
|
|
|
|
|
Verify linker output with zlib-gabi compressed debug input.
|
|
|
|
|
* ld-elf/compressed1a.d: New file.
|
|
|
|
|
* ld-elf/compressed1b.d: Likewise.
|
|
|
|
|
* ld-elf/compressed1c.d: Likewise.
|
|
|
|
|
|
2015-04-07 12:53:21 +00:00
|
|
|
|
2015-04-07 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/tls-gdesc-nlazy.g: Adjust for readelf note.
|
|
|
|
|
* ld-tic6x/shlib-1.rd: Expect corrected .rela.plt sh_info.
|
|
|
|
|
* ld-tic6x/shlib-1b.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1r.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1rb.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1b.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1r.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-app-1rb.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-noindex.rd: Likewise.
|
|
|
|
|
|
2015-04-07 15:29:41 +00:00
|
|
|
|
2015-04-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan-5.l: New test - checks the linker's output with
|
|
|
|
|
--warn-orphan enabled.
|
|
|
|
|
* ld-elf/elf.exp: Run the new test.
|
|
|
|
|
|
2015-04-06 19:19:13 +00:00
|
|
|
|
2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/compress.exp: Remove is_zlib_supported check.
|
|
|
|
|
Fail if --compress-debug-sections doesn't work.
|
|
|
|
|
* lib/ld-lib.exp (run_dump_test): Remove is_zlib_supported check.
|
|
|
|
|
|
2015-02-24 12:04:41 +00:00
|
|
|
|
2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Add erratum843419 test.
|
|
|
|
|
* ld-aarch64/erratum843419.d: New.
|
|
|
|
|
* ld-aarch64/erratum843419.s: New.
|
|
|
|
|
|
2015-04-01 11:24:05 +00:00
|
|
|
|
2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18176
|
|
|
|
|
* ld-x86-64/pr18176.d: New file.
|
|
|
|
|
* ld-x86-64/pr18176.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr18176.t: Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run pr18176.
|
|
|
|
|
|
2015-03-31 10:58:15 +00:00
|
|
|
|
2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-bootstrap/bootstrap.exp (extralibs): Add -lz.
|
|
|
|
|
|
2015-03-30 11:40:33 +00:00
|
|
|
|
2015-03-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18169
|
|
|
|
|
* ld-elf/linkinfo1a.d: Updated.
|
|
|
|
|
* ld-elf/linkinfo1b.d: Likewise.
|
|
|
|
|
|
2015-03-27 21:39:39 +00:00
|
|
|
|
2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/pr18160.d: Don't run for x86_64-*-nacl* target.
|
|
|
|
|
|
2015-03-26 16:20:38 +00:00
|
|
|
|
2015-03-26 Tejas Belagod <tejas.belagod@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/farcall-back-be.d: New.
|
|
|
|
|
|
2015-03-26 15:22:08 +00:00
|
|
|
|
2015-03-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/18160
|
|
|
|
|
* ld-x86-64/pr18160.d: New file.
|
|
|
|
|
* ld-x86-64/pr18160.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr18160.t: Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run pr18160.
|
|
|
|
|
---
|
2015-03-22 08:31:18 +00:00
|
|
|
|
2015-03-25 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/erratum835769.d: Adjust for initial branch over stub
|
|
|
|
|
section.
|
|
|
|
|
* ld-aarch64/farcall-b.d: Likewise.
|
|
|
|
|
* ld-aarch64/farcall-bl.d: Likewise.
|
|
|
|
|
* ld-aarch64/farcall-back.d: Likewise.
|
|
|
|
|
|
2015-03-22 07:48:07 +00:00
|
|
|
|
2015-03-25 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/erratum835769.d: Adjust for removal of padding before
|
|
|
|
|
835769 workaround stubs.
|
|
|
|
|
|
2015-03-24 13:48:04 +00:00
|
|
|
|
2015-03-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* ld-gc/all-debug-sections.d: New file.
|
|
|
|
|
* ld-gc/all-debug-sections.s: Likewise.
|
|
|
|
|
* ld-gc/gc.exp: Execute new testcase.
|
|
|
|
|
|
2015-03-11 07:15:37 +00:00
|
|
|
|
2015-03-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tls32.s: Add GOT pointer setup.
|
|
|
|
|
* ld-powerpc/tls32.d: Update.
|
|
|
|
|
* ld-powerpc/tls32.g: Update.
|
|
|
|
|
* ld-powerpc/tls32.t: Update.
|
|
|
|
|
* ld-powerpc/tlsexe.d: Update.
|
|
|
|
|
* ld-powerpc/tlsexe32.d: Update.
|
|
|
|
|
* ld-powerpc/tlsexe32.g: Update.
|
|
|
|
|
* ld-powerpc/tlsexe32.r: Update.
|
|
|
|
|
* ld-powerpc/tlsexetoc.d: Update.
|
|
|
|
|
* ld-powerpc/tlsso32.d: Update.
|
|
|
|
|
* ld-powerpc/tlsso32.g: Update.
|
|
|
|
|
* ld-powerpc/tlsso32.r: Update.
|
|
|
|
|
|
2015-03-05 14:34:39 +00:00
|
|
|
|
2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/pr15228
|
|
|
|
|
PR ld/pr17709
|
|
|
|
|
* ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
|
|
|
|
|
* ld-i386/pr17709-nacl.rd: New file.
|
|
|
|
|
* ld-i386/pr17709.rd: Likewise.
|
|
|
|
|
* ld-i386/pr17709a.s: Likewise.
|
|
|
|
|
* ld-i386/pr17709b.s: Likewise.
|
|
|
|
|
* ld-i386/protected3.d: Updated.
|
|
|
|
|
* ld-i386/protected3.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709-nacl.rd: New file.
|
|
|
|
|
* ld-x86-64/pr17709.rd: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709a.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17709b.s: Likewise.
|
|
|
|
|
* ld-x86-64/protected3.d: Updated.
|
|
|
|
|
* ld-x86-64/protected3.s: Likewise.
|
|
|
|
|
* ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
|
|
|
|
|
|
2015-03-04 09:08:49 +00:00
|
|
|
|
2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
PR gas/17843
|
|
|
|
|
* ld-aarch64/tlsle.s, ld-aarch64/tlsle.d: New test.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run it.
|
|
|
|
|
|
2015-02-24 23:06:36 +00:00
|
|
|
|
2015-02-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-sparc/gotop32.rd: Update for changed padding in data sections.
|
|
|
|
|
* ld-sparc/gotop32.td: Likewise.
|
|
|
|
|
* ld-sparc/gotop64.rd: Likewise.
|
|
|
|
|
* ld-sparc/gotop64.td: Likewise.
|
|
|
|
|
* ld-tilegx/external.s: Align .data.
|
|
|
|
|
* ld-tilepro/external.s: Likewise.
|
|
|
|
|
|
2015-02-19 09:52:24 +00:00
|
|
|
|
2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp (tls-tiny-desc, tls-tiny-desc-ie)
|
|
|
|
|
(tls-tiny-desc-le): Add.
|
|
|
|
|
* ld-aarch64/tls-tiny-desc.d: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-desc.s: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-desc-ie.d: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-desc-ie.s: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-desc-le.d: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-desc-le.s: New.
|
|
|
|
|
|
2015-02-19 09:10:11 +00:00
|
|
|
|
2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp (tls-tiny-gd, tls-tiny-gd-ie)
|
|
|
|
|
(tls-tiny-gd-le): Add.
|
|
|
|
|
* ld-aarch64/tls-tiny-gd.d: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-gd.s: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-gd-ie.d: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-gd-ie.s: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-gd-le.d: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-gd-le.s: New.
|
|
|
|
|
|
2015-02-18 18:10:59 +00:00
|
|
|
|
2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Add tls-tiny-ie.
|
|
|
|
|
* ld-aarch64/tls-tiny-ie.d: New.
|
|
|
|
|
* ld-aarch64/tls-tiny-ie.s: New.
|
|
|
|
|
|
2015-02-26 06:11:41 +00:00
|
|
|
|
2015-02-26 Terry Guo <terry.guo@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-3.attr: Remove Tag_ABI_HardFP_use.
|
|
|
|
|
* ld-arm/attr-merge-vfp-10.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-10r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-12.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-12r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-13.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-13r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-14.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-14r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-6.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-6r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-7.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-7r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-8.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-8r.d: Likewise.
|
|
|
|
|
|
2015-01-08 22:07:48 +00:00
|
|
|
|
2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* ld-avr/avr-prop-1.d: New file.
|
|
|
|
|
* ld-avr/avr-prop-1.s: New file.
|
|
|
|
|
* ld-avr/avr-prop-2.d: New file.
|
|
|
|
|
* ld-avr/avr-prop-2.s: New file.
|
|
|
|
|
* ld-avr/avr-prop-3.d: New file.
|
|
|
|
|
* ld-avr/avr-prop-3.s: New file.
|
|
|
|
|
* ld-avr/avr-prop-4.d: New file.
|
|
|
|
|
* ld-avr/avr-prop-4.s: New file.
|
|
|
|
|
|
2015-02-25 20:22:54 +00:00
|
|
|
|
2015-02-25 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* ld-sh/arch/arch_expected.txt: Regenerate.
|
|
|
|
|
* ld-sh/arch/sh-dsp.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2a-nofpu.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2a-or-sh3e.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2a-or-sh4.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2a.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh2e.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh3-dsp.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh3-nommu.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh3.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh3e.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh4-nofpu.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh4-nommu-nofpu.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh4.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh4a-nofpu.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh4a.s: Likewise.
|
|
|
|
|
* ld-sh/arch/sh4al-dsp.s: Likewise.
|
|
|
|
|
|
2015-02-24 17:54:09 +00:00
|
|
|
|
2015-02-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/extract-symbol-1sec.d: Expect to fail on the V850.
|
|
|
|
|
|
2015-02-24 12:34:20 +00:00
|
|
|
|
2015-02-24 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/merge3.s, * ld-elf/merge3.d: New test.
|
|
|
|
|
|
2015-02-24 11:26:28 +00:00
|
|
|
|
2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* ld-avr/region_overflow.d: New test.
|
|
|
|
|
* ld-avr/region_overflow.s: Likewise.
|
|
|
|
|
|
2015-02-19 12:45:27 +00:00
|
|
|
|
2015-02-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/4317
|
|
|
|
|
* ld-i386/compressed1.d: Use nm/readelf with "failif".
|
|
|
|
|
* ld-x86-64/compressed1.d: Likewise.
|
|
|
|
|
* ld-x86-64/pie1.d: Likewise.
|
|
|
|
|
|
Strip undefined symbols from .symtab
bfd/
PR ld/4317
* elflink.c (elf_link_input_bfd): Drop undefined local syms.
(elf_link_output_extsym): Drop local and global undefined syms.
Tidy. Expand comment.
ld/testsuite/
PR ld/4317
* ld-aarch64/gc-tls-relocs.d, * ld-cris/locref2.d,
* ld-elf/ehdr_start-weak.d, * ld-elf/group1.d,
* ld-i386/compressed1.d, * ld-ia64/error1.d, * ld-ia64/error2.d,
* ld-ia64/error3.d, * ld-mips-elf/pic-and-nonpic-1.nd,
* ld-mmix/undef-3.d, * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
* ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
* ld-x86-64/compressed1.d, * ld-x86-64/pie1.d: Update.
2015-02-18 06:32:39 +00:00
|
|
|
|
2015-02-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ld/4317
|
|
|
|
|
* ld-aarch64/gc-tls-relocs.d, * ld-cris/locref2.d,
|
|
|
|
|
* ld-elf/ehdr_start-weak.d, * ld-elf/group1.d,
|
|
|
|
|
* ld-i386/compressed1.d, * ld-ia64/error1.d, * ld-ia64/error2.d,
|
|
|
|
|
* ld-ia64/error3.d, * ld-mips-elf/pic-and-nonpic-1.nd,
|
|
|
|
|
* ld-mmix/undef-3.d, * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
|
|
|
|
|
* ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
|
|
|
|
|
* ld-x86-64/compressed1.d, * ld-x86-64/pie1.d: Update.
|
|
|
|
|
|
Properly place the NULL STT_FILE symbol revistited
I was having a little closer look at what is going on here and noticed
that HJ unconditionally emits a NULL STT_FILE symbol before emitting
forced local symbols. That means we really don't need a second pass
over forced local symbols. The only reason for two passes is when
some forced local symbol can be emitted before the NULL STT_FILE. So
I set about removing the second pass, updating the testsuite all over
again. It's also unnecessary to emit the NULL STT_FILE when no
previous file symbol has been emitted.
bfd/
PR ld/17975
* elflink.c (struct elf_outext_info): Remove need_second_pass
and second_pass.
(elf_link_output_extsym): Delete code handling second forced
local pass. Move code emitting NULL STT_FILE symbol later, so
that it can be omitted if forced local is stripped. Don't
emit the NULL STT_FILE if no file symbols have been output.
(bfd_elf_final_link): Remove second forced local pass.
* elf32-ppc.c (add_stub_sym): Set linker_def on linker syms.
(ppc_elf_size_dynamic_sections): Likewise.
* elf64-ppc.c (ppc_build_one_stub): Likewise.
(build_global_entry_stubs): Likewise.
(ppc64_elf_build_stubs): Likewise.
ld/testsuite/
PR ld/17975
* ld-aarch64/gc-tls-relocs.d, * ld-alpha/tlspic.rd,
* ld-cris/libdso-2.d, * ld-i386/tlsdesc-nacl.rd, * ld-i386/tlsdesc.rd,
* ld-i386/tlsnopic-nacl.rd, * ld-i386/tlsnopic.rd,
* ld-i386/tlspic-nacl.rd, * ld-i386/tlspic.rd, * ld-ia64/tlspic.rd,
* ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
* ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
* ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd,
* ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
* ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
* ld-tic6x/shlib-1.rd, * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
* ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-noindex.rd,
* ld-x86-64/tlsdesc-nacl.rd, * ld-x86-64/tlsdesc.rd,
* ld-x86-64/tlspic-nacl.rd, * ld-x86-64/tlspic.rd: Update.
2015-02-16 22:44:59 +00:00
|
|
|
|
2015-02-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17975
|
|
|
|
|
* ld-aarch64/gc-tls-relocs.d, * ld-alpha/tlspic.rd,
|
|
|
|
|
* ld-cris/libdso-2.d, * ld-i386/tlsdesc-nacl.rd, * ld-i386/tlsdesc.rd,
|
|
|
|
|
* ld-i386/tlsnopic-nacl.rd, * ld-i386/tlsnopic.rd,
|
|
|
|
|
* ld-i386/tlspic-nacl.rd, * ld-i386/tlspic.rd, * ld-ia64/tlspic.rd,
|
|
|
|
|
* ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
|
|
|
|
|
* ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
|
|
|
|
|
* ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd,
|
|
|
|
|
* ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
|
|
|
|
|
* ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
|
|
|
|
|
* ld-tic6x/shlib-1.rd, * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
|
|
|
|
|
* ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-noindex.rd,
|
|
|
|
|
* ld-x86-64/tlsdesc-nacl.rd, * ld-x86-64/tlsdesc.rd,
|
|
|
|
|
* ld-x86-64/tlspic-nacl.rd, * ld-x86-64/tlspic.rd: Update.
|
|
|
|
|
|
2015-02-16 15:31:46 +00:00
|
|
|
|
2015-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17975
|
2015-02-16 17:07:42 +00:00
|
|
|
|
* ld-i386/tlsbin-nacl.rd: Updated.
|
2015-02-16 15:31:46 +00:00
|
|
|
|
* ld-i386/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsbindesc-nacl.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsdesc-nacl.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsdesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsnopic-nacl.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsnopic.rd: Likewise.
|
|
|
|
|
* ld-i386/tlspic-nacl.rd: Likewise.
|
|
|
|
|
* ld-i386/tlspic.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbin-nacl.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc-nacl.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc-nacl.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic-nacl.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic.rd: Likewise.
|
2015-02-16 16:35:17 +00:00
|
|
|
|
* ld-alpha/tlspic.rd: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.r: Likewise.
|
|
|
|
|
* ld-s390/tlspic.rd: Likewise.
|
|
|
|
|
* ld-s390/tlspic_64.rd: Likewise.
|
|
|
|
|
* ld-sparc/gotop32.dd: Likewise.
|
|
|
|
|
* ld-sparc/gotop64.dd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunnopic32.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunnopic64.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunpic32.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunpic64.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1b.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1r.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-1rb.rd: Likewise.
|
|
|
|
|
* ld-tic6x/shlib-noindex.rd: Likewise.
|
2015-02-16 15:31:46 +00:00
|
|
|
|
|
2015-02-14 13:45:08 +00:00
|
|
|
|
2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17973
|
|
|
|
|
* ld-plugin/plugin.exp (regassilent): New.
|
|
|
|
|
Compile tmpdir/dummy.s and ld-plugin/pr17973.s.
|
|
|
|
|
(plugin_tests): Add a test for PR ld/17973.
|
|
|
|
|
* ld-plugin/pr17973.d: New file.
|
|
|
|
|
* ld-plugin/pr17973.s: Likewise.
|
|
|
|
|
|
2015-02-12 12:59:57 +00:00
|
|
|
|
2015-02-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/i386.exp: Replace elf_i386 with elf_i386_nacl for nacl.
|
|
|
|
|
|
2015-02-11 20:16:07 +00:00
|
|
|
|
2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-plugin/plugin-27.d: New.
|
|
|
|
|
* ld-plugin/plugin-28.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-29.d: Likewise.
|
|
|
|
|
* plugin.exp (plugin_tests): Add tests for LDPL_FATAL, LDPL_ERROR
|
|
|
|
|
and LDPL_WARNING.
|
|
|
|
|
|
2015-02-11 13:16:40 +00:00
|
|
|
|
2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17878
|
|
|
|
|
* ld-plugin/func.c: Add some comments.
|
|
|
|
|
* ld-plugin/plugin-13.d: New file.
|
|
|
|
|
* ld-plugin/plugin-14.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-15.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-16.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-17.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-18.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-19.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-20.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-21.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-22.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-23.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-24.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-25.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-26.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin.exp (plugin2_name): New.
|
|
|
|
|
(plugin3_name): Likewise.
|
|
|
|
|
(plugin2_path): Likewise.
|
|
|
|
|
(plugin3_path): Likewise.
|
|
|
|
|
(testsrcfiles): Likewise.
|
|
|
|
|
(testsrcfiles_notext): Likewise.
|
|
|
|
|
(plugin_tests): Add tests for non-object IR file.
|
|
|
|
|
(plugin_lib_tests): Likewise.
|
|
|
|
|
(plugin_extra_elf_tests): Likewise.
|
|
|
|
|
(plugin_src_tests): New tests for non-object IR file.
|
|
|
|
|
Run nm --plugin test.
|
|
|
|
|
Run ar --plugin test.
|
|
|
|
|
Run plugin_src_tests.
|
|
|
|
|
|
2015-02-07 13:28:06 +00:00
|
|
|
|
2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17935
|
|
|
|
|
* ld-i386/i386.exp: Run pr17935-1 and pr17935-2.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-i386/pr17935-1.d: New file.
|
|
|
|
|
* ld-i386/pr17935-1.s: Likewise.
|
|
|
|
|
* ld-i386/pr17935-2.d: Likewise.
|
|
|
|
|
* ld-i386/pr17935-2.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17935-1.d: Likewise.
|
|
|
|
|
* ld-x86-64/pr17935-1.s: Likewise.
|
|
|
|
|
* ld-x86-64/pr17935-2.d: Likewise.
|
|
|
|
|
* ld-x86-64/pr17935-2.s: Likewise.
|
|
|
|
|
|
2015-02-06 12:25:36 +00:00
|
|
|
|
2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/12365
|
|
|
|
|
PR ld/14272
|
|
|
|
|
* ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
|
|
|
|
|
* ld-plugin/plugin-7.d: Updated.
|
|
|
|
|
* ld-plugin/plugin-8.d: Likewise.
|
|
|
|
|
|
2015-02-04 12:34:11 +00:00
|
|
|
|
2015-02-04 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-plugin/lto.exp: Pass -flto-partition=none to the PR
|
|
|
|
|
ld/12365 test.
|
|
|
|
|
|
2015-02-03 17:03:23 +00:00
|
|
|
|
2015-02-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/12365
|
|
|
|
|
* ld-plugin/pr12365a.c: New file.
|
|
|
|
|
* ld-plugin/pr12365b.c: Likewise.
|
|
|
|
|
* ld-plugin/pr12365c.c: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-plugin/lto.exp (lto_link_tests): Prepare for the PR ld/12365
|
|
|
|
|
test.
|
|
|
|
|
Run the PR ld/12365 test.
|
|
|
|
|
|
2015-02-03 16:24:50 +00:00
|
|
|
|
2015-02-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/14918
|
|
|
|
|
* ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
|
|
|
|
|
|
|
|
|
|
* ld-plugin/pr14918.c: New file.
|
|
|
|
|
* ld-plugin/pr14918.d: Likewise.
|
|
|
|
|
|
2015-01-29 19:11:03 +00:00
|
|
|
|
2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
|
|
|
|
|
|
2015-01-29 00:39:55 +00:00
|
|
|
|
2015-01-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tlsld.d, * ld-powerpc/tlsld.s: New test.
|
|
|
|
|
* ld-powerpc/tlsld32.d, * ld-powerpc/tlsld32.s: New test.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run them. Move tocvar and tocnovar.
|
|
|
|
|
|
2015-01-28 18:27:31 +00:00
|
|
|
|
2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17878
|
|
|
|
|
* ld-plugin/plugin-1.d: Add LDPT_GET_VIEW.
|
|
|
|
|
* ld-plugin/plugin-10.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-11.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-2.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-3.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-4.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-5.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-6.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-7.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-8.d: Likewise.
|
|
|
|
|
* ld-plugin/plugin-9.d: Likewise.
|
|
|
|
|
|
2015-01-28 09:04:51 +00:00
|
|
|
|
2015-01-28 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/pr16322.s (p1): Rename to px1.
|
|
|
|
|
(f1): Rename to fx1.
|
|
|
|
|
|
2015-01-27 13:10:05 +00:00
|
|
|
|
2015-01-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tocvar.d, * ld-powerpc/tocvar.s: New test.
|
|
|
|
|
* ld-powerpc/tocnovar.d, * ld-powerpc/tocnovar.s: New test.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run tocvar and tocnovar.
|
|
|
|
|
|
2015-01-28 04:31:50 +00:00
|
|
|
|
2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/memory.t: Define new symbol tred.
|
|
|
|
|
* ld-scripts/memory_sym.t: New.
|
|
|
|
|
* ld-scripts/script.exp: Perform MEMORY with symbols test, and
|
|
|
|
|
conditionally check values of linker symbols.
|
|
|
|
|
|
2015-01-20 16:00:41 +00:00
|
|
|
|
2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/provide-4-map.d: Update expected output.
|
|
|
|
|
* ld-scripts/provide-5-map.d: Likewise.
|
|
|
|
|
|
ld: Don't evaluate unneeded PROVIDE expressions.
When creating a linker mapfile (using -Map=MAPFILE), we previously would
always try to evaluate the expression from a PROVIDE statement.
However, this is not always safe, consider:
PROVIDE (foo = 0x10);
PROVIDE (bar = foo);
In this example, if neither 'foo' or 'bar' is needed, then while
generating the linker mapfile evaluating the expression for 'foo' is
harmless (just the value 0x10). However, evaluating the expression for
'bar' requires the symbol 'foo', which is undefined. This used to cause
a fatal error.
This patch changes the behaviour, so that when the destination of the
PROVIDE is not defined (that is the PROVIDE is not going to provide
anything) the expression is not evaluated, and instead a special string
is displayed to indicate that the linker is discarding the PROVIDE
statement.
This change not only fixes the spurious undefined symbol error, but also
means that a user can now tell if a PROVIDE statement has provided
anything by inspecting the linker mapfile, something that could not be
done before.
ld/ChangeLog:
* ldlang.c (print_assignment): Only evaluate the expression for a
PROVIDE'd assignment when the destination is being defined.
Display a special message for PROVIDE'd symbols that are not being
provided.
ld/testsuite/ChangeLog:
* ld-scripts/provide-4.d: New file.
* ld-scripts/provide-4-map.d: New file.
* ld-scripts/provide-4.t: New file.
* ld-scripts/provide-5.d: New file.
* ld-scripts/provide-5.s: New file.
* ld-scripts/provide-5-map.d: New file.
* ld-scripts/provide-5.t: New file.
* ld-scripts/provide.exp: Run the provide-4.d and provide-5.d
tests.
2015-01-07 10:51:35 +00:00
|
|
|
|
2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/provide-4.d: New file.
|
|
|
|
|
* ld-scripts/provide-4-map.d: New file.
|
|
|
|
|
* ld-scripts/provide-4.t: New file.
|
|
|
|
|
* ld-scripts/provide-5.d: New file.
|
|
|
|
|
* ld-scripts/provide-5.s: New file.
|
|
|
|
|
* ld-scripts/provide-5-map.d: New file.
|
|
|
|
|
* ld-scripts/provide-5.t: New file.
|
|
|
|
|
* ld-scripts/provide.exp: Run the provide-4.d and provide-5.d
|
|
|
|
|
tests.
|
|
|
|
|
|
2015-01-06 23:40:48 +00:00
|
|
|
|
2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/overlay-size.d: Add 'map' option.
|
|
|
|
|
* ld-scripts/overlay-size.exp: Remove manual check of mapfile.
|
|
|
|
|
* lib/ld-lib.exp (run_dump_test): Add support for new 'map'
|
|
|
|
|
option, checking linker mapfile output.
|
|
|
|
|
|
Reorder more powerpc64 sections for -z relro
This moves .got too, which requires .sdata and .sbss to move with it,
because these sections share addressing via the toc pointer and with
small-model code must be within a 16-bit signed offset. .plt, .iplt
and .branch_lt must also be moved since they are addressed via a
32-bit offset from the toc pointer, and we might have a very large
.data section.
This change means we may have some bss style sections before the data
segment, necessitating another PT_LOAD header. Also, since _edata is
defined at the end of the data segment it's possible with an empty
.data to have _edata at the end of .plt which looks a little unusual
since .plt is a bss style section. That should only happen rarely in
real world binaries, but does occur in the ld testsuite.
ld/
* emulparams/elf64ppc.sh (BSS_PLT): Don't define.
(OTHER_READWRITE_SECTIONS): Move .branch_lt to..
(OTHER_RELRO_SECTIONS_2): ..here.
(DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
PLT_BEFORE_GOT): Define.
* scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
PLT_BEFORE_GOT combination.
(DATA_GOT, SDATA_GOT): Don't define if either is already defined.
ld/testsuite/
* ld-powerpc/ambiguousv1.d,
* ld-powerpc/ambiguousv1b.d,
* ld-powerpc/ambiguousv2.d,
* ld-powerpc/ambiguousv2b.d,
* ld-powerpc/elfv2exe.d,
* ld-powerpc/elfv2so.d,
* ld-powerpc/tlsexe.r,
* ld-powerpc/tlsexetoc.r,
* ld-powerpc/tlsso.r,
* ld-powerpc/tlstocso.r: Update.
2015-01-20 06:49:15 +00:00
|
|
|
|
2015-01-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/ambiguousv1.d,
|
|
|
|
|
* ld-powerpc/ambiguousv1b.d,
|
|
|
|
|
* ld-powerpc/ambiguousv2.d,
|
|
|
|
|
* ld-powerpc/ambiguousv2b.d,
|
|
|
|
|
* ld-powerpc/elfv2exe.d,
|
|
|
|
|
* ld-powerpc/elfv2so.d,
|
|
|
|
|
* ld-powerpc/tlsexe.r,
|
|
|
|
|
* ld-powerpc/tlsexetoc.r,
|
|
|
|
|
* ld-powerpc/tlsso.r,
|
|
|
|
|
* ld-powerpc/tlstocso.r: Update.
|
|
|
|
|
|
2015-01-20 00:41:38 +00:00
|
|
|
|
2015-01-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17615
|
|
|
|
|
* ld-elf/pr17615.d: Match .sbss too.
|
|
|
|
|
|
2015-01-19 17:23:29 +00:00
|
|
|
|
2015-01-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17615
|
|
|
|
|
* ld-elf/pr17615.d: New file.
|
|
|
|
|
* ld-elf/pr17615.s: Likewise.
|
|
|
|
|
|
Fix garbage collection of common symbols
Running lang_common before garbage collection means slightly less work
in garbage collection code, since common symbols should no longer
appear there. It does have the side effect of keeping linker script
symbols (at least those defined outside of sections) global too,
hence some testsuite churn.
bfd/
PR 17165
* elf-bfd.h (ELF_COMMON_DEF): Note that this might be true for
linker script assignments too.
* elflink.c (elf_gc_sweep_symbol): Don't drop ELF_COMMON_DEF syms.
(bfd_elf_gc_mark_dynamic_ref_symbol): Similarly.
ld/
PR 17165
* ldlang.c (lang_process): Run lang_common before lang_gc_sections.
ld/testsuite/
* ld-gc/pr14265.d,
* ld-cris/tls-gc-68.d,
* ld-cris/tls-gc-69.d,
* ld-cris/tls-gc-70.d,
* ld-cris/tls-gc-71.d,
* ld-cris/tls-gc-75.d,
* ld-cris/tls-gc-76.d,
* ld-cris/tls-gc-79.d,
* ld-mmix/bpo-10.d,
* ld-mmix/bpo-11.d: Update.
2015-01-17 11:03:43 +00:00
|
|
|
|
2015-01-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-gc/pr14265.d,
|
|
|
|
|
* ld-cris/tls-gc-68.d,
|
|
|
|
|
* ld-cris/tls-gc-69.d,
|
|
|
|
|
* ld-cris/tls-gc-70.d,
|
|
|
|
|
* ld-cris/tls-gc-71.d,
|
|
|
|
|
* ld-cris/tls-gc-75.d,
|
|
|
|
|
* ld-cris/tls-gc-76.d,
|
|
|
|
|
* ld-cris/tls-gc-79.d,
|
|
|
|
|
* ld-mmix/bpo-10.d,
|
|
|
|
|
* ld-mmix/bpo-11.d: Update.
|
|
|
|
|
|
2015-01-16 11:19:21 +00:00
|
|
|
|
2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-s390/tlsbin.dd: The nopr register operand is optional and not
|
|
|
|
|
printed if 0 anymore.
|
|
|
|
|
|
2015-01-15 19:06:33 +00:00
|
|
|
|
2015-01-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17847
|
|
|
|
|
* ld-x86-64/pie1.d: New file.
|
|
|
|
|
* ld-x86-64/pie1.s: Likwise.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run pie1.
|
|
|
|
|
|
2015-01-13 11:36:54 +00:00
|
|
|
|
2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Added relocs-257-symbolic-func test.
|
|
|
|
|
* ld-aarch64/relocs-257-symbolic-func.d: New file.
|
|
|
|
|
* ld-aarch64/relocs-257-symbolic-func.s: Likewise.
|
|
|
|
|
|
2015-01-13 11:21:43 +00:00
|
|
|
|
2015-01-13 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-aarch64/tprel_g2_overflow.s: New testcase.
|
|
|
|
|
* ld-aarch64/tprel_g2_overflow.d: New expectation file.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run new testcase.
|
|
|
|
|
|
2015-01-13 11:18:10 +00:00
|
|
|
|
2015-01-13 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17415
|
|
|
|
|
* ld-aarch64/pr17415.s: Source file for new test.
|
|
|
|
|
* ld-aarch64/pr17415.d: Expect file for new test.
|
|
|
|
|
* ld-aarch64/aarch64-elf.exp: Run the new test.
|
|
|
|
|
|
2015-01-11 16:04:27 +00:00
|
|
|
|
2015-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/17827
|
|
|
|
|
* ld-x86-64/pr17689.out: Updated.
|
|
|
|
|
* ld-x86-64/pr17689b.S: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/pr17827.rd: New file.
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run PR ld/17827 test.
|
|
|
|
|
|
2015-01-08 13:10:36 +00:00
|
|
|
|
2015-01-08 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/pr14207.d: Adjust expecations to cover the
|
|
|
|
|
enable_initfini_array=no case.
|
|
|
|
|
|
2015-01-06 15:58:57 +00:00
|
|
|
|
2015-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_dump_test): Extend comment to mention
|
|
|
|
|
readelf.
|
|
|
|
|
|
2015-01-01 14:15:26 +00:00
|
|
|
|
2015-01-01 Alan Modra <amodra@gmail.com>
|
2014-12-31 03:09:11 +00:00
|
|
|
|
|
2015-01-01 14:15:26 +00:00
|
|
|
|
Update year range in copyright notice of all files.
|
2014-12-31 03:09:11 +00:00
|
|
|
|
|
2015-01-01 14:15:26 +00:00
|
|
|
|
For older changes see ChangeLog-2014
|
2004-01-02 11:16:21 +00:00
|
|
|
|
|
2015-01-01 14:15:26 +00:00
|
|
|
|
Copyright (C) 2015 Free Software Foundation, Inc.
|
2012-12-10 12:48:03 +00:00
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2004-01-02 11:16:21 +00:00
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|