mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
3064e1ff79
* elf32-arm.c (elf32_arm_size_dynamic_sections): Don't call elf32_arm_allocate_dynrelocs for source reloc for non-dynamic link. ld/testsuite/ * ld-arm/tls-local-static.s: New test. * ld-arm/tls-local-static.d: New. * ld-arm/arm-elf.exp (tls-local-static): Add test.
16 lines
198 B
ArmAsm
16 lines
198 B
ArmAsm
.text
|
|
.arch armv4t
|
|
.global _start
|
|
_start:
|
|
.LPIC0:
|
|
bx lr
|
|
.align 2
|
|
.word var(tlsgd) + (. - .LPIC0 - 8)
|
|
|
|
.section .tbss,"awT",%nobits
|
|
.align 2
|
|
.type var, %object
|
|
.size var, 4
|
|
var:
|
|
.space 4
|