| 1 |
#source: textrel1.s |
| 2 |
#source: textrel2.s |
| 3 |
#as: -little |
| 4 |
#ld: -shared -EL |
| 5 |
#readelf: -d |
| 6 |
#target: sh*-*-elf sh*-*-linux* sh*-*-netbsd* |
| 7 |
|
| 8 |
# Make sure that there is no unnecessary DT_TEXTREL entry. |
| 9 |
|
| 10 |
Dynamic section at offset 0x[0-9a-f]+ contains 9 entries: |
| 11 |
Tag Type Name/Value |
| 12 |
0x00000004 \(HASH\) 0x[0-9a-f]+ |
| 13 |
0x00000005 \(STRTAB\) 0x[0-9a-f]+ |
| 14 |
0x00000006 \(SYMTAB\) 0x[0-9a-f]+ |
| 15 |
0x0000000a \(STRSZ\) [0-9]+ \(bytes\) |
| 16 |
0x0000000b \(SYMENT\) 16 \(bytes\) |
| 17 |
0x00000007 \(RELA\) 0x[0-9a-f]+ |
| 18 |
0x00000008 \(RELASZ\) 12 \(bytes\) |
| 19 |
0x00000009 \(RELAENT\) 12 \(bytes\) |
| 20 |
0x00000000 \(NULL\) 0x0 |