old-cross-binutils/ld/testsuite/ld-arm/thumb2-bl-undefweak1.d
Christophe Lyon 82b5c97a79 2009-04-15 Christophe Lyon <christophe.lyon@st.com>
bfd/
	* elf32-arm.c (elf32_arm_final_link_relocate): Don't convert ARM
	branch to an undef weak symbol into a jump to next instruction if
	a PLT entry will be created.

	testsuite/
	* ld-arm/arm-elf.exp: Add 1 more test to check undef weak
	reference with PLT in ARM mode.
	* ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s:
	New files.
2009-04-15 13:49:54 +00:00

9 lines
143 B
Makefile

#source: thumb2-bl-undefweak1.s
#as:
#ld: -shared
#objdump: -dr
#...
Disassembly of section .text:
.* <foo>:
.*: ........ bl ... <foo-0x.*>