1 #source: pie.s
2 #as: -march=from-abi -mabi=n32 -EB
3 #ld: -melf32btsmipn32 -pie
4 #readelf: -d
5 
6 Dynamic section at offset 0x180 contains 17 entries:
7   Tag * Type * Name/Value
8  0x00000004 \(HASH\) * 0x230
9  0x00000005 \(STRTAB\) * 0x28c
10  0x00000006 \(SYMTAB\) * 0x24c
11  0x0000000a \(STRSZ\) * 28 \(bytes\)
12  0x0000000b \(SYMENT\) * 16 \(bytes\)
13  0x70000035 \(MIPS_RLD_MAP_REL\) * 0x10118
14  0x00000015 \(DEBUG\) * 0x0
15  0x00000003 \(PLTGOT\) * 0x102d0
16  0x70000001 \(MIPS_RLD_VERSION\) * 1
17  0x70000005 \(MIPS_FLAGS\) * NOTPOT
18  0x70000006 \(MIPS_BASE_ADDRESS\) * 0x0
19  0x7000000a \(MIPS_LOCAL_GOTNO\) * 2
20  0x70000011 \(MIPS_SYMTABNO\) * 4
21  0x70000012 \(MIPS_UNREFEXTNO\) * 13
22  0x70000013 \(MIPS_GOTSYM\) * 0x4
23  0x6ffffffb \(FLAGS_1\) * Flags: PIE
24  0x00000000 \(NULL\) * 0x0
25