old-cross-binutils/ld/testsuite/ld-arm/tls-local-static.s
Julian Brown 3064e1ff79 bfd/
* 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.
2013-02-28 10:31:34 +00:00

15 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