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 |
2d4b84b0 HPN |
5 | #ld: -shared -m crislinux -z nocombreloc |
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 | |
85167a84 | 19 | 00002230 R_CRIS_GLOB_DAT dsofn |
2d4b84b0 HPN |
20 | |
21 | Contents of section .* | |
22 | #... | |
23 | Contents of section \.rela\.got: | |
85167a84 | 24 | 0188 30220000 0a080000 00000000 .* |
2d4b84b0 | 25 | Contents of section \.text: |
85167a84 AM |
26 | 0194 5f1d0c00 30096f1d 0c000000 30090000 .* |
27 | 01a4 6f0d0c00 0000611a 6f3e88df ffff0000 .* | |
2d4b84b0 | 28 | Contents of section \.dynamic: |
85167a84 AM |
29 | 21b4 04000000 94000000 05000000 5c010000 .* |
30 | 21c4 06000000 cc000000 0a000000 2a000000 .* | |
31 | 21d4 0b000000 10000000 07000000 88010000 .* | |
32 | 21e4 08000000 0c000000 09000000 0c000000 .* | |
33 | 21f4 00000000 00000000 00000000 00000000 .* | |
34 | 2204 00000000 00000000 00000000 00000000 .* | |
35 | 2214 00000000 00000000 00000000 00000000 .* | |
2d4b84b0 | 36 | Contents of section \.got: |
85167a84 | 37 | 2224 b4210000 00000000 00000000 00000000 .* |