* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
[binutils.git] / ld / testsuite / ld-cris / gotplt2.d
blob48f14136fbbfcc79bda146786ae860dceae2f0bb
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
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 00002230 R_CRIS_GLOB_DAT dsofn
21 Contents of section .*
22 #...
23 Contents of section \.rela\.got:
24 0188 30220000 0a080000 00000000 .*
25 Contents of section \.text:
26 0194 5f1d0c00 30096f1d 0c000000 30090000 .*
27 01a4 6f0d0c00 0000611a 6f3e88df ffff0000 .*
28 Contents of section \.dynamic:
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 .*
36 Contents of section \.got:
37 2224 b4210000 00000000 00000000 00000000 .*