Commit | Line | Data |
---|---|---|
2d4b84b0 HPN |
1 | #source: dso-2.s |
2 | #source: dsofnf.s | |
3 | #source: gotrel1.s | |
9a6351f1 | 4 | #as: --pic --no-underscore --em=criself |
c7dffc39 | 5 | #ld: -shared -m crislinux -z nocombreloc --hash-style=sysv |
2d4b84b0 HPN |
6 | #objdump: -sR |
7 | ||
8 | # Make sure we merge a PLT-specific entry (usually | |
9 | # R_CRIS_JUMP_SLOT) with a GOT-specific entry (R_CRIS_GLOB_DAT) | |
10 | # in a DSO. It's ok: we make a round-trip to the PLT in the | |
11 | # executable if it's referenced there, but that's still | |
12 | # perceived as better than having an unnecessary PLT, dynamic | |
13 | # reloc and lookup in the DSO.) | |
14 | ||
15 | .*: file format elf32-cris | |
16 | ||
17 | DYNAMIC RELOCATION RECORDS | |
18 | OFFSET TYPE VALUE | |
fd161d86 | 19 | 000021e4 R_CRIS_GLOB_DAT dsofn |
2d4b84b0 HPN |
20 | |
21 | Contents of section .* | |
22 | #... | |
23 | Contents of section \.rela\.got: | |
fd161d86 | 24 | 013c e4210000 0a050000 00000000 .* |
2d4b84b0 | 25 | Contents of section \.text: |
fd161d86 AM |
26 | 0148 5f1d0c00 30096f1d 0c000000 30090000 .* |
27 | 0158 6f0d0c00 0000611a 6f3e88df ffff0000 .* | |
2d4b84b0 | 28 | Contents of section \.dynamic: |
fd161d86 AM |
29 | 2168 04000000 94000000 05000000 20010000 .* |
30 | 2178 06000000 c0000000 0a000000 19000000 .* | |
31 | 2188 0b000000 10000000 07000000 3c010000 .* | |
32 | 2198 08000000 0c000000 09000000 0c000000 .* | |
33 | 21a8 00000000 00000000 00000000 00000000 .* | |
34 | 21b8 00000000 00000000 00000000 00000000 .* | |
35 | 21c8 00000000 00000000 00000000 00000000 .* | |
2d4b84b0 | 36 | Contents of section \.got: |
fd161d86 | 37 | 21d8 68210000 00000000 00000000 00000000 .* |