binutils-gdb/ld/testsuite
Mickael Guene 72d98d16ed [ARM] Add support for thumb1 pcrop relocations.
To support thumb1 execute-only code we need to support four new
relocations (R_ARM_THM_ALU_ABS_G0_NC, R_ARM_THM_ALU_ABS_G1_NC,
R_ARM_THM_ALU_ABS_G2_NC and  R_ARM_THM_ALU_ABS_G3_NC).
These relocations allow the static linker to finalize construction
of symbol address.
Typical sequence of code to get address of the symbol foo is then
the following :
	movs	r3, #:upper8_15:#foo
	lsls	r3, #8
	adds	r3, #:upper0_7:#foo
	lsls	r3, #8
	adds	r3, #:lower8_15:#foo
	lsls	r3, #8
	adds	r3, #:lower0_7:#foo
This will give following sequence of text and relocations after
assembly :
   4:	2300      	movs	r3, #0
			4: R_ARM_THM_ALU_ABS_G3_NC	foo
   6:	021b      	lsls	r3, r3, #8
   8:	3300      	adds	r3, #0
			8: R_ARM_THM_ALU_ABS_G2_NC	foo
   a:	021b      	lsls	r3, r3, #8
   c:	3300      	adds	r3, #0
			c: R_ARM_THM_ALU_ABS_G1_NC	foo
   e:	021b      	lsls	r3, r3, #8
  10:	3300      	adds	r3, #0
			10: R_ARM_THM_ALU_ABS_G0_NC	foo
2015-12-16 10:19:51 +01:00
..
config objcopy --extract-symbol testcase 2015-10-15 23:38:29 +10:30
ld-aarch64 Revert "[LD][AARCH64]Add TLSIE relaxation support under large memory model." 2015-11-12 15:16:40 +00:00
ld-alpha
ld-arm [ARM] Add support for thumb1 pcrop relocations. 2015-12-16 10:19:51 +01:00
ld-auto-import
ld-avr
ld-bootstrap
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf ld: relax alignment requirements of compressed .debug_* section checks 2015-12-07 17:52:25 +01:00
ld-elfcomm
ld-elfvers Pass $PLT_CFLAGS to build_binary 2015-07-27 05:13:55 -07:00
ld-elfvsb Pass $PLT_CFLAGS to ld_compile 2015-07-27 05:15:01 -07:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc xfail pr19161 test on hppa-linux 2015-10-27 18:09:21 +10:30
ld-h8300
ld-i386 Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
ld-ia64
ld-ifunc Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf 2015-10-29 Catherine Moore <clm@codesourcery.com> 2015-10-29 06:58:16 -07:00
ld-misc
ld-mmix
ld-mn10300
ld-nds32
ld-nios2
ld-pe
ld-pie
ld-plugin ld -r doesn't need plugin for slim lto object 2015-12-10 12:35:50 -08:00
ld-powerpc Add assembler, disassembler and linker support for power9. 2015-11-11 19:52:52 -06:00
ld-s390
ld-scripts Allow mmix-knuth-mmixware adjustments to objcopy --extract-symbols test. 2015-10-22 16:16:09 +02:00
ld-selective
ld-sh
ld-shared Pass $PLT_CFLAGS to ld_compile 2015-07-27 05:17:26 -07:00
ld-size Move run-time support check for size relocation 2015-07-29 10:52:38 -07:00
ld-sparc
ld-spu
ld-srec Append $PLT_CFLAGS to CC/CXX for S-records tests 2015-07-27 05:18:20 -07:00
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined ld: Add '--require-defined' command line option. 2015-08-04 10:00:05 +01:00
ld-unique
ld-v850
ld-vax-elf
ld-versados
ld-visium
ld-vxworks
ld-x86-64 Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib Skip IFUNC relocations in debug sections 2015-08-11 12:59:11 -07:00
ChangeLog ld -r doesn't need plugin for slim lto object 2015-12-10 12:35:50 -08:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-9303