fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-cris / gotplt2.d
blob82fac09d86e9d8cd1bea7418321686dd3ca783ce
1 #source: dso-2.s
2 #source: dsofnf.s
3 #source: gotrel1.s
4 #as: --pic --no-underscore
5 #ld: -shared -m crislinux -z nocombreloc
6 #objdump: -sR
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.)
15 .*: file format elf32-cris
17 DYNAMIC RELOCATION RECORDS
18 OFFSET TYPE VALUE
19 0000235c R_CRIS_GLOB_DAT dsofn
21 Contents of section .*
22 #...
23 Contents of section \.rela\.got:
24 02a8 5c230000 0a120000 00000000 .*
25 Contents of section \.text:
26 02b4 5f1d0c00 30096f1d 0c000000 30090000 .*
27 02c4 6f0d0c00 0000611a 6f3e7cdf ffff0000 .*
28 Contents of section \.dynamic:
29 22e0 04000000 94000000 05000000 5c020000 .*
30 22f0 06000000 2c010000 0a000000 49000000 .*
31 2300 0b000000 10000000 07000000 a8020000 .*
32 2310 08000000 0c000000 09000000 0c000000 .*
33 2320 00000000 00000000 00000000 00000000 .*
34 2330 00000000 00000000 00000000 00000000 .*
35 2340 00000000 00000000 00000000 00000000 .*
36 Contents of section \.got:
37 2350 e0220000 00000000 00000000 00000000 .*