mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
1e81e12b2c
* 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.
12 lines
167 B
ArmAsm
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-.
|