* ld-sh/sh64/rd-sh64.exp: New framework file.
[external/binutils.git] / ld / testsuite / ld-sh / sh64 / init64.d
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 segment at offset 0x488 contains 8 entries:
11   Tag        Type                         Name/Value
12  0x000000000000000c \(INIT\)               0x463
13  0x000000000000000d \(FINI\)               0x473
14  0x0000000000000004 \(HASH\)               0xe8
15  0x0000000000000005 \(STRTAB\)             0x3f0
16  0x0000000000000006 \(SYMTAB\)             0x198
17  0x000000000000000a \(STRSZ\)              114 \(bytes\)
18  0x000000000000000b \(SYMENT\)             24 \(bytes\)
19  0x0000000000000000 \(NULL\)               0x0