fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-cris / libdso-2.d
blob93bd1277045c5de789f90b373d0299c2fc19bf4e
1 #source: dso-1.s
2 #source: dso-2.s
3 #as: --pic --no-underscore
4 #ld: --shared -m crislinux --version-script $srcdir/$subdir/hide1
5 #readelf: -S -s -r
7 # Use "dsofn" from dso-1 in a GOTPLT reloc, but hide it in a
8 # version script. This will change the incoming GOTPLT reloc to
9 # instead be a (local) GOT reloc. There are no other .rela.got
10 # entries. This formerly SEGV:ed because .rela.got was created
11 # too late to have it mapped to an output section.
13 There are 15 section headers.*
14 #...
15 \[ 1\] \.hash HASH .*
16 \[ 2\] \.dynsym DYNSYM .*
17 \[ 3\] \.dynstr STRTAB .*
18 \[ 4\] \.gnu\.version VERSYM .*
19 \[ 5\] \.gnu\.version_d VERDEF .*
20 \[ 6\] \.rela\.dyn RELA .*
21 \[ 7\] \.text PROGBITS .*
22 \[ 8\] \.data PROGBITS .*
23 \[ 9\] \.dynamic DYNAMIC .*
24 \[10\] \.got PROGBITS .*
25 \[11\] \.bss NOBITS .*
26 \[12\] \.shstrtab STRTAB .*
27 \[13\] \.symtab SYMTAB .*
28 \[14\] \.strtab STRTAB .*
29 #...
30 Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
31 #...
32 000022f4 0000000c R_CRIS_RELATIVE 00000234
33 #...
34 Symbol table '\.dynsym' contains 14 entries:
35 Num: Value Size Type Bind Vis Ndx Name
36 0: 0+ 0 NOTYPE LOCAL DEFAULT UND
37 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 1
38 2: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 2
39 3: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 3
40 4: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 4
41 5: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 5
42 6: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 6
43 7: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7
44 8: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 8
45 9: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 9
46 10: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 10
47 11: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 11
48 12: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1
49 13: 0+238 0 FUNC GLOBAL DEFAULT 7 export_1@@TST1
51 Symbol table '\.symtab' contains 23 entries:
52 Num: Value Size Type Bind Vis Ndx Name
53 0: 0+ 0 NOTYPE LOCAL DEFAULT UND
54 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 1
55 2: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 2
56 3: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 3
57 4: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 4
58 5: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 5
59 6: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 6
60 7: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7
61 8: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 8
62 9: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 9
63 10: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 10
64 11: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 11
65 12: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 12
66 13: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 13
67 14: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 14
68 15: 0+2260 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
69 16: 0+22f8 0 NOTYPE LOCAL DEFAULT ABS __bss_start
70 17: 0+22f8 0 NOTYPE LOCAL DEFAULT ABS _edata
71 18: 0+22e8 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
72 19: 0+2300 0 NOTYPE LOCAL DEFAULT ABS _end
73 20: 0+234 0 FUNC LOCAL DEFAULT 7 dsofn
74 21: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1
75 22: 0+238 0 FUNC GLOBAL DEFAULT 7 export_1