mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
597e138ca0
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.
19 lines
368 B
Plaintext
19 lines
368 B
Plaintext
#source: wdispcall.s
|
|
#as: --32
|
|
#ld: -static -melf32_sparc -relax
|
|
#objdump: -dj.wdispcall
|
|
#target: sparc*-*-*
|
|
|
|
.*: +file format elf32-sparc
|
|
|
|
Disassembly of section .wdispcall:
|
|
|
|
00000000 <foo>:
|
|
+0: 01 00 00 00 nop *
|
|
+4: 10 80 40 ff b 10400 <bar>
|
|
+8: 9e 10 40 00 mov %g1, %o7
|
|
+c: 01 00 00 00 nop *
|
|
+10: 40 00 40 fc call 10400 <bar>
|
|
+14: 01 00 00 00 nop *
|
|
|