48fe7bdacc
* ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d, ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New tests.
16 lines
591 B
Makefile
16 lines
591 B
Makefile
#name: MIPS rel32 o32
|
|
#source: rel32.s
|
|
#as: -KPIC -32
|
|
#readelf: -x 6 -r
|
|
#ld: -shared -melf32btsmip
|
|
|
|
Relocation section '.rel.dyn' at offset 0x3e0 contains 2 entries:
|
|
Offset Info Type Sym.Value Sym. Name
|
|
00000000 00000000 R_MIPS_NONE
|
|
00000400 00000003 R_MIPS_REL32
|
|
|
|
Hex dump of section '.text':
|
|
0x000003f0 00000000 00000000 00000000 00000000 ................
|
|
0x00000400 00000400 00000000 00000000 00000000 ................
|
|
0x00000410 00000000 00000000 00000000 00000000 ................
|
|
0x00000420 00000000 00000000 00000000 00000000 ................
|