Rahul Chaudhry | 36b7a6f | 2017-03-15 16:56:48 -0700 | [diff] [blame] | 1 | #source: pie.s |
| 2 | #as: -mabi=32 -EB |
| 3 | #ld: -melf32btsmip -pie |
| 4 | #readelf: -d |
| 5 | |
| 6 | Dynamic section at offset 0x178 contains 17 entries: |
| 7 | Tag * Type * Name/Value |
| 8 | 0x00000004 \(HASH\) * 0x228 |
| 9 | 0x00000005 \(STRTAB\) * 0x284 |
| 10 | 0x00000006 \(SYMTAB\) * 0x244 |
| 11 | 0x0000000a \(STRSZ\) * 28 \(bytes\) |
| 12 | 0x0000000b \(SYMENT\) * 16 \(bytes\) |
| 13 | 0x70000035 \(MIPS_RLD_MAP_REL\) * 0x10110 |
| 14 | 0x00000015 \(DEBUG\) * 0x0 |
| 15 | 0x00000003 \(PLTGOT\) * 0x102c0 |
| 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 |