| 1 |
#source: init.s |
| 2 |
#as: --abi=64 |
| 3 |
#ld: -shared -mshelf64 |
| 4 |
#readelf: -d |
| 5 |
#target: sh64-*-elf |
| 6 |
|
| 7 |
# Make sure that the lsb of DT_INIT and DT_FINI entries is set |
| 8 |
# when _init and _fini are SHmedia code. |
| 9 |
|
| 10 |
Dynamic section at offset 0x300 contains 8 entries: |
| 11 |
Tag Type Name/Value |
| 12 |
0x000000000000000c \(INIT\) 0x2df |
| 13 |
0x000000000000000d \(FINI\) 0x2ef |
| 14 |
0x0000000000000004 \(HASH\) 0xe8 |
| 15 |
0x0000000000000005 \(STRTAB\) 0x288 |
| 16 |
0x0000000000000006 \(SYMTAB\) 0x138 |
| 17 |
0x000000000000000a \(STRSZ\) 85 \(bytes\) |
| 18 |
0x000000000000000b \(SYMENT\) 24 \(bytes\) |
| 19 |
0x0000000000000000 \(NULL\) 0x0 |