| 1 |
#source: dso-2.s |
| 2 |
#source: dsofnf.s |
| 3 |
#source: gotrel1.s |
| 4 |
#as: --pic --no-underscore --em=criself |
| 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 |
| 19 |
0000227c R_CRIS_GLOB_DAT dsofn |
| 20 |
|
| 21 |
Contents of section .* |
| 22 |
#... |
| 23 |
Contents of section \.rela\.got: |
| 24 |
01cc 7c220000 0a0b0000 00000000 .* |
| 25 |
Contents of section \.text: |
| 26 |
01d8 5f1d0c00 30096f1d 0c000000 30090000 .* |
| 27 |
01e8 6f0d0c00 0000611a 6f3e80df ffff0000 .* |
| 28 |
Contents of section \.dynamic: |
| 29 |
2200 04000000 94000000 05000000 98010000 .* |
| 30 |
2210 06000000 d8000000 0a000000 33000000 .* |
| 31 |
2220 0b000000 10000000 07000000 cc010000 .* |
| 32 |
2230 08000000 0c000000 09000000 0c000000 .* |
| 33 |
2240 00000000 00000000 00000000 00000000 .* |
| 34 |
2250 00000000 00000000 00000000 00000000 .* |
| 35 |
2260 00000000 00000000 00000000 00000000 .* |
| 36 |
Contents of section \.got: |
| 37 |
2270 00220000 00000000 00000000 00000000 .* |