2006-12-30 01:56:32 +08:00
|
|
|
|
2006-12-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/wrap.exp: New file.
|
|
|
|
|
* ld-elf/wrap1.c: Likewise.
|
|
|
|
|
* ld-elf/wrap1.out: Likewise.
|
|
|
|
|
* ld-elf/wrap1a.c: Likewise.
|
|
|
|
|
* ld-elf/wrap1b.c: Likewise.
|
|
|
|
|
|
2006-12-19 06:38:53 +08:00
|
|
|
|
2006-12-18 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* ld-pe/direct.exp: New file.
|
|
|
|
|
* ld-pe/direct_client.c: Likewise.
|
|
|
|
|
* ld-pe/direct_dll.c: Likewise.
|
|
|
|
|
|
2006-12-14 00:38:37 +08:00
|
|
|
|
2006-12-13 Dave Brolley <brolley@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (big_or_little_endian): Accept -meb and
|
|
|
|
|
-mel for big and little endian respectively.
|
|
|
|
|
|
2006-12-12 16:10:40 +08:00
|
|
|
|
2006-12-12 Ina Pandit <inap@kpitcummins.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/overlay-size-map.d: Update.
|
|
|
|
|
|
2006-12-07 21:32:02 +08:00
|
|
|
|
2006-12-07 H.J. Lu <hjl@gnu.org>
|
|
|
|
|
|
|
|
|
|
PR ld/3666
|
|
|
|
|
* ld-elf/group3a.d: New file.
|
|
|
|
|
* ld-elf/group3a.s: Likewise.
|
|
|
|
|
* ld-elf/group3b.d: Likewise.
|
|
|
|
|
* ld-elf/group3b.s: Likewise.
|
|
|
|
|
|
2006-12-05 10:40:57 +08:00
|
|
|
|
2006-12-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-alpha/tlspic.rd: Update for unused section removal.
|
|
|
|
|
* ld-frv/fdpic-shared-6.d: Likewise.
|
|
|
|
|
* ld-frv/tls-dynamic-1.d: Update for symbol changes.
|
|
|
|
|
* ld-frv/tls-dynamic-2.d: Likewise.
|
|
|
|
|
* ld-frv/tls-dynamic-3.d: Likewise.
|
|
|
|
|
* ld-frv/tls-initial-shared-2.d: Likewise.
|
|
|
|
|
* ld-frv/tls-pie-1.d: Likewise.
|
|
|
|
|
* ld-frv/tls-pie-3.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-dynamic-1.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-dynamic-2.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-dynamic-3.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-initial-shared-2.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-pie-1.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-pie-3.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-shared-1.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-shared-2.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-shared-3.d: Likewise.
|
|
|
|
|
* ld-frv/tls-relax-static-3.d: Likewise.
|
|
|
|
|
* ld-frv/tls-shared-1.d: Likewise.
|
|
|
|
|
* ld-frv/tls-shared-2.d: Likewise.
|
|
|
|
|
* ld-frv/tls-shared-3.d: Likewise.
|
|
|
|
|
* ld-frv/tls-static-1.d: Likewise.
|
|
|
|
|
* ld-frv/tls-static-3.d: Likewise.
|
|
|
|
|
|
2006-12-05 09:29:58 +08:00
|
|
|
|
2006-12-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elfvsb/sh1.c (overriddenvar, shlib_overriddencall2,
|
|
|
|
|
shared_data): If !SHARED, move to...
|
|
|
|
|
* ld-elfvsb/sh2.c: ... here.
|
|
|
|
|
* ld-elfvsb/elfvsb.exp: Add -DSHARED to compiler options when
|
|
|
|
|
building with $picflag.
|
|
|
|
|
|
2006-12-04 16:57:09 +08:00
|
|
|
|
2006-12-04 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/eh-frame-hdr.d: New.
|
|
|
|
|
* ld-elf/eh-frame-hdr.s: New.
|
|
|
|
|
* ld-ia64/tlsbin.dd, ld-ia64/tlsbin.sd: Don't depend on exact linkage
|
|
|
|
|
table layout.
|
|
|
|
|
|
2006-11-24 00:50:39 +08:00
|
|
|
|
2006-11-23 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/warn2.d: Match regex also for the second segment.
|
|
|
|
|
|
2006-11-23 01:45:57 +08:00
|
|
|
|
2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/mixed-app.d, ld-arm/tls-app.d, ld-arm/tls-lib.d: Update
|
|
|
|
|
for $d support.
|
|
|
|
|
|
2006-11-21 19:25:17 +08:00
|
|
|
|
2006-11-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/eh5.d: New test.
|
|
|
|
|
* ld-elf/eh5.s: New file.
|
|
|
|
|
* ld-elf/eh5a.s: New file.
|
|
|
|
|
* ld-elf/eh5b.s: New file.
|
|
|
|
|
|
2006-11-14 05:18:36 +08:00
|
|
|
|
2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack.
|
|
|
|
|
* ld-arm/armthumb-lib.d, ld-arm/mixed-app.d, ld-arm/mixed-lib.d:
|
|
|
|
|
Allow smaller section gap.
|
|
|
|
|
* ld-arm/armthumb-lib.sym, ld-arm/mixed-lib.sym: Reorder. Remove
|
|
|
|
|
_stack.
|
|
|
|
|
* ld-arm/mixed-app.sym: Remove _stack.
|
|
|
|
|
* ld-arm/tls-app.d: Update start address.
|
|
|
|
|
|
2006-11-08 19:29:16 +08:00
|
|
|
|
2006-11-08 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/group.ld: Handle .rodata.brlt for powerpc64.
|
|
|
|
|
|
2006-12-05 10:40:57 +08:00
|
|
|
|
2006-11-07 Vladimir Prus <vladimir@codesourcery.com>
|
2006-11-08 18:21:12 +08:00
|
|
|
|
|
2006-11-08 19:29:16 +08:00
|
|
|
|
* testsuite/ld-elf/symbol2w.s: Use "%" instead of "@" to avoid
|
|
|
|
|
breakage on ARM.
|
2006-11-08 18:21:12 +08:00
|
|
|
|
|
2006-12-05 10:40:57 +08:00
|
|
|
|
2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
|
2006-11-06 20:15:35 +08:00
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/symbol1ref.s: Use ".dc.a" instead
|
|
|
|
|
of ".long".
|
|
|
|
|
|
2006-12-05 10:40:57 +08:00
|
|
|
|
2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
|
2006-11-06 18:39:17 +08:00
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/warn2.d: New.
|
|
|
|
|
* testsuite/ld-elf/symbol2w.s: New.
|
2006-12-05 10:40:57 +08:00
|
|
|
|
* testsuite/ld-elf/symbol2ref.s: New.
|
2006-11-06 18:39:17 +08:00
|
|
|
|
|
2006-11-06 03:15:32 +08:00
|
|
|
|
2006-11-05 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/ldsym1.d: Adjust for semi-recent ld changes.
|
|
|
|
|
|
2006-11-03 08:58:10 +08:00
|
|
|
|
2006-11-02 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-discard/zero-rel.d, ld-discard/zero-rel.s: New files.
|
|
|
|
|
|
2006-11-02 23:20:31 +08:00
|
|
|
|
2006-11-01 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/mips16-intermix-1.s, ld-mips-elf/mips16-intermix-2.s,
|
|
|
|
|
ld-mips-elf/mips16-intermix.d: New testcase.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp (mips16_intermix_test): Run new testcases.
|
|
|
|
|
|
* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
* ld-sh/sh64/crange3.rd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update for removal
of empty sections.
2006-10-30 08:48:03 +08:00
|
|
|
|
2006-10-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
|
|
|
|
|
|
|
|
|
* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
|
|
|
|
|
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
|
|
|
|
|
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
|
|
|
|
|
* ld-sh/sh64/crange3.rd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
|
|
|
|
|
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update for removal
|
|
|
|
|
of empty sections.
|
|
|
|
|
|
2006-10-25 14:49:21 +08:00
|
|
|
|
2006-10-25 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/ovl.d: New file.
|
|
|
|
|
* ld-spu/ovl.lnk: New file.
|
|
|
|
|
* ld-spu/ovl.s: New file.
|
|
|
|
|
* ld-spu/spu.exp: New file.
|
|
|
|
|
* ld-elf/sec64k.exp: Tweak ld options for SPU.
|
|
|
|
|
* ld-scripts/empty-orphan.exp: Likewise.
|
|
|
|
|
* ld-scripts/phdrs.exp: Likewise.
|
|
|
|
|
* ld-scripts/phdrs2.exp: Likewise.
|
|
|
|
|
|
2006-10-25 08:44:26 +08:00
|
|
|
|
2006-10-24 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/plt1.s: New.
|
|
|
|
|
* ld-powerpc/plt1.d: New.
|
|
|
|
|
* ld-powerpc/relbrlt.s: New.
|
|
|
|
|
* ld-powerpc/relbrlt.d: New.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run them.
|
|
|
|
|
|
* gas/sh/sh64/syntax-1.d: Update.
* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
* ld-sh/sh64/crange3.rd, ld-sh/sh64/crangerel1.rd,
* ld-sh/sh64/crangerel2.rd, ld-sh/sh64/mix1.xd,
* ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd,
* ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd,
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update.
2006-10-22 09:19:06 +08:00
|
|
|
|
2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
|
|
|
|
|
|
|
|
|
* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
|
|
|
|
|
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
|
|
|
|
|
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
|
|
|
|
|
* ld-sh/sh64/crange3.rd, ld-sh/sh64/crangerel1.rd,
|
|
|
|
|
* ld-sh/sh64/crangerel2.rd, ld-sh/sh64/mix1.xd,
|
|
|
|
|
* ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd,
|
|
|
|
|
* ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd,
|
|
|
|
|
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update.
|
|
|
|
|
|
2006-10-20 23:16:44 +08:00
|
|
|
|
2006-10-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
|
|
|
|
|
|
|
|
|
* ld-sh/tlsbin-1.d: Update.
|
|
|
|
|
* ld-sh/tlspic-1.d: Likewise.
|
|
|
|
|
* ld-sh/tlstpoff-1.d: Likewise.
|
|
|
|
|
|
2006-10-20 15:58:17 +08:00
|
|
|
|
2006-10-20 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/multi-got-1.d: Remove trailing R_MIPS_NONE entries.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.r: Likewise.
|
|
|
|
|
|
2006-10-20 15:57:03 +08:00
|
|
|
|
2006-10-20 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/multi-got-1.d: Do not expect a particular address
|
|
|
|
|
for DT_HASH.
|
|
|
|
|
* ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for
|
|
|
|
|
the extra program header.
|
|
|
|
|
* ld-mips-elf/rel32-n32.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlslib-o32.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.r: Likewise.
|
|
|
|
|
* ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the
|
|
|
|
|
extra program header.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account
|
|
|
|
|
for the extra program header, and thus the shorter gap between the
|
|
|
|
|
text and data segments.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20
|
|
|
|
|
to account for the extra program header.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
|
|
|
|
|
|
2006-10-20 15:55:37 +08:00
|
|
|
|
2006-10-20 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/rel32-o32.d: Bump the section number of .text by 1
|
|
|
|
|
to account for the fact that .rel.dyn is now before .text in the
|
|
|
|
|
section table.
|
|
|
|
|
* ld-mips-elf/rel32-n32.d: Likewise.
|
|
|
|
|
* ld-mips-elf/rel64.d: Likewise.
|
|
|
|
|
|
2006-10-19 21:47:10 +08:00
|
|
|
|
2006-10-19 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/tlslib-o32-hidden.got: Sort relocations against the
|
|
|
|
|
same symbol in order of increasing r_offset.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-hidden3.r: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-hidden4.r: Likewise.
|
|
|
|
|
|
2006-10-19 21:42:17 +08:00
|
|
|
|
2006-10-19 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/multi-got-1.d: Remove DT_DEBUG tag. Do not require
|
|
|
|
|
a specific file offset for .dynamic. Reduce DT_HASH by 8 to account
|
|
|
|
|
for removed tag.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.r: Likewise. Also reduce DT_REL by 8.
|
|
|
|
|
Reduce PLTGOT and symbol values by 16 to account for the removed tag.
|
|
|
|
|
* ld-mips-elf/textrel-1.d: Remove DT_DEBUG tag.
|
|
|
|
|
* ld-mips-elf/rel32-n32.d: Reduce addresses by 16 to account for
|
|
|
|
|
removed DT_DEBUG tag.
|
|
|
|
|
* ld-mips-elf/rel64.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
|
|
|
|
|
|
2006-10-19 10:40:14 +08:00
|
|
|
|
2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3290
|
|
|
|
|
* ld-elf/dummy.c: New file.
|
|
|
|
|
* ld-elf/dwarf.exp: Likewise.
|
|
|
|
|
* ld-elf/dwarf1.c: Likewise.
|
|
|
|
|
* ld-elf/dwarf1.h: Likewise.
|
|
|
|
|
* ld-elf/dwarf1.out: Likewise.
|
|
|
|
|
* ld-elf/dwarf1main.c: Likewise.
|
|
|
|
|
|
2006-10-19 00:23:24 +08:00
|
|
|
|
2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/dl4.c: New file.
|
|
|
|
|
* ld-elf/dl4.list: Likewise.
|
|
|
|
|
* ld-elf/dl4a.out: Likewise.
|
|
|
|
|
* ld-elf/dl4b.out: Likewise.
|
|
|
|
|
* ld-elf/dl4main.c: Likewise.
|
|
|
|
|
* ld-elf/dl4xxx.c: Likewise.
|
|
|
|
|
* ld-elf/dl4xxx.list: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-elf/shared.exp (build_tests): Add libdl4a.so and
|
|
|
|
|
libdl4b.so.
|
|
|
|
|
(run_tests): Likewise.
|
|
|
|
|
|
2006-10-18 21:02:01 +08:00
|
|
|
|
2006-10-18 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.
|
|
|
|
|
|
2006-10-18 20:34:19 +08:00
|
|
|
|
2006-10-18 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
2006-10-18 20:38:26 +08:00
|
|
|
|
* ld-mips-elf/rel32-n32.d: Bump addresses by 0x20 to account for
|
2006-10-18 20:34:19 +08:00
|
|
|
|
the fact that .reginfo is now placed before .text. Change the
|
|
|
|
|
section number of .text accordingly.
|
|
|
|
|
|
2006-10-18 15:13:47 +08:00
|
|
|
|
2006-10-18 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/elf-rel-got-n32.d: Adjust page gap from 0x100000
|
|
|
|
|
to 0x10000. Move .reginfo before .text and bump .text addresses
|
|
|
|
|
by 0x10 to make room. Move data segment down by 0x10 bytes to
|
|
|
|
|
account for new size of text segment.
|
|
|
|
|
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
|
|
|
|
|
* ld-mips-elf/elf-rel-got-n64-linux.d: Adjust page gap from
|
|
|
|
|
0x100000 to 0x10000.
|
|
|
|
|
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
|
|
|
|
|
|
2006-10-17 23:46:21 +08:00
|
|
|
|
2006-10-17 Mark Shinwell <shinwell@codesourcery.com>
|
|
|
|
|
|
2006-10-25 08:44:26 +08:00
|
|
|
|
* ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
|
2006-10-17 23:46:21 +08:00
|
|
|
|
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
|
2006-10-25 08:44:26 +08:00
|
|
|
|
* ld-arm/thumb1-bl.d: New.
|
|
|
|
|
* ld-arm/thumb1-bl.s: New.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad.d: New.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad.s: New.
|
|
|
|
|
* ld-arm/thumb2-bl-bad.d: New.
|
|
|
|
|
* ld-arm/thumb2-bl-bad.s: New.
|
|
|
|
|
* ld-arm/thumb2-bl.d: New.
|
|
|
|
|
* ld-arm/thumb2-bl.s: New.
|
2006-10-17 23:46:21 +08:00
|
|
|
|
|
2006-10-17 21:41:49 +08:00
|
|
|
|
2006-10-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-arm/mixed-app.sym, ld-cris/ldsym1.d, ld-cris/libdso-12.d,
|
|
|
|
|
* ld-cris/v32-ba-1.d, ld-elf/orphan.d, ld-elf/orphan2.d,
|
|
|
|
|
* ld-i386/tlsbin.rd, ld-i386/tlsbindesc.rd, ld-i386/tlsdesc.rd,
|
|
|
|
|
* ld-i386/tlsdesc.sd, ld-i386/tlsgdesc.rd, ld-i386/tlsnopic.rd,
|
|
|
|
|
* ld-i386/tlspic.rd, ld-ia64/tlspic.rd, ld-mips-elf/eh-frame1-n32.d,
|
|
|
|
|
* ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
|
|
|
|
|
* ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/mips-elf.exp,
|
|
|
|
|
* ld-mips-elf/rel32-n32.d, ld-mips-elf/rel32-o32.d,
|
|
|
|
|
* ld-mips-elf/rel64.d, ld-mips-elf/tls-multi-got-1.got,
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.r, ld-mips-elf/tlsdyn-o32-1.d,
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.d,
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.d,
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32.d,
|
|
|
|
|
* ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlslib-o32-hidden.got,
|
|
|
|
|
* ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got,
|
|
|
|
|
* ld-mmix/bpo-10.d, ld-powerpc/tlsso.g, ld-powerpc/tlsso.r,
|
|
|
|
|
* ld-powerpc/tlsso32.d, ld-powerpc/tlsso32.g, ld-powerpc/tlsso32.r,
|
|
|
|
|
* ld-powerpc/tlstocso.g, ld-powerpc/tlstocso.r, ld-s390/tlspic.rd,
|
|
|
|
|
* ld-s390/tlspic_64.rd, ld-scripts/empty-address-1.d,
|
|
|
|
|
* ld-scripts/empty-address-3c.d, ld-scripts/empty-orphan.t,
|
|
|
|
|
* ld-sh/shared-1.d, ld-sh/tlspic-2.d, ld-sparc/tlssunbin32.rd,
|
|
|
|
|
* ld-sparc/tlssunbin64.rd, ld-sparc/tlssunpic32.rd,
|
|
|
|
|
* ld-sparc/tlssunpic64.rd, ld-x86-64/tlsdesc.pd, ld-x86-64/tlsdesc.rd,
|
|
|
|
|
* ld-x86-64/tlspic.rd: Update for section sym changes.
|
|
|
|
|
|
2006-10-17 05:34:25 +08:00
|
|
|
|
2006-10-16 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/branch-misc-1.d: Set the start address to 0x20000000.
|
|
|
|
|
* ld-mips-elf/jalbal.d: Likewise 0x200000a0.
|
|
|
|
|
* ld-mips-elf/jaloverflow-2.d: Likewise 0x20000000.
|
|
|
|
|
* ld-mips-elf/reloc-3-n32.d: Likewise.
|
|
|
|
|
* ld-mips-elf/reloc-3.d: Likewise.
|
|
|
|
|
* ld-mips-elf/textrel-1.d: Don't require a specific file offset for
|
|
|
|
|
.dynamic.
|
|
|
|
|
|
2006-10-03 21:15:39 +08:00
|
|
|
|
2006-10-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/eh4.d: New test.
|
|
|
|
|
* ld-elf/eh4.s: New file.
|
|
|
|
|
* ld-elf/eh4a.s: New file.
|
|
|
|
|
|
2006-10-03 01:10:56 +08:00
|
|
|
|
2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/use-thumb-lib.sym: Robustify, by ignoring symbols we're
|
|
|
|
|
not interested in and bucket number.
|
|
|
|
|
|
2006-10-03 00:53:04 +08:00
|
|
|
|
2006-10-02 Kai Tietz <Kai.Tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target.
|
|
|
|
|
* ld-pe/pe.exp: Likewise.
|
|
|
|
|
* lib/ld-lib.exp ( is_pecoff_format): Accept x86_64-pc-mingw64.
|
|
|
|
|
|
2006-09-29 20:37:28 +08:00
|
|
|
|
2006-09-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
|
|
|
|
|
|
|
|
|
* ld-sh/tlspic-2.d: Update.
|
|
|
|
|
|
2006-09-27 12:18:16 +08:00
|
|
|
|
2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3223
|
|
|
|
|
PR ld/3267
|
|
|
|
|
* ld-scripts/empty-address-1.d: New file.
|
|
|
|
|
* ld-scripts/empty-address-1.s: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-1.t: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-2.s: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-2a.d: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-2a.t: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-2b.d: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-2b.t: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-3.s: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-3a.d: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-3a.t: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-3b.d: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-3b.t: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-3c.d: Likewise.
|
|
|
|
|
* ld-scripts/empty-address-3c.t: Likewise.
|
|
|
|
|
* ld-scripts/empty-address.exp: Likewise.
|
|
|
|
|
|
2006-09-21 17:41:34 +08:00
|
|
|
|
2006-09-21 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit
|
|
|
|
|
hosts.
|
|
|
|
|
|
2006-09-20 19:35:11 +08:00
|
|
|
|
2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* bootstrap/bootstrap.exp: Fix x86_64-mingw32 target test.
|
|
|
|
|
* ld-fastcall/fastcall.exp: Likewise.
|
|
|
|
|
* ld-scripts/align.exp: Likewise.
|
|
|
|
|
* ld-scripts/align2a.d: Likewise.
|
|
|
|
|
* ld-scripts/defined.exp: Likewise.
|
|
|
|
|
* ld-scripts/provide.exp: Likewise.
|
|
|
|
|
* ld-scripts/script.exp: Likewise.
|
|
|
|
|
* ld-scripts/weak.exp: Likewise.
|
|
|
|
|
* lib/ld-lib.exp: Detect target as pecoff file format.
|
|
|
|
|
|
2006-09-19 02:21:42 +08:00
|
|
|
|
2006-09-18 Thiemo Seufer <ths@networkno.de>
|
2006-10-25 08:44:26 +08:00
|
|
|
|
Maciej W. Rozycki <macro@mips.com>
|
2006-09-19 02:21:42 +08:00
|
|
|
|
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.
|
|
|
|
|
* ld-mips-elf/reloc-3-n32.d, ld-mips-elf/reloc-3.d: New files.
|
|
|
|
|
|
2006-09-18 22:41:10 +08:00
|
|
|
|
2006-09-18 Thiemo Seufer <ths@networkno.de>
|
|
|
|
|
|
|
|
|
|
* ld-elfcomm/elfcomm.exp: Enable the alignment test for
|
|
|
|
|
mips*-*-*.
|
|
|
|
|
|
2006-09-17 07:51:50 +08:00
|
|
|
|
2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
|
|
|
|
|
|
|
|
|
|
* ld-elf/merge.d: Add special case for Score target.
|
|
|
|
|
* ld-elfcomm/elfcomm.exp: Likewise.
|
|
|
|
|
* ld-srec/srec.exp: Likewise.
|
|
|
|
|
|
2006-09-16 00:19:33 +08:00
|
|
|
|
2006-09-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/overlay-size.t: Discard .reginfo sections.
|
|
|
|
|
|
2006-09-15 22:55:42 +08:00
|
|
|
|
2006-09-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/hash.d: Don't run for mips targets.
|
|
|
|
|
|
2006-09-15 22:48:46 +08:00
|
|
|
|
2006-09-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/loadaddr.s: Pad sections to 16 bytes.
|
|
|
|
|
* ld-elf/loadaddr1.d: Updated.
|
|
|
|
|
* ld-elf/loadaddr2.d: Likewise.
|
|
|
|
|
* ld-elf/loadaddr3a.d: Likewise.
|
|
|
|
|
* ld-elf/loadaddr3b.d: Likewise.
|
|
|
|
|
|
2006-09-13 06:10:31 +08:00
|
|
|
|
2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3197
|
|
|
|
|
* ld-elf/hash.d: New test.
|
|
|
|
|
|
2006-09-08 18:32:28 +08:00
|
|
|
|
2006-09-04 Vladimir Prus <vladimir@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/use-thumb-lib.sym: Use regexps instead of
|
|
|
|
|
absolute addresses, for robustness.
|
|
|
|
|
|
2006-09-08 01:16:34 +08:00
|
|
|
|
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/dl1.c: New file.
|
|
|
|
|
* ld-elf/dl1.list: Likewise.
|
|
|
|
|
* ld-elf/dl1.out: Likewise.
|
|
|
|
|
* ld-elf/dl1main.c: Likewise.
|
|
|
|
|
* ld-elf/dl2.c: Likewise.
|
|
|
|
|
* ld-elf/dl2.list: Likewise.
|
|
|
|
|
* ld-elf/dl2a.out: Likewise.
|
|
|
|
|
* ld-elf/dl2b.out: Likewise.
|
|
|
|
|
* ld-elf/dl2main.c: Likewise.
|
|
|
|
|
* ld-elf/dl2xxx.c: Likewise.
|
|
|
|
|
* ld-elf/dl2xxx.list: Likewise.
|
|
|
|
|
* ld-elf/dl3.cc: Likewise.
|
|
|
|
|
* ld-elf/dl3.list: Likewise.
|
|
|
|
|
* ld-elf/dl3a.out: Likewise.
|
|
|
|
|
* ld-elf/dl3b.out: Likewise.
|
|
|
|
|
* ld-elf/dl3header.h: Likewise.
|
|
|
|
|
* ld-elf/dl3main.cc: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-elf/shared.exp: Updated.
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_ld_link_exec_tests): Take an optional
|
|
|
|
|
argument for source language. Use CC/CXX for link, depending
|
|
|
|
|
on source language.
|
|
|
|
|
(run_cc_link_tests): Likewise.
|
|
|
|
|
|
2006-08-29 13:16:18 +08:00
|
|
|
|
2006-08-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/loadaddr3a.d: Adjust target test.
|
|
|
|
|
* ld-elf/loadaddr3b.d: Likewise.
|
|
|
|
|
|
2006-08-29 09:24:17 +08:00
|
|
|
|
2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/loadaddr3.t: New.
|
|
|
|
|
* ld-elf/loadaddr3a.d: New.
|
|
|
|
|
* ld-elf/loadaddr3b.d: New.
|
|
|
|
|
|
|
|
|
|
2006-08-23 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/plt1.s: New.
|
|
|
|
|
* ld-powerpc/plt1.d: New.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run it.
|
|
|
|
|
|
2006-08-23 22:45:30 +08:00
|
|
|
|
2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3052
|
|
|
|
|
* ld-elf/loadaddr1.t: Add "AT (ADDR(.data))".
|
|
|
|
|
* ld-elf/loadaddr2.t: Likewise.
|
|
|
|
|
|
2006-08-23 22:43:56 +08:00
|
|
|
|
2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3103
|
|
|
|
|
* ld-elf/overlay.d: New file.
|
|
|
|
|
* ld-elf/overlay.s: Likewise.
|
|
|
|
|
* ld-elf/overlay.t: Likewise.
|
|
|
|
|
|
2006-08-18 23:00:18 +08:00
|
|
|
|
2006-08-18 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so. Add
|
|
|
|
|
-use-blx to mixed-lib.so
|
|
|
|
|
* ld-arm/armthumb-lib.d: New file.
|
|
|
|
|
* ld-arm/armthumb-lib.sym: New file.
|
|
|
|
|
|
2006-08-18 22:38:00 +08:00
|
|
|
|
2006-08-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3052
|
|
|
|
|
* ld-elf/loadaddr.s: New file.
|
|
|
|
|
* ld-elf/loadaddr1.d: Likewise.
|
|
|
|
|
* ld-elf/loadaddr1.t: Likewise.
|
|
|
|
|
* ld-elf/loadaddr2.d: Likewise.
|
|
|
|
|
* ld-elf/loadaddr2.t: Likewise.
|
|
|
|
|
|
2006-08-17 16:21:06 +08:00
|
|
|
|
2006-08-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tlsexe.d: Update for lazy link stub change.
|
|
|
|
|
* ld-powerpc/tlsexe.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.d: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.d: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.d: Likewise.
|
|
|
|
|
|
2006-08-17 10:04:53 +08:00
|
|
|
|
2006-08-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3015
|
|
|
|
|
* ld-elf/binutils.exp: Add tests for "-z relro".
|
|
|
|
|
|
2006-08-16 16:31:45 +08:00
|
|
|
|
2006-08-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/overlay-size-map.d: Update.
|
|
|
|
|
|
2006-08-11 22:05:12 +08:00
|
|
|
|
2006-08-11 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
|
|
|
|
|
MIPS small commons.
|
|
|
|
|
|
2006-08-08 23:07:16 +08:00
|
|
|
|
2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3009
|
|
|
|
|
* ld-scripts/sort.t: New file.
|
|
|
|
|
* ld-scripts/sort_b_a-1.d: Likewise.
|
|
|
|
|
* ld-scripts/sort_b_a-1.s: Likewise.
|
|
|
|
|
* ld-scripts/sort_b_n-1.d: Likewise.
|
|
|
|
|
* ld-scripts/sort_b_n-1.s: Likewise.
|
|
|
|
|
|
2006-08-06 23:04:23 +08:00
|
|
|
|
2006-08-05 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* ld-pe/pe.exp: Enable tests on arm-wince-pe.
|
|
|
|
|
* ld-pe/secrel.d: Adjust test to work on arm-wince-pe too.
|
|
|
|
|
|
bfd/
2006-08-02 Richard Sandiford <richard@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
* config.bfd (sh-*-vxworks): Use bfd_elf32_shvxworks_vec and
bfd_elf32_shlvxworks_vec.
* configure.in (bfd_elf32_sh64_vec): Add elf-vxworks.lo.
(bfd_elf32_sh64l_vec, bfd_elf32_sh64lin_vec): Likewise.
(bfd_elf32_sh64blin_vec, bfd_elf32_sh64lnbsd_vec): Likewise.
(bfd_elf32_sh64nbsd_vec, bfd_elf32_sh_vec): Likewise.
(bfd_elf32_shblin_vec, bfd_elf32_shl_vec): Likewise.
(bfd_elf32_shl_symbian_vec, bfd_elf32_shlin_vec): Likewise.
(bfd_elf32_shlnbsd_vec, bfd_elf32_shnbsd_vec): Likewise.
(bfd_elf32_shlvxworks_vec, bfd_elf32_shvxworks_vec): New stanzas.
* configure: Regenerate.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
* elf-vxworks.c (elf_vxworks_gott_symbol_p): New function.
(elf_vxworks_add_symbol_hook): Use it.
(elf_vxworks_link_output_symbol_hook): Likewise. Use the hash
table entry to check for weak undefined symbols and to obtain
the original bfd.
(elf_vxworks_emit_relocs): Use target_index instead of this_idx.
* elf32-sh-relocs.h: New file, split from elf32-sh.c.
(R_SH_DIR32): Use SH_PARTIAL32 for the partial_inplace field,
SH_SRC_MASK32 for the src_mask field, and SH_ELF_RELOC for the
special_function field.
(R_SH_REL32): Use SH_PARTIAL32 and SH_SRC_MASK32 here too.
(R_SH_REL32, R_SH_TLS_GD_32, R_SH_TLS_LD_32): Likewise.
(R_SH_TLS_LDO_32, R_SH_TLS_IE_32, R_SH_TLS_LE_32): Likewise.
(R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32, R_SH_TLS_TPOFF32): Likewise.
(R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT): Likewise.
(R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Likewise.
(SH_PARTIAL32, SH_SRC_MASK32, SH_ELF_RELOC): Undefine at end of file.
* elf32-sh.c: Include elf32-vxworks.h.
(MINUS_ONE): Define.
(sh_elf_howto_table): Include elf32-sh-relocs.h with SH_PARTIAL32
set to TRUE, SH_SRC_MASK32 set to 0xffffffff, and SH_ELF_RELOC set
to sh_elf_reloc.
(sh_vxworks_howto_table): New variable. Include elf32-sh-relocs.h
with SH_PARTIAL32 set to FALSE, SH_SRC_MASK32 set to 0, and
SH_ELF_RELOC set to bfd_elf_generic_reloc.
(vxworks_object_p, get_howto_table): New functions.
(sh_elf_reloc_type_lookup): Fix typo. Use get_howto_table.
(sh_elf_info_to_howto): Use get_howto_table.
(sh_elf_relax_section): Honor the partial_inplace field of the
R_SH_DIR32 howto.
(sh_elf_relax_delete_bytes): Likewise.
(elf_sh_plt_info): New structure.
(PLT_ENTRY_SIZE): Replace both definitions with...
(ELF_PLT_ENTRY_SIZE): ...this new macro, with separate definitions for
INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_entry_be): Update sizes of both definitions accordingly.
(elf_sh_plt0_entry_le): Likewise.
(elf_sh_plt_entry_be, elf_sh_plt_entry_le): Likewise.
(elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): Likewise.
(elf_sh_plts): New structure, with separate definitions for
INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_entry): Delete both definitions.
(elf_sh_plt_entry, elf_sh_pic_plt_entry): Likewise.
(elf_sh_sizeof_plt, elf_sh_plt_plt0_offset): Likewise.
(elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset): Likewise.
(elf_sh_plt_reloc_offset): Likewise.
(movi_shori_putval): Delete in favor of...
(install_plt_field): ...this new function, with separate definitions
for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(get_plt_info): New function, with separate definitions
for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset): Delete.
(VXWORKS_PLT_HEADER_SIZE, VXWORKS_PLT_ENTRY_SIZE): New macros.
(vxworks_sh_plt0_entry_be, vxworks_sh_plt0_entry_le): New constants.
(vxworks_sh_plt_entry_be, vxworks_sh_plt_entry_le): Likewise.
(vxworks_sh_pic_plt_entry_be, vxworks_sh_pic_plt_entry_le): Likewise.
(get_plt_index, get_plt_offset): New functions.
(elf_sh_link_hash_table): Add srelplt2, plt_info and vxworks_p fields.
(sh_elf_link_hash_table_create): Initialize them.
(sh_elf_create_dynamic_sections): Call
elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use htab->plt_info to get the size of PLT
entries. Allocate relocation entries in .rela.plt.unloaded if
generating a VxWorks executable.
(sh_elf_always_size_sections): New function.
(sh_elf_size_dynamic_sections): Extend .rela.plt handling to
.rela.plt.unloaded.
(sh_elf_relocate_section): Use get_howto_table. Honor
partial_inplace when calculating the addend for dynamic
relocations. Use get_plt_index.
(sh_elf_finish_dynamic_symbol): Use get_plt_index, install_plt_field
and htab->plt_info. Fill in the bra .plt offset for VxWorks
executables. Populate .rela.plt.unloaded. Do not make
_GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(sh_elf_finish_dynamic_sections): Use install_plt_field and
htab->plt_info. Handle cases where there is no special PLT header.
Populate the first relocation in .rela.plt.unloaded and fix up
the remaining entries.
(sh_elf_plt_sym_val): Use get_plt_info.
(elf_backend_always_size_sections): Define.
(TARGET_BIG_SYM, TARGET_BIG_NAME): Override for VxWorks.
(TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
(elf32_bed, elf_backend_want_plt_sym): Likewise.
(elf_symbol_leading_char, elf_backend_want_got_underscore): Likewise.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Likewise.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing): Likewise.
(ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Likewise.
* targets.c (bfd_elf32_shlvxworks_vec): Declare.
(bfd_elf32_shvxworks_vec): Likewise.
(_bfd_target_vector): Include bfd_elf32_shlvxworks_vec and
bfd_elf32_shvxworks_vec.
gas/
* config/tc-sh.c (apply_full_field_fix): New function.
(md_apply_fix): Use it instead of md_number_to_chars. Do not fill
in fx_addnumber for BFD_RELOC_32_PLT_PCREL.
(tc_gen_reloc): Use fx_addnumber rather than 0 as the default case.
* config/tc-sh.h (TARGET_FORMAT): Override for TE_VXWORKS.
ld/
2006-08-02 Richard Sandiford <richard@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
* Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
eshlelf_vxworks.o.
(eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (sh-*-vxworks): Use shelf_vxworks and
shlelf_vxworks.
* emulparams/shelf_vxworks.sh: New file.
* emulparams/shlelf_vxworks.sh: Likewise.
* emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
(OTHER_END_SYMBOLS): Likewise _ehdr.
(DATA_END_SYMBOLS): Likewise _edata.
* emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
is indeed an ELF file before dealing with --force-dynamic.
ld/testsuite/
* ld-sh/rd-sh.exp: Treat vxworks1-static.d specially.
* ld-sh/sh-vxworks.exp: New file.
* ld-sh/sh.exp: Extend sh-linux SIZEOF_HEADERS handling to
sh-*-vxworks.
* ld-sh/vxworks1-le.dd, ld-sh/vxworks1-lib-le.dd,
* ld-sh/vxworks1-lib.dd, ld-sh/vxworks1-lib.nd,
* ld-sh/vxworks1-lib.rd, ld-sh/vxworks1-lib.s,
* ld-sh/vxworks1-static.d, ld-sh/vxworks1.dd,
* ld-sh/vxworks1.ld, ld-sh/vxworks1.rd, ld-sh/vxworks1.s,
* ld-sh/vxworks2-static.sd, ld-sh/vxworks2.s,
* ld-sh/vxworks2.sd, ld-sh/vxworks3-le.dd,
* ld-sh/vxworks3-lib-le.dd, ld-sh/vxworks3-lib.dd,
* ld-sh/vxworks3-lib.s, ld-sh/vxworks3.dd, ld-sh/vxworks3.s,
* ld-sh/vxworks4.d, ld-sh/vxworks4a.s, ld-sh/vxworks4b.s,
* ld-sh/reloc1.s, ld-sh/reloc1.d: New tests.
2006-08-04 21:13:56 +08:00
|
|
|
|
2006-08-04 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-sh/rd-sh.exp: Treat vxworks1-static.d specially.
|
|
|
|
|
* ld-sh/sh-vxworks.exp: New file.
|
|
|
|
|
* ld-sh/sh.exp: Extend sh-linux SIZEOF_HEADERS handling to
|
|
|
|
|
sh-*-vxworks.
|
|
|
|
|
* ld-sh/vxworks1-le.dd, ld-sh/vxworks1-lib-le.dd,
|
|
|
|
|
* ld-sh/vxworks1-lib.dd, ld-sh/vxworks1-lib.nd,
|
|
|
|
|
* ld-sh/vxworks1-lib.rd, ld-sh/vxworks1-lib.s,
|
|
|
|
|
* ld-sh/vxworks1-static.d, ld-sh/vxworks1.dd,
|
|
|
|
|
* ld-sh/vxworks1.ld, ld-sh/vxworks1.rd, ld-sh/vxworks1.s,
|
|
|
|
|
* ld-sh/vxworks2-static.sd, ld-sh/vxworks2.s,
|
|
|
|
|
* ld-sh/vxworks2.sd, ld-sh/vxworks3-le.dd,
|
|
|
|
|
* ld-sh/vxworks3-lib-le.dd, ld-sh/vxworks3-lib.dd,
|
|
|
|
|
* ld-sh/vxworks3-lib.s, ld-sh/vxworks3.dd, ld-sh/vxworks3.s,
|
|
|
|
|
* ld-sh/vxworks4.d, ld-sh/vxworks4a.s, ld-sh/vxworks4b.s,
|
|
|
|
|
* ld-sh/reloc1.s, ld-sh/reloc1.d: New tests.
|
|
|
|
|
|
2006-08-02 01:50:52 +08:00
|
|
|
|
2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/noload-1.d: New.
|
|
|
|
|
* ld-elf/noload-1.s: Likewise.
|
|
|
|
|
* ld-elf/noload-1.t: Likewise.
|
|
|
|
|
|
2006-07-29 16:48:15 +08:00
|
|
|
|
2006-07-29 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/hash1.s, ld-mips-elf/hash1a.d,
|
|
|
|
|
* ld-mips-elf/hash1b.d, ld-mips-elf/hash1c.d: New tests.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run them.
|
|
|
|
|
|
2006-07-26 00:45:55 +08:00
|
|
|
|
2006-07-25 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/mips16-call-global-2.s,
|
|
|
|
|
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
|
|
|
|
|
Improve test robustness.
|
|
|
|
|
|
2006-07-21 17:56:40 +08:00
|
|
|
|
2006-07-21 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the
|
|
|
|
|
multilib being tested.
|
|
|
|
|
|
2006-07-21 00:46:30 +08:00
|
|
|
|
2006-07-20 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/mips16-call-global-1.s,
|
|
|
|
|
ld-mips-elf/mips16-call-global-2.s,
|
|
|
|
|
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
|
|
|
|
|
Test linking of external mips16 jumps.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run new test.
|
|
|
|
|
|
2006-07-19 19:49:32 +08:00
|
|
|
|
2006-07-19 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-selective/selective.exp: Fix selective testcases for MIPS.
|
|
|
|
|
|
2006-07-13 18:58:47 +08:00
|
|
|
|
2006-07-13 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got:
|
|
|
|
|
Update TLS testcases.
|
|
|
|
|
|
2006-07-12 23:45:33 +08:00
|
|
|
|
2006-07-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2884
|
|
|
|
|
* ld-elf/begin.c: New file.
|
|
|
|
|
* ld-elf/end.c: Likewise.
|
|
|
|
|
* ld-elf/endhidden.c: Likewise.
|
|
|
|
|
* ld-elf/endprotected.c: Likewise.
|
|
|
|
|
* ld-elf/foo.c: Likewise.
|
|
|
|
|
* ld-elf/foo.map: Likewise.
|
|
|
|
|
* ld-elf/hidden.out: Likewise.
|
|
|
|
|
* ld-elf/main.c: Likewise.
|
|
|
|
|
* ld-elf/normal.out: Likewise.
|
|
|
|
|
* ld-elf/shared.exp: Likewise.
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_cc_link_tests): New.
|
|
|
|
|
|
2006-07-12 20:47:00 +08:00
|
|
|
|
2006-07-12 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-m68k/merge-ok-1c.d: New test.
|
|
|
|
|
* ld-m68k/m68k.exp: Run it.
|
|
|
|
|
|
2006-07-12 05:47:41 +08:00
|
|
|
|
2006-07-11 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/libdso-2.d: Adjust for recent hash-related changes.
|
|
|
|
|
|
include/
* bfdlink.h (struct bfd_link_info): Add emit_hash and
emit_gnu_hash bitfields.
include/elf/
* common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
ld/
* scripttempl/elf.sc: Add .gnu.hash section.
* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
(gld${EMULATION_NAME}_add_options): Register --hash-style option.
(gld${EMULATION_NAME}_handle_option): Handle it.
(gld${EMULATION_NAME}_list_options): Document it.
* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
* ld.texinfo: Document --hash-style option.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
(bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
Handle SHT_GNU_HASH.
(special_sections_g): Include .gnu.hash section.
(bfd_elf_gnu_hash): New function.
* elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
(struct elf_backend_data): Add elf_hash_symbol method.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
only if info->emit_hash, create .gnu.hash section if
info->emit_gnu_hash.
(struct collect_gnu_hash_codes): New type.
(elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
_bfd_elf_hash_symbol): New functions.
(compute_bucket_count): Don't compute HASHCODES array, instead add
that and NSYMS as arguments. Use bed->s->sizeof_hash_entry
instead of bed->s->arch_size / 8. Fix .hash size estimation.
When not optimizing, use the number of hashed symbols rather than
dynsymcount.
(bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
and ADD DT_GNU_HASH if info->emit_gnu_hash.
(bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
adjust compute_bucket_count caller. Create and populate .gnu.hash
section if info->emit_gnu_hash.
(elf_link_output_extsym): Only populate .hash section if
finfo->hash_sec != NULL.
(bfd_elf_final_link): Adjust assertion. Handle DT_GNU_HASH.
* elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
(elfNN_bed): Add elf_backend_hash_symbol.
* elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
* elf32-i386.c (elf_i386_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
binutils/
* readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
(get_section_type_name): Handle SHT_GNU_HASH.
(dynamic_info_DT_GNU_HASH): New variable.
(process_dynamic_section): Handle DT_GNU_HASH.
(process_symbol_table): Print also DT_GNU_HASH histogram.
ld/testsuite/
* ld-powerpc/tlsso32.r: Adjust.
* ld-powerpc/tlsso32.d: Adjust.
* ld-powerpc/tlsso32.g: Adjust.
* ld-powerpc/tlsso.r: Adjust.
* ld-powerpc/tlsso.g: Adjust.
* ld-powerpc/tlstocso.g: Adjust.
2006-07-11 05:40:25 +08:00
|
|
|
|
2006-07-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tlsso32.r: Adjust.
|
|
|
|
|
* ld-powerpc/tlsso32.d: Adjust.
|
|
|
|
|
* ld-powerpc/tlsso32.g: Adjust.
|
|
|
|
|
* ld-powerpc/tlsso.r: Adjust.
|
|
|
|
|
* ld-powerpc/tlsso.g: Adjust.
|
|
|
|
|
* ld-powerpc/tlstocso.g: Adjust.
|
|
|
|
|
|
2006-07-06 00:01:38 +08:00
|
|
|
|
2006-07-05 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/multi-got-1.d, ld-mips-elf/tls-multi-got-1.got,
|
|
|
|
|
ld-mips-elf/tls-multi-got-1.r: Update multigot testcases.
|
|
|
|
|
|
2006-06-30 22:16:13 +08:00
|
|
|
|
2006-06-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/tlsbindesc.dd: Updated to expect xchg %ax,%ax instead
|
|
|
|
|
of 2 nops.
|
|
|
|
|
* ld-i386/tlsdesc.dd: Likewise.
|
|
|
|
|
* ld-i386/tlsgdesc.dd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.dd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.dd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.pd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsgdesc.dd: Likewise.
|
|
|
|
|
|
2006-06-29 20:34:37 +08:00
|
|
|
|
2006-06-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2513
|
|
|
|
|
* ld-i386/tlsbin.dd: Fix expected output.
|
|
|
|
|
|
2006-06-21 13:36:17 +08:00
|
|
|
|
2006-06-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/tls_common.exp: Match 32-bit output.
|
|
|
|
|
|
2006-06-21 00:36:18 +08:00
|
|
|
|
2006-06-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/tls_common.exp: New test.
|
|
|
|
|
* ld-elf/tls_common.s: New file.
|
|
|
|
|
|
2006-06-20 10:22:16 +08:00
|
|
|
|
2006-06-20 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/eh1.d: Update for fewer program headers.
|
|
|
|
|
* ld-elf/eh2.d: Likewise.
|
|
|
|
|
* ld-elf/eh3.d: Likewise.
|
|
|
|
|
|
2006-06-19 22:22:27 +08:00
|
|
|
|
2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: New test.
|
|
|
|
|
* ld-arm/use-thumb-lib.s: New file.
|
|
|
|
|
* ld-arm/use-thumb-lib.sym: New file.
|
|
|
|
|
|
* include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
to R_ARM_LDC_SB_G{0,1,2} respectively.
bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
R_ARM_LDC_SB_G2): New relocation types.
(R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
and friends.
(elf32_arm_howto_table_3): Delete; contents merged into
elf32_arm_howto_table_2.
(elf32_arm_howto_from_type): Adjust correspondingly.
(elf32_arm_reloc_map): Extend with the above relocations.
(calculate_group_reloc_mask): New function.
(identify_add_or_sub): New function.
(elf32_arm_final_link_relocate): Support for the above
relocations.
* reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
codes to correspond to the above relocations.
gas/
* config/tc-arm.c (enum parse_operand_result): New.
(struct group_reloc_table_entry): New.
(enum group_reloc_type): New.
(group_reloc_table): New array.
(find_group_reloc_table_entry): New function.
(parse_shifter_operand_group_reloc): New function.
(parse_address_main): New function, incorporating code
from the old parse_address function. To be used via...
(parse_address): wrapper for parse_address_main; and
(parse_address_group_reloc): new function, likewise.
(enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR,
OP_ADDRGLDRS, OP_ADDRGLDC.
(parse_operands): Support for these new operand codes.
New macro po_misc_or_fail_no_backtrack.
(encode_arm_cp_address): Preserve group relocations.
(insns): Modify to use the above operand codes where group
relocations are permitted.
(md_apply_fix): Handle the group relocations
ALU_PC_G0_NC through LDC_SB_G2.
(tc_gen_reloc): Likewise.
(arm_force_relocation): Leave group relocations for the linker.
(arm_fix_adjustable): Likewise.
gas/testsuite/
* gas/arm/group-reloc-alu.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.l: New test.
* gas/arm/group-reloc-alu-encoding-bad.s: New test.
* gas/arm/group-reloc-alu-parsing-bad.d: New test.
* gas/arm/group-reloc-alu-parsing-bad.l: New test.
* gas/arm/group-reloc-alu-parsing-bad.s: New test.
* gas/arm/group-reloc-alu.s: New test.
* gas/arm/group-reloc-ldc.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.l: New test.
* gas/arm/group-reloc-ldc-encoding-bad.s: New test.
* gas/arm/group-reloc-ldc-parsing-bad.d: New test.
* gas/arm/group-reloc-ldc-parsing-bad.l: New test.
* gas/arm/group-reloc-ldc-parsing-bad.s: New test.
* gas/arm/group-reloc-ldc.s: New test.
* gas/arm/group-reloc-ldr.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.l: New test.
* gas/arm/group-reloc-ldr-encoding-bad.s: New test.
* gas/arm/group-reloc-ldr-parsing-bad.d: New test.
* gas/arm/group-reloc-ldr-parsing-bad.l: New test.
* gas/arm/group-reloc-ldr-parsing-bad.s: New test.
* gas/arm/group-reloc-ldr.s: New test.
* gas/arm/group-reloc-ldrs.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.l: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.s: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.d: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.l: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.s: New test.
* gas/arm/group-reloc-ldrs.s: New test.
ld/testsuite/
* ld-arm/group-relocs-alu-bad.d: New test.
* ld-arm/group-relocs-alu-bad.s: New test.
* ld-arm/group-relocs.d: New test.
* ld-arm/group-relocs-ldc-bad.d: New test.
* ld-arm/group-relocs-ldc-bad.s: New test.
* ld-arm/group-relocs-ldr-bad.d: New test.
* ld-arm/group-relocs-ldr-bad.s: New test.
* ld-arm/group-relocs-ldrs-bad.d: New test.
* ld-arm/group-relocs-ldrs-bad.s: New test.
* ld-arm/group-relocs.s: New test.
* ld-arm/arm-elf.exp: Wire in new tests.
2006-06-15 19:03:02 +08:00
|
|
|
|
2006-06-15 Mark Shinwell <shinwell@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/group-relocs-alu-bad.d: New test.
|
|
|
|
|
* ld-arm/group-relocs-alu-bad.s: New test.
|
|
|
|
|
* ld-arm/group-relocs.d: New test.
|
|
|
|
|
* ld-arm/group-relocs-ldc-bad.d: New test.
|
|
|
|
|
* ld-arm/group-relocs-ldc-bad.s: New test.
|
|
|
|
|
* ld-arm/group-relocs-ldr-bad.d: New test.
|
|
|
|
|
* ld-arm/group-relocs-ldr-bad.s: New test.
|
|
|
|
|
* ld-arm/group-relocs-ldrs-bad.d: New test.
|
|
|
|
|
* ld-arm/group-relocs-ldrs-bad.s: New test.
|
|
|
|
|
* ld-arm/group-relocs.s: New test.
|
|
|
|
|
* ld-arm/arm-elf.exp: Wire in new tests.
|
|
|
|
|
|
2006-06-14 16:27:41 +08:00
|
|
|
|
2006-06-14 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-m68k/plt1.s, ld-m68k/plt1-empty.s, ld-m68k/plt1.ld: New files.
|
|
|
|
|
* ld-m68k/plt1-68020.d, ld-m68k/plt1-cpu32.d: Likewise.
|
|
|
|
|
* ld-m68k/plt1-isab.d: Likewise.
|
|
|
|
|
* ld-m68k/m68k.exp: Run new PLT tests.
|
|
|
|
|
|
2006-06-12 19:35:45 +08:00
|
|
|
|
2006-06-12 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/multi-got-no-shared.d: Adjust for recent change of
|
|
|
|
|
ELF_MAXPAGESIZE.
|
|
|
|
|
|
2006-06-11 16:33:27 +08:00
|
|
|
|
2006-06-11 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1.s,
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1.ld,
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-7fff.d,
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-8000.d,
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-fff0.d,
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-10000.d,
|
|
|
|
|
* ld-mips-elf/stub-dynsym-1-2fe80.d: New test.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run it.
|
|
|
|
|
|
2006-06-06 12:30:21 +08:00
|
|
|
|
2006-06-06 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elfvers/vers.exp (objdump_versionstuff): Allow versions in
|
|
|
|
|
any order.
|
|
|
|
|
* ld-elfvers/vers1.ver: Update.
|
|
|
|
|
* ld-elfvers/vers2.ver: Update.
|
|
|
|
|
* ld-elfvers/vers4a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers7a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers8.ver: Update.
|
|
|
|
|
* ld-elfvers/vers9.ver: Update.
|
|
|
|
|
* ld-elfvers/vers15.ver: Update.
|
|
|
|
|
* ld-elfvers/vers16a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers17.ver: Update.
|
|
|
|
|
* ld-elfvers/vers18.ver: Update.
|
|
|
|
|
* ld-elfvers/vers20.ver: Update.
|
|
|
|
|
* ld-elfvers/vers20a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers21.ver: Update.
|
|
|
|
|
* ld-elfvers/vers22a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers22b.ver: Update.
|
|
|
|
|
* ld-elfvers/vers23a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers23b.ver: Update.
|
|
|
|
|
* ld-elfvers/vers23c.ver: Update.
|
|
|
|
|
* ld-elfvers/vers25a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers26a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers27a.ver: Update.
|
|
|
|
|
* ld-elfvers/vers27d.ver: Update.
|
|
|
|
|
* ld-elfvers/vers28b.ver: Update.
|
|
|
|
|
* ld-elfvers/vers29.ver: Update.
|
|
|
|
|
* ld-elfvers/vers30.ver: Update.
|
|
|
|
|
* ld-elfvers/vers31.ver: Update.
|
|
|
|
|
|
2006-06-05 20:53:50 +08:00
|
|
|
|
2006-06-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/sec64k.exp: Add "main" symbol. Use dc.a for addresses.
|
|
|
|
|
Cater for different address sizes. Match end of line when
|
|
|
|
|
comparing symbols.
|
|
|
|
|
* ld-elf/start.s: Use dc.a for addresses.
|
|
|
|
|
|
2006-06-02 15:53:30 +08:00
|
|
|
|
2006-06-02 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tlsexe.r: Update for removal of some section syms.
|
|
|
|
|
* ld-powerpc/tlsexetoc.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.r: Likewise.
|
|
|
|
|
* ld-s390/tlsbin_64.rd: Likewise.
|
|
|
|
|
* ld-s390/tlspic_64.rd: Likewise.
|
|
|
|
|
|
2006-06-02 08:32:00 +08:00
|
|
|
|
2006-06-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2723
|
|
|
|
|
* ld-alpha/tlsbin.rd: Update for removal of some section syms.
|
|
|
|
|
* ld-alpha/tlsbinr.rd: Likewise.
|
|
|
|
|
* ld-alpha/tlspic.rd: Likewise.
|
|
|
|
|
* ld-cris/hiddef1.d: Likewise.
|
|
|
|
|
* ld-cris/libdso-2.d: Likewise.
|
|
|
|
|
* ld-elf/sec64k.exp: Likewise.
|
|
|
|
|
* ld-i386/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsdesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsgdesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsnopic.rd: Likewise.
|
|
|
|
|
* ld-i386/tlspic.rd: Likewise.
|
|
|
|
|
* ld-ia64/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-ia64/tlspic.rd: Likewise.
|
|
|
|
|
* ld-mmix/bpo-1.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-10.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-11.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-14.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-16.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-17.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-18.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-19.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-2.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-22.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-3.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-4.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-5.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-6.d: Likewise.
|
|
|
|
|
* ld-mmix/bpo-9.d: Likewise.
|
|
|
|
|
* ld-mmix/bspec1.d: Likewise.
|
|
|
|
|
* ld-mmix/bspec2.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-1.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-19.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-2.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-3.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-4.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-5.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-5s.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-6.d: Likewise.
|
|
|
|
|
* ld-mmix/greg-7.d: Likewise.
|
|
|
|
|
* ld-mmix/loc1.d: Likewise.
|
|
|
|
|
* ld-mmix/loc2.d: Likewise.
|
|
|
|
|
* ld-mmix/loc3.d: Likewise.
|
|
|
|
|
* ld-mmix/loc4.d: Likewise.
|
|
|
|
|
* ld-mmix/loc6.d: Likewise.
|
|
|
|
|
* ld-mmix/local1.d: Likewise.
|
|
|
|
|
* ld-mmix/local3.d: Likewise.
|
|
|
|
|
* ld-mmix/local5.d: Likewise.
|
|
|
|
|
* ld-mmix/local7.d: Likewise.
|
|
|
|
|
* ld-mmix/locdo-1.d: Likewise.
|
|
|
|
|
* ld-mmix/loct-1.d: Likewise.
|
|
|
|
|
* ld-mmix/locto-1.d: Likewise.
|
|
|
|
|
* ld-mmix/start-1.d: Likewise.
|
|
|
|
|
* ld-mmix/undef-3.d: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe32.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso32.r: Likewise.
|
|
|
|
|
* ld-s390/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-s390/tlspic.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunbin32.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunbin64.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunnopic32.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunnopic64.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunpic32.rd: Likewise.
|
|
|
|
|
* ld-sparc/tlssunpic64.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsgdesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic.rd: Likewise.
|
|
|
|
|
|
2006-06-01 13:40:24 +08:00
|
|
|
|
2006-05-31 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/binutils.exp: Make it Linux only.
|
|
|
|
|
(strip_test): Renamed to binutils_test. Check for unsupported
|
|
|
|
|
options.
|
|
|
|
|
Add more tests.
|
|
|
|
|
|
|
|
|
|
* ld-elf/commonpage1.d: Make it Linux only.
|
|
|
|
|
* ld-elf/maxpage1.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-elf/maxpage1.s: Add main, start and __start.
|
|
|
|
|
|
|
|
|
|
* ld-elf/maxpage2.d: New file.
|
|
|
|
|
* ld-elf/tbss1.s: Likewise.
|
|
|
|
|
* ld-elf/tbss2.s: Likewise.
|
|
|
|
|
* ld-elf/tdata1.s: Likewise.
|
|
|
|
|
* ld-elf/tdata2.s: Likewise.
|
|
|
|
|
|
2006-05-31 00:45:32 +08:00
|
|
|
|
2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/binutils.exp: New file.
|
|
|
|
|
* ld-elf/commonpage1.d: Likewise.
|
|
|
|
|
* ld-elf/maxpage1.d: Likewise.
|
|
|
|
|
* ld-elf/maxpage1.s: Likewise.
|
|
|
|
|
|
2006-05-26 10:44:19 +08:00
|
|
|
|
2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/tlsbin.dd: Updated for 2MB maximum page size.
|
|
|
|
|
* ld-x86-64/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbin.sd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbin.td: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.dd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.sd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.td: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.dd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.pd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.sd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.td: Likewise.
|
|
|
|
|
* ld-x86-64/tlsgdesc.dd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic.dd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic.sd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic.td: Likewise.
|
|
|
|
|
|
2006-05-25 01:10:02 +08:00
|
|
|
|
2006-05-24 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-app-abs32.d: Update expected output.
|
|
|
|
|
* ld-arm/arm-app.d: Ditto.
|
|
|
|
|
* ld-arm/arm-lib-plt32.d: Ditto.
|
|
|
|
|
* ld-arm/arm-lib.d: Ditto.
|
|
|
|
|
* ld-arm/mixed-app-v5.d: Ditto.
|
|
|
|
|
* ld-arm/mixed-app.d: Ditto.
|
|
|
|
|
* ld-arm/mixed-lib.d: Ditto.
|
|
|
|
|
|
2006-05-24 10:39:16 +08:00
|
|
|
|
2006-05-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2655
|
|
|
|
|
PR ld/2657
|
|
|
|
|
* ld-elf/eh1.d: New file.
|
|
|
|
|
* ld-elf/eh1.s: Likewise.
|
|
|
|
|
* ld-elf/eh1a.s: Likewise.
|
|
|
|
|
* ld-elf/eh2.d: Likewise.
|
|
|
|
|
* ld-elf/eh2a.s: Likewise.
|
|
|
|
|
* ld-elf/eh3.d: Likewise.
|
|
|
|
|
* ld-elf/eh3.s: Likewise.
|
|
|
|
|
* ld-elf/eh3a.s: Likewise.
|
|
|
|
|
|
2006-05-22 23:06:23 +08:00
|
|
|
|
2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/textrel-1.d: Relax some patterns.
|
|
|
|
|
|
2006-05-22 16:45:18 +08:00
|
|
|
|
2006-05-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2006-05-22 16:45:46 +08:00
|
|
|
|
* ld-elf/start.s (start): Add this symbol for SH targets.
|
2006-05-22 16:45:18 +08:00
|
|
|
|
(main): Add this symbol for HPPA targets.
|
|
|
|
|
|
2006-05-19 14:10:03 +08:00
|
|
|
|
2006-05-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2006-05-19 19:50:31 +08:00
|
|
|
|
* ld-scripts/empty-orphan.d: Update again.
|
|
|
|
|
|
2006-05-19 14:10:03 +08:00
|
|
|
|
* ld-scripts/empty-orphan.t: Discard .reginfo.
|
|
|
|
|
* ld-scripts/empty-orphan.d: Update.
|
|
|
|
|
|
2006-05-17 19:30:24 +08:00
|
|
|
|
2006-05-17 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
|
|
|
|
|
Add __start as entry symbol.
|
|
|
|
|
|
2006-05-16 21:58:51 +08:00
|
|
|
|
2006-05-16 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan.ld: Add placement for MIPS .reginfo section.
|
|
|
|
|
|
2006-05-16 03:57:35 +08:00
|
|
|
|
2006-05-15 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-be8.d: New test.
|
|
|
|
|
* ld-arm/arm-be8.s: New test.
|
|
|
|
|
* ld-arm/arm-elf.exp: Add arm-be8.
|
|
|
|
|
|
2006-05-15 08:48:44 +08:00
|
|
|
|
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/stab.d: Skip ia64-*-*.
|
|
|
|
|
|
2006-05-11 23:17:34 +08:00
|
|
|
|
2006-05-11 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add arm-movwt.
|
|
|
|
|
* ld-arm/arm-movwt.d: New test.
|
|
|
|
|
* ld-arm/arm-movwt.s: New test.
|
|
|
|
|
* ld-arm/arm.ld: Add .far.
|
|
|
|
|
|
2006-05-11 20:35:44 +08:00
|
|
|
|
2006-05-11 Mike Bland <mbland@google.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/stab.d: New.
|
|
|
|
|
|
2006-05-10 23:07:24 +08:00
|
|
|
|
2006-05-10 Thiemo Seufer <ths@debian.org>
|
|
|
|
|
|
|
|
|
|
* ld-elf/sec64k.exp: Extend for MIPS ELF.
|
|
|
|
|
|
2006-05-05 21:08:49 +08:00
|
|
|
|
2006-05-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tlsexetoc.r: Update for correction to tls optimization.
|
|
|
|
|
* ld-powerpc/tlsexetoc.g: Likewise.
|
|
|
|
|
|
2006-05-02 21:35:45 +08:00
|
|
|
|
2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *.
|
|
|
|
|
* ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise.
|
|
|
|
|
* ld-srec/sr3.cc (Foo::Foo): Likewise.
|
|
|
|
|
|
2006-05-02 21:09:18 +08:00
|
|
|
|
2006-05-02 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add thumb-rel32.
|
|
|
|
|
* ld-arm/thumb-rel32.d: New test.
|
|
|
|
|
* ld-arm/thumb-rel32.s: New test.
|
|
|
|
|
|
2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp: Xfail vers7a, vers7, vers23a, vers23b,
vers23c, vers23d, vers23, vers25a, vers25b1, vers25b2, vers27a,
vers27b, vers27c1, vers27c2, vers27d4 and vers27d5 if PIC is
required.
2006-04-30 08:23:00 +08:00
|
|
|
|
2006-04-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elfvers/vers.exp: Xfail vers7a, vers7, vers23a, vers23b,
|
|
|
|
|
vers23c, vers23d, vers23, vers25a, vers25b1, vers25b2, vers27a,
|
|
|
|
|
vers27b, vers27c1, vers27c2, vers27d4 and vers27d5 if PIC is
|
|
|
|
|
required.
|
|
|
|
|
|
2006-04-26 06:05:15 +08:00
|
|
|
|
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-alpha/tlsbin.rd: Updated for readelf change.
|
|
|
|
|
* ld-alpha/tlsbinr.rd: Likewise.
|
|
|
|
|
* ld-alpha/tlspic.rd: Likewise.
|
|
|
|
|
|
bfd/
* config.bfd (sparc-*-vxworks*): New stanza.
* configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
(bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
* configure: Regenerate.
* elf32-sparc.c: Include elf-vxworks.h.
(elf32_sparc_vxworks_link_hash_table_create: New.
(elf32_sparc_vxworks_final_write_processing): New.
(TARGET_BIG_SYM): Override for VxWorks.
(TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
(bfd_elf32_bfd_link_hash_table_create): Likewise.
(elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
(elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing, elf32_bed): Likewise.
* elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
(sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
(sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
(_bfd_sparc_elf_link_hash_table_create): Don't initialize
build_plt_entry here.
(create_got_section): Initialize sgotplt for VxWorks.
(_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
plt_header_size and plt_entry_size, with new VxWorks-specific settings.
Call elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use plt_header_size and plt_entry_size.
Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
(_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
for VxWorks. Check for the .got.plt section.
(sparc_vxworks_build_plt_entry): New function.
(_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
absolute on VxWorks.
(sparc32_finish_dyn): Add special handling for DT_RELASZ
and DT_PLTGOT on VxWorks.
(sparc_vxworks_finish_exec_plt): New.
(sparc_vxworks_finish_shared_plt): New.
(_bfd_sparc_elf_finish_dynamic_sections): Call them.
Use plt_header_size and plt_entry_size.
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
* Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
(elf32-sparc.lo): Likewise.
* Makefile.in: Regenerate.
* targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
(_bfd_target_vector): Add a pointer to it.
gas/
* config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
(GOTT_BASE, GOTT_INDEX): New.
(tc_gen_reloc): Don't alter relocations against GOTT_BASE and
GOTT_INDEX when generating VxWorks PIC.
* configure.tgt (sparc*-*-vxworks*): Remove this special case;
use the generic *-*-vxworks* stanza instead.
gas/testsuite/
* gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test.
* gas/sparc/sparc.exp: Run it. Remove sparc*-*-vxworks* XFAILs.
ld/
* configure.tgt (sparc*-*-vxworks*): New stanza.
* emulparams/elf32_sparc_vxworks.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
(eelf32_sparc_vxworks.c): New rule.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
* ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
* ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
* ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
* ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
* ld-sparc/sparc.exp: Run them.
2006-04-05 20:41:59 +08:00
|
|
|
|
2006-04-05 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
|
|
|
|
|
* ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
|
|
|
|
|
* ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
|
|
|
|
|
* ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
|
|
|
|
|
* ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
|
|
|
|
|
* ld-sparc/sparc.exp: Run them.
|
|
|
|
|
|
2006-04-05 09:51:15 +08:00
|
|
|
|
2006-04-05 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp: Comment cleanups.
|
|
|
|
|
|
* elfxx-mips.c (mips_got_entry): Add more commentary.
(mips_elf_local_got_index): Use the hash table entry to record
the GOT index of forced-local symbols.
(mips_elf_initialize_tls_index): Rearrange code. Store the index
in either the hash table entry or the mips_got_entry, not both.
Add more commentary.
(mips_elf_multi_got): Make sure the g->next is nonnull when calling
mips_elf_initialize_tls_index.
* ld-mips-elf/tls-hidden3a.s, ld-mips-elf/tls-hidden3b.s,
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
* ld-mips-elf/tls-hidden3.ld, ld-mips-elf/tls-hidden3.r,
* ld-mips-elf/tls-hidden4a.s, ld-mips-elf/tls-hidden4b.s,
* ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
2006-03-27 19:30:54 +08:00
|
|
|
|
2006-03-27 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/tls-hidden3a.s, ld-mips-elf/tls-hidden3b.s,
|
|
|
|
|
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
|
|
|
|
|
* ld-mips-elf/tls-hidden3.ld, ld-mips-elf/tls-hidden3.r,
|
|
|
|
|
* ld-mips-elf/tls-hidden4a.s, ld-mips-elf/tls-hidden4b.s,
|
|
|
|
|
* ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: New tests.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run them.
|
|
|
|
|
|
2006-03-25 18:24:27 +08:00
|
|
|
|
2006-03-25 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-m68k/merge-error-1a.s, ld-m68k/merge-error-1b.s,
|
|
|
|
|
* ld-m68k/merge-error-1a.d, ld-m68k/merge-error-1b.d,
|
|
|
|
|
* ld-m68k/merge-error-1c.d, ld-m68k/merge-error-1d.d,
|
|
|
|
|
* ld-m68k/merge-error-1e.d, ld-m68k/merge-ok-1a.d,
|
|
|
|
|
* ld-m68k/merge-ok-1b.d: New tests.
|
|
|
|
|
* ld-m68k/m68k.exp: Run them.
|
|
|
|
|
|
Richard Sandiford <richard@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
Zack Weinberg <zack@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
bfd/
* bfd-in2.h: Regenerate.
* config.bfd (mips*-*-vxworks*, mips*el-*-vxworks*): New stanzas.
* configure.in (bfd_elf32_bigmips_vxworks_vec): New stanza.
(bfd_elf32_littlemips_vxworks_vec): Likewise.
(bfd_elf32_bigmips_vec): Add elf-vxworks.lo.
(bfd_elf32_littlemips_vec): Likewise.
(bfd_elf32_nbigmips_vec): Likewise.
(bfd_elf32_nlittlemips_vec): Likewise.
(bfd_elf32_ntradbigmips_vec): Likewise.
(bfd_elf32_ntradlittlemips_vec): Likewise.
(bfd_elf32_tradbigmips_vec): Likewise.
(bfd_elf32_tradlittlemips_vec): Likewise.
(bfd_elf64_bigmips_vec): Likewise.
(bfd_elf64_littlemips_vec): Likewise.
(bfd_elf64_tradbigmips_vec): Likewise.
(bfd_elf64_tradlittlemips_vec): Likewise.
* elf32-mips.c: Include elf-vxworks.h.
(mips_info_to_howto_rel): Use elf_backend_mips_rtype_to_howto
instead of calling mips_elf32_rtype_to_howto directly.
(mips_vxworks_copy_howto_rela): New reloc howto.
(mips_vxworks_jump_slot_howto_rela): Likewise.
(mips_vxworks_bfd_reloc_type_lookup): New function.
(mips_vxworks_rtype_to_howto): Likewise.
(mips_vxworks_final_write_processing): Likewise.
(TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Override for VxWorks.
(TARGET_BIG_SYM, TARGET_BIG_NAME, elf_bed, ELF_MAXPAGESIZE): Likewise.
(elf_backend_want_got_plt): Likewise.
(elf_backend_want_plt_sym): Likewise.
(elf_backend_got_symbol_offset): Likewise.
(elf_backend_want_dynbss): Likewise.
(elf_backend_may_use_rel_p): Likewise.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_got_header_size: Likewise.
(elf_backend_plt_readonly): Likewise.
(bfd_elf32_bfd_reloc_type_lookup): Likewise.
(elf_backend_mips_rtype_to_howto): Likewise.
(elf_backend_adjust_dynamic_symbol): Likewise.
(elf_backend_finish_dynamic_symbol): Likewise.
(bfd_elf32_bfd_link_hash_table_create): Likewise.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing: Likewise.
(elf_backend_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Likewise.
(elf_backend_symbol_processing): Likewise.
* elfxx-mips.c: Include elf-vxworks.h.
(mips_elf_link_hash_entry): Add is_relocation_target and
is_branch_target fields.
(mips_elf_link_hash_table): Add is_vxworks, srelbss, sdynbss, srelplt,
srelplt2, sgotplt, splt, plt_header_size and plt_entry_size fields.
(MIPS_ELF_RELA_SIZE, MIPS_ELF_REL_DYN_NAME): New macros.
(MIPS_RESERVED_GOTNO): Take a mips_elf_link_hash_table argument.
Return 3 for VxWorks.
(ELF_MIPS_GP_OFFSET): Change the argument from a bfd to a
mips_elf_link_hash_table. Return 0 for VxWorks.
(MIPS_ELF_GOT_MAX_SIZE): Change the argument from a bfd to a
mips_elf_link_hash_table. Update the call to ELF_MIPS_GP_OFFSET.
(mips_vxworks_exec_plt0_entry): New variable.
(mips_vxworks_exec_plt_entry): Likewise.
(mips_vxworks_shared_plt0_entry): Likewise.
(mips_vxworks_shared_plt_entry): Likewise.
(mips_elf_link_hash_newfunc): Initialize the new hash_entry fields.
(mips_elf_rel_dyn_section): Change the bfd argument to a
mips_elf_link_hash_table. Use MIPS_ELF_REL_DYN_NAME to get
the name of the section.
(mips_elf_initialize_tls_slots): Update the call to
mips_elf_rel_dyn_section.
(mips_elf_gotplt_index): New function.
(mips_elf_local_got_index): Add an input_section argument.
Update the call to mips_elf_create_local_got_entry.
(mips_elf_got_page): Likewise.
(mips_elf_got16_entry): Likewise.
(mips_elf_create_local_got_entry): Add bfd_link_info and input_section
arguments. Create dynamic relocations for each entry on VxWorks.
(mips_elf_merge_gots): Update the use of MIPS_ELF_GOT_MAX_SIZE.
(mips_elf_multi_got): Update the uses of MIPS_ELF_GOT_MAX_SIZE
and MIPS_RESERVED_GOTNO.
(mips_elf_create_got_section): Update the uses of
MIPS_ELF_GOT_MAX_SIZE. Create .got.plt on VxWorks.
(is_gott_symbol): New function.
(mips_elf_calculate_relocation): Use a dynobj local variable.
Update the calls to mips_elf_local_got_index, mips_elf_got16_entry and
mips_elf_got_page_entry. Set G to the .got.plt entry when calculating
VxWorks R_MIPS_CALL* relocations. Calculate and use G for all GOT
relocations on VxWorks. Add dynamic relocations for references
to the VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols. Don't
create dynamic relocations for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64
in VxWorks executables.
(mips_elf_allocate_dynamic_relocations): Add a bfd_link_info argument.
Use MIPS_ELF_RELA_SIZE to calculate the size of a VxWorks entry.
Don't allocate a null entry on VxWorks.
(mips_elf_create_dynamic_relocation): Update the call to
mips_elf_rel_dyn_section. Use absolute rather than relative
relocations for VxWorks, and make them RELA rather than REL.
(_bfd_mips_elf_create_dynamic_sections): Don't make .dynamic
read-only on VxWorks. Update the call to mips_elf_rel_dyn_section.
Create the .plt, .rela.plt, .dynbss and .rela.bss sections on
VxWorks. Likewise create the _PROCEDURE_LINKAGE_TABLE symbol.
Call elf_vxworks_create_dynamic_sections for VxWorks and
initialize the plt_header_size and plt_entry_size fields.
(_bfd_mips_elf_check_relocs): Don't allow GOT relocations to be
used in VxWorks executables. Don't allocate dynamic relocations
for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 in VxWorks executables.
Set is_relocation_target for each symbol referenced by a relocation.
Allocate .rela.dyn entries for relocations against the special
VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols. Create GOT
entries for all VxWorks R_MIPS_GOT16 relocations. Don't allocate
a global GOT entry for symbols mentioned in VxWorks R_MIPS_CALL*,
R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 relocations. Update the calls
to mips_elf_rel_dyn_section and mips_elf_allocate_dynamic_relocations.
Set is_branch_target for symbols mentioned in R_MIPS_PC16 or R_MIPS_26
relocations. Don't set no_fn_stub on VxWorks.
(_bfd_mips_elf_adjust_dynamic_symbol): Update the call to
mips_elf_allocate_dynamic_relocations.
(_bfd_mips_vxworks_adjust_dynamic_symbol): New function.
(_bfd_mips_elf_always_size_sections): Do not allocate GOT page
entries for VxWorks, and do not create multiple GOTs.
(_bfd_mips_elf_size_dynamic_sections): Use MIPS_ELF_REL_DYN_NAME.
Handle .got specially for VxWorks. Update the uses of
MIPS_RESERVED_GOTNO and mips_elf_allocate_dynamic_relocations.
Check for sgotplt and splt. Allocate the .rel(a).dyn contents last,
once its final size is known. Set DF_TEXTREL for VxWorks. Add
DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL, DT_PLTRELSZ and DT_JMPREL
tags on VxWorks. Do not add the MIPS-specific tags for VxWorks.
(_bfd_mips_vxworks_finish_dynamic_symbol): New function.
(mips_vxworks_finish_exec_plt): Likewise.
(mips_vxworks_finish_shared_plt): Likewise.
(_bfd_mips_elf_finish_dynamic_sections): Remove an unncessary call
to mips_elf_rel_dyn_section. Use a VxWorks-specific value of
DT_PLTGOT. Handle DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL,
DT_PLTRELSZ and DT_JMPREL. Update the uses of MIPS_RESERVED_GOTNO
and mips_elf_rel_dyn_section. Use a different GOT header for
VxWorks. Don't sort .rela.dyn on VxWorks. Finish the PLT on VxWorks.
(_bfd_mips_elf_link_hash_table_create): Initialize the new
mips_elf_link_hash_table fields.
(_bfd_mips_vxworks_link_hash_table_create): New function.
(_bfd_mips_elf_final_link): Set the GP value to _GLOBAL_OFFSET_TABLE_
on VxWorks. Update the call to ELF_MIPS_GP_OFFSET.
* elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Declare.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
(_bfd_mips_vxworks_link_hash_table_create): Likewise.
* libbfd.h: Regenerate.
* Makefile.am (elfxx-mips.lo): Depend on elf-vxworks.h.
(elf32-mips.lo): Likewise.
* Makefile.in: Regenerate.
* reloc.c (BFD_RELOC_MIPS_COPY, BFD_RELOC_MIPS_JUMP_SLOT): Declare.
* targets.c (bfd_elf32_bigmips_vxworks_vec): Declare.
(bfd_elf32_littlemips_vxworks_vec): Likewise.
(_bfd_target_vector): Add entries for them.
gas/
* config/tc-mips.c (mips_target_format): Handle vxworks targets.
(md_begin): Complain about -G being used for PIC. Don't change
the text, data and bss alignments on VxWorks.
(reloc_needs_lo_p): Don't return true for R_MIPS_GOT16 when
generating VxWorks PIC.
(load_address): Extend SVR4_PIC handling to VXWORKS_PIC.
(macro): Likewise, but do not treat la $25 specially for
VxWorks PIC, and do not handle jal.
(OPTION_MVXWORKS_PIC): New macro.
(md_longopts): Add -mvxworks-pic.
(md_parse_option): Don't complain about using PIC and -G together here.
Handle OPTION_MVXWORKS_PIC.
(md_estimate_size_before_relax): Always use the first relaxation
sequence on VxWorks.
* config/tc-mips.h (VXWORKS_PIC): New.
gas/testsuite/
* gas/mips/vxworks1.s, gas/mips/vxworks1.d,
* gas/mips/vxworks1-xgot.d: New tests.
* gas/mips/mips.exp: Run them. Do not run other tests on VxWorks.
include/elf/
* mips.h (R_MIPS_COPY, R_MIPS_JUMP_SLOT): New relocs.
ld/
* configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
separate VxWorks emulations.
* emulparams/elf32ebmipvxworks.sh: New file.
* emulparams/elf32elmipvxworks.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
eelf32elmipvxworks.o.
(eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-mips/vxworks1.dd, ld-mips/vxworks1.ld, ld-mips/vxworks1-lib.dd,
* ld-mips/vxworks1-lib.nd, ld-mips/vxworks1-lib.rd,
* ld-mips/vxworks1-lib.s, ld-mips/vxworks1.rd, ld-mips/vxworks1.s,
* ld-mips/vxworks1-static.d, ld-mips/vxworks2.s, ld-mips/vxworks2.sd,
* ld-mips/vxworks2-static.sd: New tests.
* ld-mips/mips-elf.exp: Run them.
2006-03-22 17:28:15 +08:00
|
|
|
|
2006-03-22 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips/vxworks1.dd, ld-mips/vxworks1.ld, ld-mips/vxworks1-lib.dd,
|
|
|
|
|
* ld-mips/vxworks1-lib.nd, ld-mips/vxworks1-lib.rd,
|
|
|
|
|
* ld-mips/vxworks1-lib.s, ld-mips/vxworks1.rd, ld-mips/vxworks1.s,
|
|
|
|
|
* ld-mips/vxworks1-static.d, ld-mips/vxworks2.s, ld-mips/vxworks2.sd,
|
|
|
|
|
* ld-mips/vxworks2-static.sd: New tests.
|
|
|
|
|
* ld-mips/mips-elf.exp: Run them.
|
|
|
|
|
|
2006-03-17 14:44:37 +08:00
|
|
|
|
2006-03-17 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tls32.s: Verify that +32768 @plt addend is
|
|
|
|
|
discarded.
|
|
|
|
|
|
2006-03-14 15:47:49 +08:00
|
|
|
|
2006-03-14 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
|
|
|
|
|
* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
|
|
|
|
|
* ld-mips/mips-elf.exp: Run it.
|
|
|
|
|
|
bfd/
* configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
(bfd_elf32_bigarm_symbian_vec): Likewise.
(bfd_elf32_bigarm_vxworks_vec): Likewise.
(bfd_elf32_littlearm_vec): Likewise.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(bfd_elf32_littlearm_vxworks_vec): Likewise.
* configure: Regenerate.
* elf32-arm.c: Include libiberty.h and elf-vxworks.h.
(RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
(elf32_arm_vxworks_bed): Add forward declaration.
(elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
(elf32_arm_vxworks_exec_plt0_entry): New table.
(elf32_arm_vxworks_exec_plt_entry): Likewise.
(elf32_arm_vxworks_shared_plt_entry): Likewise.
(elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
(reloc_section_p): New function.
(create_got_section): Use RELOC_SECTION.
(elf32_arm_create_dynamic_sections): Likewise. Call
elf_vxworks_create_dynamic_sections for VxWorks targets.
Choose between the two possible values of plt_header_size
and plt_entry_size.
(elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
(elf32_arm_abs12_reloc): New function.
(elf32_arm_final_link_relocate): Call it. Allow the creation of
dynamic R_ARM_ABS12 relocs on VxWorks. Use reloc_section_p,
RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION. Initialize the
r_addend fields of relocs. On rela targets, skip any code that
adjusts in-place addends. When using _bfd_link_final_relocate
to perform a final relocation, pass rel->r_addend as the addend
argument.
(elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
object, ignore flags that are not standard on VxWorks.
(elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
relocs on VxWorks. Use reloc_section_p.
(elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
(allocate_dynrelocs): Use RELOC_SIZE. Account for the size of
.rela.plt.unloaded relocs on VxWorks targets.
(elf32_arm_size_dynamic_sections): Use RELOC_SIZE. Check for
.rela.plt.unloaded as well as .rel(a).plt. Add DT_RELA* tags
instead of DT_REL* tags on RELA targets.
(elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle VxWorks
PLT entries. Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle DT_RELASZ
like DT_RELSZ. Handle the VxWorks form of initial PLT entry.
Correct the .rela.plt.unreloaded symbol indexes.
(elf32_arm_output_symbol_hook): Call the VxWorks version of this
hook on VxWorks targets.
(elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
Minor formatting tweak.
(elf32_arm_vxworks_final_write_processing): New function.
(elf_backend_add_symbol_hook): Override for VxWorks and reset
for Symbian.
(elf_backend_final_write_processing): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_want_plt_sym): Likewise.
(ELF_MAXPAGESIZE): Likewise.
(elf_backend_may_use_rel_p): Minor formatting tweak.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_rela_normal): Likewise.
* Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
gas/
* config/tc-arm.c (md_apply_fix): Install a value of zero into a
BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
R_ARM_ABS12 reloc.
(tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
gas/testsuite/
* gas/arm/abs12.s, gas/arm/abs12.d: New test.
* gas/arm/pic.d: Skip for *-*-vxworks*...
* gas/arm/pic_vxworks.d: ...use this version instead.
* gas/arm/unwind_vxworks.d: Fix expected output.
ld/
* emulparams/armelf_vxworks.sh: Include vxworks.sh.
(MAXPAGESIZE): Define.
* emulparams/vxworks.sh: Undefine.
* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
* ld-arm/vxworks2-static.sd: New tests.
* ld-arm/arm-elf.exp: Run them.
2006-03-07 16:39:21 +08:00
|
|
|
|
2006-03-07 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
|
|
|
|
|
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
|
|
|
|
|
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
|
|
|
|
|
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
|
|
|
|
|
* ld-arm/vxworks2-static.sd: New tests.
|
|
|
|
|
* ld-arm/arm-elf.exp: Run them.
|
|
|
|
|
|
2006-03-06 21:42:05 +08:00
|
|
|
|
2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-m68k: New tests.
|
|
|
|
|
|
2006-03-03 17:32:01 +08:00
|
|
|
|
2006-03-03 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/vxworks1-static.d, ld-i386/vxworks2.s,
|
|
|
|
|
* ld-i386/vxworks2.sd, ld-i386/vxworks2-static.sd: New tests.
|
|
|
|
|
* ld-i386/i386.exp: Run them.
|
|
|
|
|
* ld-powerpc/vxworks1-static.d, ld-powerpc/vxworks2.s,
|
|
|
|
|
* ld-powerpc/vxworks2.sd, ld-powerpc/vxworks2-static.sd: New tests.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run them.
|
|
|
|
|
|
2006-03-02 23:16:27 +08:00
|
|
|
|
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/vxworks1.ld: Use a page alignment of 0x10000.
|
|
|
|
|
* ld-powerpc/vxworks1.dd: Update accordingly.
|
|
|
|
|
* ld-powerpc/vxworks1-lib.nd: Likewise.
|
|
|
|
|
* ld-powerpc/vxworks1-lib.rd: Likewise.
|
|
|
|
|
* ld-powerpc/vxworks1.rd: Likewise.
|
|
|
|
|
|
2006-03-02 17:44:23 +08:00
|
|
|
|
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/vxworks1.ld (.data): New section.
|
|
|
|
|
* ld-i386/vxworks1-lib.s: Add a pointer to a local symbol.
|
|
|
|
|
* ld-i386/vxworks1-lib.rd: Test for the associated reloc.
|
|
|
|
|
* ld-powerpc/vxworks1.ld (.data): New section.
|
|
|
|
|
* ld-powerpc/vxworks1-lib.s: Add a pointer to a local symbol.
|
|
|
|
|
* ld-powerpc/vxworks1-lib.rd: Test for the associated reloc.
|
|
|
|
|
|
2006-03-02 16:57:00 +08:00
|
|
|
|
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/ld-i386/vxworks1-lib.nd: New test.
|
|
|
|
|
* ld-i386/i386.exp: Run it.
|
|
|
|
|
* ld-powerpc/ld-powerpc/vxworks1-lib.nd: New test.
|
|
|
|
|
* ld-powerpc/powerc.exp: Run it.
|
|
|
|
|
|
2006-03-02 16:54:43 +08:00
|
|
|
|
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/vxworks1.ld: Use bigger alignments. Make sure .bss isn't
|
|
|
|
|
placed as an orphan.
|
|
|
|
|
* ld-i386/vxworks1-lib.dd, ld-i386/vxworks1.dd,
|
|
|
|
|
* ld-i386/vxworks1.rd: Update accordingly.
|
|
|
|
|
* ld-i386/vxworks1-lib.rd: Likewise. Remove symbol indexes.
|
|
|
|
|
|
bfd/
* elf32-ppc.c (ppc_elf_plt_type): New enumeration.
(ppc_elf_link_hash_table): Replace old_got and new_got with
plt_type and can_use_new_plt.
(ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
(ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
(ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
either plt_type == PLT_OLD or plt_type == PLT_NEW. Assert that
this function should not be called for VxWorks targets.
(ppc_elf_tls_setup): Use plt_type instead of old_got.
(allocate_got): Likewise. Rearrange so that max_before_header
is only used for PLT_OLD and PLT_NEW.
(allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relax_section): Likewise.
(ppc_elf_relocate_section): Likewise.
(ppc_elf_finish_dynamic_symbol): Likewise.
(ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
ld/
* emulparams/elf32ppccommon.sh: New file, extracted from...
* emulparams/elf32ppc.sh: ...here.
* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
instead of elf32ppc.sh.
(BSS_PLT): Remove override.
* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
(eelf32ppclinux.c): Likewise.
(eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
* ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
* ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
* ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
* ld-powerpc/powerpc.exp: Run it.
2006-03-02 16:50:04 +08:00
|
|
|
|
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
|
|
|
|
|
* ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
|
|
|
|
|
* ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
|
|
|
|
|
* ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run it.
|
|
|
|
|
|
2006-02-28 15:17:33 +08:00
|
|
|
|
2006-02-28 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/vxworks1-lib.s, ld-i386/vxworks1-lib.dd,
|
|
|
|
|
* ld-i386/vxworks1-lib.rd, ld-i386/vxworks1.s, ld-i386/vxworks1.dd,
|
|
|
|
|
* ld-i386/vxworks1.rd, ld-i386/vxworks1.ld: New test.
|
|
|
|
|
* ld-i386/i386.exp: Run it.
|
|
|
|
|
|
2006-02-28 15:16:12 +08:00
|
|
|
|
2006-02-28 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/emit-relocs.s, ld-i386/emit-relocs.d: New test.
|
|
|
|
|
* ld-i386/i386.exp: Run it.
|
|
|
|
|
|
2006-02-24 06:23:26 +08:00
|
|
|
|
2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-pie/weakundef-data.c: Fix the typo.
|
|
|
|
|
|
2006-02-23 01:41:04 +08:00
|
|
|
|
2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-pie/pie.c: New file.
|
|
|
|
|
|
|
|
|
|
* ld-pie/pie.exp: Check if compiler supports -pie.
|
|
|
|
|
|
2006-02-21 04:11:00 +08:00
|
|
|
|
2006-02-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2218
|
|
|
|
|
* ld-pie/pie.exp: Add the weak undefined data test.
|
|
|
|
|
|
|
|
|
|
* ld-pie/weakundef-data.c: New file.
|
|
|
|
|
|
2006-02-17 22:36:28 +08:00
|
|
|
|
2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
|
2006-02-21 04:11:00 +08:00
|
|
|
|
Anil Paranjape <anilp1@kpitcummins.com>
|
|
|
|
|
Shilin Shakti <shilins@kpitcummins.com>
|
2006-02-17 22:36:28 +08:00
|
|
|
|
|
|
|
|
|
* ld-xc16x: New directory.
|
|
|
|
|
* ld-xc16x/absrel.d: New file.
|
|
|
|
|
* ld-xc16x/absrel.s: New file.
|
|
|
|
|
* ld-xc16x/offset.d: New file.
|
|
|
|
|
* ld-xc16x/offset.s: New file.
|
|
|
|
|
* ld-xc16x/pcreloc.d: New file.
|
|
|
|
|
* ld-xc16x/pcreloc.s: New file.
|
|
|
|
|
* ld-xc16x/xc16x.exp: New file.
|
|
|
|
|
|
2006-02-07 11:50:20 +08:00
|
|
|
|
2006-02-07 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add thumb-entry test.
|
|
|
|
|
* ld-arm/thumb-entry.d: New test.
|
|
|
|
|
* ld-arm/thumb-entry.s: New test.
|
|
|
|
|
|
2006-02-04 16:29:58 +08:00
|
|
|
|
2006-02-04 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/tls-hidden2a.s, ld-mips-elf/tls-hidden2b.s,
|
|
|
|
|
* ld/testsuite/ld-mips-elf/tls-hidden2.d,
|
|
|
|
|
* ld/testsuite/ld-mips-elf/tls-hidden2-got.d: New test.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run it.
|
|
|
|
|
|
2006-02-04 16:28:29 +08:00
|
|
|
|
2006-02-04 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour.
|
|
|
|
|
* ld-mips-elf/rel32-o32.d: Likewise.
|
|
|
|
|
* ld-mips-elf/rel64.d: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tls-multi-got-1.r: 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/tlslib-o32-hidden.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
|
|
|
|
|
* ld-mips-elf/tlslib-o32.got: Likewise.
|
|
|
|
|
|
2006-02-03 06:53:46 +08:00
|
|
|
|
2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/tlsbin.rd: Undo the last change.
|
|
|
|
|
* ld-i386/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsdesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsnopic.rd: Likewise.
|
|
|
|
|
* ld-i386/tlspic.rd: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe32.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso32.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.r: Likewise.
|
|
|
|
|
* ld-s390/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-s390/tlsbin_64.rd: Likewise.
|
|
|
|
|
* ld-s390/tlspic.rd: Likewise.
|
|
|
|
|
* ld-s390/tlspic_64.rd: Likewise.
|
|
|
|
|
* ld-sh/tlsbin-2.d: Likewise.
|
|
|
|
|
* ld-sh/tlspic-2.d: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlspic.rd: Likewise.
|
|
|
|
|
|
2006-02-03 06:05:56 +08:00
|
|
|
|
2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/tlsbin.rd: Update for changed segment map.
|
2006-02-03 06:16:02 +08:00
|
|
|
|
* ld-i386/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-i386/tlsdesc.rd: Likewise.
|
2006-02-03 06:05:56 +08:00
|
|
|
|
* ld-i386/tlsnopic.rd: Likewise.
|
|
|
|
|
* ld-i386/tlspic.rd: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexe32.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsexetoc.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlsso32.r: Likewise.
|
|
|
|
|
* ld-powerpc/tlstocso.r: Likewise.
|
|
|
|
|
* ld-s390/tlsbin.rd: Likewise.
|
|
|
|
|
* ld-s390/tlsbin_64.rd: Likewise.
|
|
|
|
|
* ld-s390/tlspic.rd: Likewise.
|
|
|
|
|
* ld-s390/tlspic_64.rd: Likewise.
|
|
|
|
|
* ld-sh/tlsbin-2.d: Likewise.
|
|
|
|
|
* ld-sh/tlspic-2.d: Likewise.
|
|
|
|
|
* ld-x86-64/tlsbin.rd: Likewise.
|
2006-02-03 06:16:02 +08:00
|
|
|
|
* ld-x86-64/tlsbindesc.rd: Likewise.
|
|
|
|
|
* ld-x86-64/tlsdesc.rd: Likewise.
|
2006-02-03 06:05:56 +08:00
|
|
|
|
* ld-x86-64/tlspic.rd: Likewise.
|
|
|
|
|
|
2006-02-01 07:49:32 +08:00
|
|
|
|
2006-01-31 Eric Botcazou <ebotcazou@libertysurf.fr>
|
|
|
|
|
|
|
|
|
|
* ld-sparc/sparc.exp: Do not run 64-bit tests on Solaris 2.5.1
|
|
|
|
|
and Solaris 2.6.
|
|
|
|
|
|
2006-01-27 22:32:04 +08:00
|
|
|
|
2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2218
|
|
|
|
|
* ld-pie/pie.exp: New file.
|
|
|
|
|
* ld-pie/weakundef.c: Likewise.
|
|
|
|
|
* ld-pie/weakundef.out: Likewise.
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_ld_link_exec_tests): Fix nesting. Support
|
|
|
|
|
building PIE and shared library.
|
|
|
|
|
|
include/elf/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New.
* i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC):
New.
* x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
R_X86_64_TLSDESC): New.
bfd/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-i386.c (elf_howto_table): New relocations.
(R_386_tls): Adjust.
(elf_i386_reloc_type_lookup): Map new relocations.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf_i386_link_hash_entry): Add tlsdesc_got field.
(struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
(elf_i386_local_tlsdesc_gotent): New macro.
(struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
(elf_i386_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
(elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_check_relocs): Likewise. Allocate space for
local_tlsdesc_gotent.
(elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(allocate_dynrelocs): Count function PLT relocations. Reserve
space for TLS descriptors and relocations.
(elf_i386_size_dynamic_sections): Reserve space for TLS
descriptors and relocations. Set up sgotplt_jump_table_size.
Don't zero reloc_count in srelplt.
(elf_i386_always_size_sections): New. Set up _TLS_MODULE_BASE_.
(elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf_backend_always_size_sections): Define.
* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
(R_X86_64_standard): Adjust.
(x86_64_reloc_map): Map new relocs.
(elf64_x86_64_rtype_to_howto): New, split out of...
(elf64_x86_64_info_to_howto): ... this function, and...
(elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
(struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
(elf64_x86_64_local_tlsdesc_gotent): New macro.
(struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
tlsdesc_got and sgotplt_jump_table_size fields.
(elf64_x86_64_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf64_x86_64_link_hash_table_create): Initialize new fields.
(elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(elf64_x86_64_check_relocs): Likewise. Allocate space for
local_tlsdesc_gotent.
(elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(allocate_dynrelocs): Count function PLT relocations. Reserve
space for TLS descriptors and relocations.
(elf64_x86_64_size_dynamic_sections): Reserve space for TLS
descriptors and relocations. Set up sgotplt_jump_table_size,
tlsdesc_plt and tlsdesc_got. Make room for them. Don't zero
reloc_count in srelplt. Add dynamic entries for DT_TLSDESC_PLT
and DT_TLSDESC_GOT.
(elf64_x86_64_always_size_sections): New. Set up
_TLS_MODULE_BASE_.
(elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
DT_TLSDESC_GOT. Set up TLS descriptor lazy resolver PLT entry.
(elf_backend_always_size_sections): Define.
binutils/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
DT_TLSDESC_PLT.
gas/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* config/tc-i386.c (tc_i386_fix_adjustable): Handle
BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
(optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
displacement bits.
(build_modrm_byte): Set up zero modrm for TLS desc calls.
(lex_got): Handle @tlsdesc and @tlscall.
(md_apply_fix, tc_gen_reloc): Handle the new relocations.
ld/testsuite/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
Add new tests.
* ld-i386/pcrel16.d: Add -melf_i386.
* ld-i386/pcrel8.d: Likewise.
* ld-i386/tlsbindesc.dd: New.
* ld-i386/tlsbindesc.rd: New.
* ld-i386/tlsbindesc.s: New.
* ld-i386/tlsbindesc.sd: New.
* ld-i386/tlsbindesc.td: New.
* ld-i386/tlsdesc.dd: New.
* ld-i386/tlsdesc.rd: New.
* ld-i386/tlsdesc.s: New.
* ld-i386/tlsdesc.sd: New.
* ld-i386/tlsdesc.td: New.
* ld-i386/tlsgdesc.dd: New.
* ld-i386/tlsgdesc.rd: New.
* ld-i386/tlsgdesc.s: New.
* ld-x86-64/x86-64.exp: Run new tests.
* ld-x86-64/tlsbindesc.dd: New.
* ld-x86-64/tlsbindesc.rd: New.
* ld-x86-64/tlsbindesc.s: New.
* ld-x86-64/tlsbindesc.sd: New.
* ld-x86-64/tlsbindesc.td: New.
* ld-x86-64/tlsdesc.dd: New.
* ld-x86-64/tlsdesc.pd: New.
* ld-x86-64/tlsdesc.rd: New.
* ld-x86-64/tlsdesc.s: New.
* ld-x86-64/tlsdesc.sd: New.
* ld-x86-64/tlsdesc.td: New.
* ld-x86-64/tlsgdesc.dd: New.
* ld-x86-64/tlsgdesc.rd: New.
* ld-x86-64/tlsgdesc.s: New.
2006-01-19 05:07:51 +08:00
|
|
|
|
2006-01-18 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
Introduce TLS descriptors for i386 and x86_64.
|
|
|
|
|
* ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
|
|
|
|
|
Add new tests.
|
|
|
|
|
* ld-i386/pcrel16.d: Add -melf_i386.
|
|
|
|
|
* ld-i386/pcrel8.d: Likewise.
|
|
|
|
|
* ld-i386/tlsbindesc.dd: New.
|
|
|
|
|
* ld-i386/tlsbindesc.rd: New.
|
|
|
|
|
* ld-i386/tlsbindesc.s: New.
|
|
|
|
|
* ld-i386/tlsbindesc.sd: New.
|
|
|
|
|
* ld-i386/tlsbindesc.td: New.
|
|
|
|
|
* ld-i386/tlsdesc.dd: New.
|
|
|
|
|
* ld-i386/tlsdesc.rd: New.
|
|
|
|
|
* ld-i386/tlsdesc.s: New.
|
|
|
|
|
* ld-i386/tlsdesc.sd: New.
|
|
|
|
|
* ld-i386/tlsdesc.td: New.
|
|
|
|
|
* ld-i386/tlsgdesc.dd: New.
|
|
|
|
|
* ld-i386/tlsgdesc.rd: New.
|
|
|
|
|
* ld-i386/tlsgdesc.s: New.
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run new tests.
|
|
|
|
|
* ld-x86-64/tlsbindesc.dd: New.
|
|
|
|
|
* ld-x86-64/tlsbindesc.rd: New.
|
|
|
|
|
* ld-x86-64/tlsbindesc.s: New.
|
|
|
|
|
* ld-x86-64/tlsbindesc.sd: New.
|
|
|
|
|
* ld-x86-64/tlsbindesc.td: New.
|
|
|
|
|
* ld-x86-64/tlsdesc.dd: New.
|
|
|
|
|
* ld-x86-64/tlsdesc.pd: New.
|
|
|
|
|
* ld-x86-64/tlsdesc.rd: New.
|
|
|
|
|
* ld-x86-64/tlsdesc.s: New.
|
|
|
|
|
* ld-x86-64/tlsdesc.sd: New.
|
|
|
|
|
* ld-x86-64/tlsdesc.td: New.
|
|
|
|
|
* ld-x86-64/tlsgdesc.dd: New.
|
|
|
|
|
* ld-x86-64/tlsgdesc.rd: New.
|
|
|
|
|
* ld-x86-64/tlsgdesc.s: New.
|
|
|
|
|
|
2006-01-03 15:03:26 +08:00
|
|
|
|
2006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
|
|
|
|
|
|
|
|
|
|
* ld-mmix/sec-1.d: Adjust for section order changes.
|
|
|
|
|
|
2006-01-17 07:15:07 +08:00
|
|
|
|
For older changes see ChangeLog-2005
|
2004-01-02 19:16:21 +08:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|