binutils-gdb/ld/testsuite/ld-sparc/wdispcall.s
Alyssa Milburn 597e138ca0 bfd,ld: Continue after partially-successful relaxed call relocations in sparc.
bfd/ChangeLog:

2016-12-05  Alyssa Milburn <amilburn@zall.org>

  	* elfxx-sparc.c: Do not stop processing relocations after
    	partially relaxing a call with WDISP30.

ld/ChangeLog:

2016-12-05  Alyssa Milburn <amilburn@zall.org>

	* testsuite/ld-sparc/wdispcall.s: New file.
    	* testsuite/ld-sparc/wdispcall.dd: Likewise.
    	* testsuite/ld-sparc/sparc.exp: Run new test.
2016-12-04 22:59:18 -08:00

15 lines
118 B
ArmAsm

.text
bar:
retl
nop
.align 1024
.section ".wdispcall"
foo:
nop
call bar
or %r1, %g0, %o7
nop
call bar
nop