binutils-gdb/gas/doc
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
..
all.texi
as.texinfo Add assembler, disassembler and linker support for power9. 2015-11-11 19:52:52 -06:00
c-aarch64.texi [AArch64][Patch 1/5] Support the ARMv8.2 Statistical Profiling Extension. 2015-12-11 09:30:26 +00:00
c-alpha.texi
c-arc.texi New ARC implementation. 2015-10-07 14:20:19 +01:00
c-arm.texi [ARM] Add support for thumb1 pcrop relocations. 2015-12-16 10:19:51 +01:00
c-avr.texi
c-bfin.texi
c-cr16.texi
c-cris.texi
c-d10v.texi
c-d30v.texi
c-epiphany.texi
c-h8300.texi
c-hppa.texi
c-i370.texi
c-i386.texi
c-i860.texi
c-i960.texi
c-ia64.texi
c-ip2k.texi
c-lm32.texi
c-m32c.texi
c-m32r.texi
c-m68hc11.texi
c-m68k.texi
c-metag.texi
c-microblaze.texi
c-mips.texi
c-mmix.texi
c-msp430.texi Remove refernces to a non-existent silicon errata. 2015-12-15 16:21:29 +00:00
c-mt.texi
c-nds32.texi
c-nios2.texi
c-ns32k.texi
c-pdp11.texi
c-pj.texi
c-ppc.texi Add assembler, disassembler and linker support for power9. 2015-11-11 19:52:52 -06:00
c-rl78.texi rl78: relaxation fixes 2015-12-08 01:29:25 -05:00
c-rx.texi Add support for RX V2 Instruction Set 2015-12-15 09:26:56 +00:00
c-s390.texi Add support for extensions in the .machine pseudoop on S/390, e.g. ".machine zEC12+nohtm+vx" 2015-09-29 13:22:07 +01:00
c-score.texi
c-sh64.texi
c-sh.texi
c-sparc.texi gas: documentation for the SPARC %dN and %qN fp registers notation 2015-12-10 11:03:17 -05:00
c-tic6x.texi
c-tic54x.texi
c-tilegx.texi
c-tilepro.texi
c-v850.texi
c-vax.texi
c-visium.texi
c-xc16x.texi
c-xgate.texi
c-xstormy16.texi
c-xtensa.texi xtensa: add --auto-litpools option 2015-08-12 20:19:58 +03:00
c-z8k.texi
c-z80.texi
fdl.texi
h8.texi
internals.texi
Makefile.am
Makefile.in