2 #as
: -march
=mips3
-mabi
=64 -mno
-shared
3 #objdump
: -dr
-Mgpr
-names
=numeric
4 #name
: MIPS ELF reloc
23 -mabi
=64 -mno
-shared
6 .*: * file format elf64
-.*mips
.*
8 Disassembly of section \
.text
:
11 .*: 0380282d move \
$5,\
$28
12 .*: 3c1c0000 lui \
$28,0x0
13 .*: R_MIPS_GPREL16 foo
14 .*: R_MIPS_SUB \
*ABS\
*
15 .*: R_MIPS_HI16 \
*ABS\
*
16 .*: 279c0000 addiu \
$28,\
$28,0
17 .*: R_MIPS_GPREL16 foo
18 .*: R_MIPS_SUB \
*ABS\
*
19 .*: R_MIPS_LO16 \
*ABS\
*
20 .*: 0384e02d daddu \
$28,\
$28,\
$4