old-cross-binutils/ld/testsuite
H.J. Lu 8fd4256dd0 Add x86 size relocation support to gas
gas/

	* config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
	(tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
	BFD_RELOC_64_SIZE relocations.
	(lex_got): Support "symbol@SIZE" and don't create GOT symbol
	for it.
	(tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
	relocations against local symbols.

gas/testsuite/

	* gas/i386/i386.exp: Run size-1, size-2, size-3, size-4,
	x86-64-size-1, x86-64-size-2, x86-64-size-3, x86-64-size-4,
	x86-64-size-5 and x86-64-size-inval-1.

	* gas/i386/size-1.d: New file.
	* gas/i386/size-1.s: Likewise.
	* gas/i386/size-2.d: Likewise.
	* gas/i386/size-2.s: Likewise.
	* gas/i386/size-3.d: Likewise.
	* gas/i386/size-3.s: Likewise.
	* gas/i386/size-4.d: Likewise.
	* gas/i386/size-4.s: Likewise.
	* gas/i386/x86-64-size-1.d: Likewise.
	* gas/i386/x86-64-size-2.d: Likewise.
	* gas/i386/x86-64-size-3.d: Likewise.
	* gas/i386/x86-64-size-4.d: Likewise.
	* gas/i386/x86-64-size-5.d: Likewise.
	* gas/i386/x86-64-size-5.s: Likewise.
	* gas/i386/x86-64-size-inval-1.l: Likewise.
	* gas/i386/x86-64-size-inval-1.s: Likewise.
	* gas/i386/ilp32/x86-64-size-1.d: Likewise.
	* gas/i386/ilp32/x86-64-size-2.d: Likewise.
	* gas/i386/ilp32/x86-64-size-3.d: Likewise.
	* gas/i386/ilp32/x86-64-size-4.d: Likewise.
	* gas/i386/ilp32/x86-64-size-5.d: Likewise.

ld/testsuite/

	* ld-size/size.exp: New file.
	* ld-size/size32-1-i386.d: Likewise.
	* ld-size/size32-1-x32.d: Likewise.
	* ld-size/size32-1-x86-64.d: Likewise.
	* ld-size/size32-1.s: Likewise.
	* ld-size/size32-2-i386.d: Likewise.
	* ld-size/size32-2-x32.d: Likewise.
	* ld-size/size32-2-x86-64.d: Likewise.
	* ld-size/size32-2.s: Likewise.
	* ld-size/size64-1-x32.d: Likewise.
	* ld-size/size64-1-x86-64.d: Likewise.
	* ld-size/size64-1.s: Likewise.
	* ld-size/size64-2-x32.d: Likewise.
	* ld-size/size64-2-x86-64.d: Likewise.
	* ld-size/size64-2.s: Likewise.
	* ld-size/size-3.c: Likewise.
	* ld-size/size-3.out: Likewise.
	* ld-size/size-3a.c: Likewise.
	* ld-size/size-3b.c: Likewise.
	* ld-size/size-3c.c: Likewise.
	* ld-size/size-4.out: Likewise.
	* ld-size/size-4a.c: Likewise.
	* ld-size/size-4b.c: Likewise.
	* ld-size/size-5.out: Likewise.
	* ld-size/size-5a.c: Likewise.
	* ld-size/size-5b.c: Likewise.
	* ld-size/size-6.out: Likewise.
	* ld-size/size-6a.c: Likewise.
	* ld-size/size-6b.c: Likewise.
	* ld-size/size-7.rd: Likewise.
	* ld-size/size-7a.c: Likewise.
	* ld-size/size-7b.c: Likewise.
	* ld-size/size-8.rd: Likewise.
	* ld-size/size-8a.c: Likewise.
	* ld-size/size-8b.c: Likewise.
2013-01-17 04:28:48 +00:00
..
config
ld-aarch64 opcodes/ 2013-01-04 14:59:33 +00:00
ld-alpha ld/ 2012-06-15 15:13:41 +00:00
ld-arm oops accidentally omitted from previous delta 2012-10-31 08:42:11 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris Trim last, empty, line 2012-06-18 06:19:02 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf * ld-elf/pr14926.d: Disable for d10v, msp, xstormy. 2013-01-14 13:23:05 +00:00
ld-elfcomm
ld-elfvers Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-elfvsb Remove address check if HIDDEN_UNDEF_TEST is defined 2012-10-25 03:59:37 +00:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
ld-h8300
ld-i386 ld/testsuite/ 2013-01-08 10:24:46 +00:00
ld-ia64 ld/ 2012-06-15 15:13:41 +00:00
ld-ifunc Properly adjust h->plt.refcount 2012-12-21 18:15:22 +00:00
ld-libs
ld-linkonce
ld-m68hc11 2012-11-07 James Murray <jsm@jsm-net.demon.co.uk> 2012-11-07 20:35:02 +00:00
ld-m68k
ld-mep
ld-metag oops - omitted from previous delta 2013-01-11 09:53:22 +00:00
ld-mips-elf * ld-mips-elf/attr-gnu-4-45.d: Add missing "readelf" keyword. 2012-12-03 16:26:30 +00:00
ld-misc
ld-mmix * ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols 2012-09-09 16:31:12 +00:00
ld-mn10300
ld-pe
ld-pie
ld-plugin * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline. 2013-01-16 08:14:35 +00:00
ld-powerpc bfd/ 2013-01-15 06:13:26 +00:00
ld-s390 ld/ 2012-06-15 15:13:41 +00:00
ld-scripts * ld-scripts/pr14962.d: Don't run for mmix-knuth-mmixware. Add 2012-12-30 20:15:07 +00:00
ld-selective
ld-sh bfd/ 2012-10-23 09:33:56 +00:00
ld-shared Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-size Add x86 size relocation support to gas 2013-01-17 04:28:48 +00:00
ld-sparc ld/ 2012-06-15 15:13:41 +00:00
ld-spu ld/ 2012-06-15 15:13:41 +00:00
ld-srec Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-tic6x Add copyright notices 2012-12-17 16:56:12 +00:00
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-vax-elf bfd/ 2012-08-05 22:45:20 +00:00
ld-versados
ld-vxworks
ld-x86-64 Don't optimize relocation against _DYNAMIC 2012-09-01 02:50:14 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib ld/testsuite/ 2012-12-14 11:58:59 +00:00
ChangeLog Add x86 size relocation support to gas 2013-01-17 04:28:48 +00:00
ChangeLog-2004 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2007 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2008 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2009 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2010 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012 Rotate binutils ChangeLog for 2013 2013-01-02 17:06:32 +00:00
ChangeLog-9303 Add copyright notices 2012-12-10 12:48:03 +00:00