2005-06-04 H.J. Lu <hongjiu.lu@intel.com>

* ld-cris/hiddef1.d: Updated.
	* ld-cris/libdso-10.d: Likewise.
	* ld-cris/libdso-2.d: Likewise.
This commit is contained in:
H.J. Lu 2005-06-04 18:11:07 +00:00
parent 2ae727ad93
commit 00d8e0ea3e
4 changed files with 29 additions and 19 deletions

View File

@ -1,3 +1,9 @@
2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-cris/hiddef1.d: Updated.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-2.d: Likewise.
2005-06-02 Alan Modra <amodra@bigpond.net.au> 2005-06-02 Alan Modra <amodra@bigpond.net.au>
* ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32. * ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32.

View File

@ -14,7 +14,7 @@
# and sections change, make sure that there's no .plt and that # and sections change, make sure that there's no .plt and that
# dsofn is hidden (not exported as a dynamic symbol). # dsofn is hidden (not exported as a dynamic symbol).
There are 11 section headers, starting at offset 0x[0-9a-f]+: There are 12 section headers, starting at offset 0x[0-9a-f]+:
#... #...
\[[ 0-9]+\] \.got PROGBITS [0-9a-f]+ [0-9a-f]+ 0+10 04 WA 0 0 4 \[[ 0-9]+\] \.got PROGBITS [0-9a-f]+ [0-9a-f]+ 0+10 04 WA 0 0 4
#... #...
@ -24,5 +24,5 @@ Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
#... #...
Symbol table '\.dynsym' contains 9 entries: Symbol table '\.dynsym' contains 9 entries:
#... #...
Symbol table '\.symtab' contains 19 entries: Symbol table '\.symtab' contains 20 entries:
#pass #pass

View File

@ -35,5 +35,7 @@ Idx Name Size VMA LMA File off Algn
CONTENTS, ALLOC, LOAD, DATA CONTENTS, ALLOC, LOAD, DATA
5 \.got 0+c 0+21e0 0+21e0 0+1e0 2\*\*2 5 \.got 0+c 0+21e0 0+21e0 0+1e0 2\*\*2
CONTENTS, ALLOC, LOAD, DATA CONTENTS, ALLOC, LOAD, DATA
6 \.bss 0+14 0+21ec 0+21ec 0+1ec 2\*\*0 6 \.data 0+ 0+21ec 0+21ec 0+1ec 2\*\*0
CONTENTS, ALLOC, LOAD, DATA
7 \.bss 0+14 0+21ec 0+21ec 0+1ec 2\*\*0
ALLOC ALLOC

View File

@ -10,7 +10,7 @@
# entries. This formerly SEGV:ed because .rela.got was created # entries. This formerly SEGV:ed because .rela.got was created
# too late to have it mapped to an output section. # too late to have it mapped to an output section.
There are 14 section headers.* There are 15 section headers.*
#... #...
\[ 1\] \.hash HASH .* \[ 1\] \.hash HASH .*
\[ 2\] \.dynsym DYNSYM .* \[ 2\] \.dynsym DYNSYM .*
@ -21,10 +21,11 @@ There are 14 section headers.*
\[ 7\] \.text PROGBITS .* \[ 7\] \.text PROGBITS .*
\[ 8\] \.dynamic DYNAMIC .* \[ 8\] \.dynamic DYNAMIC .*
\[ 9\] \.got PROGBITS .* \[ 9\] \.got PROGBITS .*
\[10\] \.bss NOBITS .* \[10\] \.data PROGBITS .*
\[11\] \.shstrtab STRTAB .* \[11\] \.bss NOBITS .*
\[12\] \.symtab SYMTAB .* \[12\] \.shstrtab STRTAB .*
\[13\] \.strtab STRTAB .* \[13\] \.symtab SYMTAB .*
\[14\] \.strtab STRTAB .*
#... #...
Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries: Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
#... #...
@ -34,12 +35,12 @@ Symbol table '\.dynsym' contains 6 entries:
Num: Value Size Type Bind Vis Ndx Name Num: Value Size Type Bind Vis Ndx Name
0: 0+ 0 NOTYPE LOCAL DEFAULT UND 0: 0+ 0 NOTYPE LOCAL DEFAULT UND
1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7
2: [0-9a-f]+ 0 NOTYPE LOCAL DEFAULT UND 2: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 10
3: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 10 3: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 11
4: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 4: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1
5: 0+188 0 FUNC GLOBAL DEFAULT 7 export_1@@TST1 5: 0+188 0 FUNC GLOBAL DEFAULT 7 export_1@@TST1
Symbol table '\.symtab' contains 22 entries: Symbol table '\.symtab' contains 23 entries:
Num: Value Size Type Bind Vis Ndx Name Num: Value Size Type Bind Vis Ndx Name
0: 0+ 0 NOTYPE LOCAL DEFAULT UND 0: 0+ 0 NOTYPE LOCAL DEFAULT UND
1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 1 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 1
@ -55,11 +56,12 @@ Symbol table '\.symtab' contains 22 entries:
11: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 11 11: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 11
12: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 12 12: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 12
13: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 13 13: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 13
14: 0+2198 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC 14: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 14
15: 0+2230 0 NOTYPE LOCAL DEFAULT ABS __bss_start 15: 0+2198 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
16: 0+2230 0 NOTYPE LOCAL DEFAULT ABS _edata 16: 0+2230 0 NOTYPE LOCAL DEFAULT ABS __bss_start
17: 0+2220 0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ 17: 0+2230 0 NOTYPE LOCAL DEFAULT ABS _edata
18: 0+2240 0 NOTYPE LOCAL DEFAULT ABS _end 18: 0+2220 0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_
19: 0+184 0 FUNC LOCAL DEFAULT 7 dsofn 19: 0+2240 0 NOTYPE LOCAL DEFAULT ABS _end
20: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 20: 0+184 0 FUNC LOCAL DEFAULT 7 dsofn
21: 0+188 0 FUNC GLOBAL DEFAULT 7 export_1 21: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1
22: 0+188 0 FUNC GLOBAL DEFAULT 7 export_1