mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
2efec98b28
Stripping .rela.branch_lt is easy enough but messes with the testsuite due to stub symbols (that use section id) changing. Tests that run on more than one target variant can be tricky to fix, this renaming happened to work. bfd/ * elf64-ppc.c (ppc64_elf_size_stubs): Strip relbrlt too. ld/ * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa. * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit. * testsuite/ld-powerpc/tlsopt6.d: Likewise.
11 lines
138 B
ArmAsm
11 lines
138 B
ArmAsm
.globl _start
|
|
.weak aaaaa
|
|
_start:
|
|
.cfi_startproc
|
|
addi 3,2,gd@got@tlsgd
|
|
bl __tls_get_addr(gd@tlsgd)
|
|
nop
|
|
bl aaaaa
|
|
nop
|
|
.cfi_endproc
|