binutils-gdb/ld/testsuite/ld-arm/gc-thumb.s
Richard Sandiford 1e81e12b2c bfd/
* elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered
	dynamic relocs for the removed section.

ld/testsuite/
	* ld-arm/gc-thumb-lib.s, ld-arm/gc-thumb.s,
	ld-arm/gc-thumb.d: New test.
	* ld-arm/arm-elf.exp: Run it.
2011-01-17 16:36:15 +00:00

12 lines
167 B
ArmAsm

.arch armv7-a
.syntax unified
.text
.globl _start
_start:
mov pc,lr
.section .text.foo,"ax",%progbits
.thumb
movw r0,#:lower16:foo-.
movt r0,#:upper16:foo-.