old-cross-binutils/ld/testsuite/ld-mips-elf/jaloverflow-2.s
Richard Sandiford c314987d19 * elfxx-mips.c (mips_elf_calculate_relocation): Don't report an
overflow for calls to undefined weak symbols.
2004-12-14 09:48:20 +00:00

7 lines
125 B
ArmAsm

# jal relocs against undefined weak symbols should not be treated as
# overflowing
.globl start
.weak foo
start:
jal foo