24 lines
529 B
D
24 lines
529 B
D
|
#name: MIPS 32-bit ELF embedded-pic relocs #1-sp (small positive)
|
||
|
#as: -membedded-pic -mips3
|
||
|
#source: empic1-ref.s
|
||
|
#source: empic1-tgt.s
|
||
|
#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
|
||
|
#ld: -Ttext 0x400000 -e 0x400000
|
||
|
|
||
|
.*: file format elf.*mips.*
|
||
|
|
||
|
SYMBOL TABLE:
|
||
|
#...
|
||
|
0+400000 g F .text [0-9a-f]+ foo
|
||
|
#...
|
||
|
0+400020 g F .text [0-9a-f]+ bar
|
||
|
#...
|
||
|
|
||
|
Disassembly of section \.text:
|
||
|
0+400000 <[^>]*> 00000000 nop
|
||
|
0+400004 <[^>]*> 3c020000 lui v0,0x0
|
||
|
0+400008 <[^>]*> 64420020 daddiu v0,v0,32
|
||
|
...
|
||
|
...
|
||
|
#pass
|