mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
1954000798
* elf32-arm.c (elf32_arm_final_link_relocate): Do not turn branches to undefine weak symbols into branches to the next instruction if creating PLT entries for those symbols. ld/testsuite: * ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New. * ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test.
10 lines
144 B
Makefile
10 lines
144 B
Makefile
#source: thumb2-bl-undefweak.s
|
|
#as:
|
|
#ld: -shared
|
|
#objdump: -dr
|
|
#...
|
|
Disassembly of section .text:
|
|
|
|
.* <foo>:
|
|
.*: .... .... blx ... <foo-0x.*>
|