2002-08-23 08:14:06 +00:00
|
|
|
#source: init.s
|
|
|
|
#as: --abi=32 --isa=SHmedia
|
|
|
|
#ld: -shared -mshelf32
|
|
|
|
#readelf: -d
|
|
|
|
#target: sh64-*-elf
|
|
|
|
|
|
|
|
# Make sure that the lsb of DT_INIT and DT_FINI entries is set
|
|
|
|
# when _init and _fini are SHmedia code.
|
|
|
|
|
2004-07-02 11:25:54 +00:00
|
|
|
Dynamic section at offset 0x260 contains 8 entries:
|
2002-08-23 08:14:06 +00:00
|
|
|
Tag Type Name/Value
|
2004-07-02 11:25:54 +00:00
|
|
|
0x0000000c \(INIT\) 0x241
|
|
|
|
0x0000000d \(FINI\) 0x251
|
2002-08-23 08:14:06 +00:00
|
|
|
0x00000004 \(HASH\) 0x94
|
2004-07-02 11:25:54 +00:00
|
|
|
0x00000005 \(STRTAB\) 0x1d4
|
|
|
|
0x00000006 \(SYMTAB\) 0xe4
|
2003-10-13 05:09:21 +00:00
|
|
|
0x0000000a \(STRSZ\) 107 \(bytes\)
|
2002-08-23 08:14:06 +00:00
|
|
|
0x0000000b \(SYMENT\) 16 \(bytes\)
|
|
|
|
0x00000000 \(NULL\) 0x0
|