diff options
author | Nick Clifton <nickc@redhat.com> | 2021-04-21 10:34:32 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-04-21 10:34:32 +0100 |
commit | 23356397449a8aa65afead0a895a20be53b3c6b0 (patch) | |
tree | 25d812e38a7c6ceed295eaad76eb91aa140e3408 | |
parent | 9c7c5f1e5c4da62d5eacfdc3bc4a1444d9060a5c (diff) | |
download | gdb-23356397449a8aa65afead0a895a20be53b3c6b0.zip gdb-23356397449a8aa65afead0a895a20be53b3c6b0.tar.gz gdb-23356397449a8aa65afead0a895a20be53b3c6b0.tar.bz2 |
Adjust readelf's output so that section symbols without a name as shown with their section name.
binutils* readelf.c (print_dynamic_symbol): Print the section name for
section symbols without a name of their own.
* testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
Adjust expected output to allow for named section symbols.
* testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
Likewise.
* testsuite/binutils-all/readelf.s-64: Likewise.
* testsuite/binutils-all/readelf.ss-64-unused: Likewise.
* testsuite/binutils-all/readelf.ss-tmips: Likewise.
* testsuite/binutils-all/readelf.ss-unused: Likewise.
ld * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
to allow for named section symbols.
* testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
* testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
* testsuite/ld-alpha/tlsbin.rd: Likewise.
* testsuite/ld-alpha/tlsbinr.rd: Likewise.
* testsuite/ld-alpha/tlspic.rd: Likewise.
* testsuite/ld-arm/rodata-merge-map.sym: Likewise.
* testsuite/ld-arm/script-type.sym: Likewise.
* testsuite/ld-cris/libdso-2.d: Likewise.
* testsuite/ld-cris/pr16044.d: Likewise.
* testsuite/ld-elf/sec64k.exp: Likewise.
* testsuite/ld-ia64/tlsbin.rd: Likewise.
* testsuite/ld-ia64/tlspic.rd: Likewise.
* testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
* testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
* testsuite/ld-mmix/bspec1.d: Likewise.
* testsuite/ld-mmix/bspec2.d: Likewise.
* testsuite/ld-mmix/local1.d: Likewise.
* testsuite/ld-mmix/local3.d: Likewise.
* testsuite/ld-mmix/local5.d: Likewise.
* testsuite/ld-mmix/local7.d: Likewise.
* testsuite/ld-mmix/undef-3.d: Likewise.
* testsuite/ld-powerpc/tlsso.r: Likewise.
* testsuite/ld-powerpc/tlsso32.r: Likewise.
* testsuite/ld-powerpc/tlstocso.r: Likewise.
* testsuite/ld-s390/tlsbin.rd: Likewise.
* testsuite/ld-s390/tlsbin_64.rd: Likewise.
* testsuite/ld-s390/tlspic.rd: Likewise.
* testsuite/ld-s390/tlspic_64.rd: Likewise.
* testsuite/ld-sparc/gotop32.rd: Likewise.
* testsuite/ld-sparc/gotop64.rd: Likewise.
* testsuite/ld-sparc/tlssunbin32.rd: Likewise.
* testsuite/ld-sparc/tlssunbin64.rd: Likewise.
* testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
* testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
* testsuite/ld-sparc/tlssunpic32.rd: Likewise.
* testsuite/ld-sparc/tlssunpic64.rd: Likewise.
* testsuite/ld-tic6x/common.d: Likewise.
* testsuite/ld-tic6x/shlib-1.rd: Likewise.
* testsuite/ld-tic6x/shlib-1b.rd: Likewise.
* testsuite/ld-tic6x/shlib-1r.rd: Likewise.
* testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
* testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
* testsuite/ld-tic6x/static-app-1.rd: Likewise.
* testsuite/ld-tic6x/static-app-1b.rd: Likewise.
* testsuite/ld-tic6x/static-app-1r.rd: Likewise.
* testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
gas * testsuite/gas/aarch64/dwarf.d: Adjust expected output to allow
for named section symbols.
* testsuite/gas/arm/thumbver.d: Likewise.
* testsuite/gas/bfin/loop_temps.d: Likewise.
* testsuite/gas/elf/section2.e-arc: Likewise.
* testsuite/gas/elf/section2.e-arm: Likewise.
* testsuite/gas/elf/section2.e-csky: Likewise.
* testsuite/gas/elf/section2.e-m32r: Likewise.
* testsuite/gas/elf/section2.e-mips: Likewise.
* testsuite/gas/elf/section2.e-msp430: Likewise.
* testsuite/gas/elf/section2.e-riscv: Likewise.
* testsuite/gas/elf/section2.e-rl78: Likewise.
* testsuite/gas/elf/section2.e-rx: Likewise.
* testsuite/gas/elf/section2.e-score: Likewise.
* testsuite/gas/elf/section2.e-tic6x: Likewise.
* testsuite/gas/elf/section2.e-unused: Likewise.
* testsuite/gas/elf/section2.e-v850: Likewise.
* testsuite/gas/elf/section2.e-xtensa: Likewise.
* testsuite/gas/ia64/alias-ilp32.d: Likewise.
* testsuite/gas/ia64/alias.d: Likewise.
* testsuite/gas/ia64/global.d: Likewise.
* testsuite/gas/microblaze/relax_size.elf: Likewise.
* testsuite/gas/microblaze/relax_size2.elf: Likewise.
* testsuite/gas/mips/global-local-symtab-sort-n64t.d: Likewise.
* testsuite/gas/mips/global-local-symtab-sort-o32t.d: Likewise.
* testsuite/gas/mmix/bspec-1.d: Likewise.
* testsuite/gas/mmix/byte-1.d: Likewise.
* testsuite/gas/mmix/comment-1.d: Likewise.
* testsuite/gas/mmix/loc-1.d: Likewise.
* testsuite/gas/mmix/loc-2.d: Likewise.
* testsuite/gas/mmix/loc-3.d: Likewise.
* testsuite/gas/mmix/loc-4.d: Likewise.
* testsuite/gas/mmix/loc-5.d: Likewise.
* testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
94 files changed, 767 insertions, 645 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d1d87cc..033dd58 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,19 @@ +2021-04-21 Nick Clifton <nickc@redhat.com> + + * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d: + Adjust expected output to allow for named section symbols. + * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d: + Likewise. + * testsuite/binutils-all/readelf.s-64: Likewise. + * testsuite/binutils-all/readelf.ss-64-unused: Likewise. + * testsuite/binutils-all/readelf.ss-tmips: Likewise. + * testsuite/binutils-all/readelf.ss-unused: Likewise. + +2021-04-21 Luo Longjun <luolongjun@huawei.com> + + * readelf.c (print_dynamic_symbol): Print the section name for + section symbols without a name of their own. + 2021-04-20 Andreas Krebbel <krebbel@linux.ibm.com> * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and diff --git a/binutils/readelf.c b/binutils/readelf.c index b404ca7..c8a76de 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -12381,6 +12381,8 @@ print_dynamic_symbol (Filedata *filedata, unsigned long si, const char *version_string; enum versioned_symbol_info sym_info; unsigned short vna_other; + bool is_valid; + const char * sstr; Elf_Internal_Sym *psym = symtab + si; printf ("%6ld: ", si); @@ -12404,8 +12406,20 @@ print_dynamic_symbol (Filedata *filedata, unsigned long si, } printf (" %4s ", get_symbol_index_type (filedata, psym->st_shndx)); - bool is_valid = VALID_SYMBOL_NAME (strtab, strtab_size, psym->st_name); - const char * sstr = is_valid ? strtab + psym->st_name : _("<corrupt>"); + if (ELF_ST_TYPE (psym->st_info) == STT_SECTION + && psym->st_shndx < filedata->file_header.e_shnum + && psym->st_name == 0) + { + is_valid = SECTION_NAME_VALID (filedata->section_headers + psym->st_shndx); + sstr = is_valid ? + SECTION_NAME_PRINT (filedata->section_headers + psym->st_shndx) + : _("<corrupt>"); + } + else + { + is_valid = VALID_SYMBOL_NAME (strtab, strtab_size, psym->st_name); + sstr = is_valid ? strtab + psym->st_name : _("<corrupt>"); + } version_string = get_symbol_version_string (filedata, diff --git a/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d b/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d index e38f789..53d04b4 100644 --- a/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d +++ b/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d @@ -9,6 +9,6 @@ Symbol table '\.symtab' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1 + 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1.* 2: 0000000000000004 4 OBJECT LOCAL DEFAULT 1 bar 3: 0000000000000000 4 OBJECT GLOBAL DEFAULT 1 foo diff --git a/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d b/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d index d97322f..47978a5 100644 --- a/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d +++ b/binutils/testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d @@ -9,6 +9,6 @@ Symbol table '\.symtab' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 + 1: 00000000 0 SECTION LOCAL DEFAULT 1.* 2: 00000004 4 OBJECT LOCAL DEFAULT 1 bar 3: 00000000 4 OBJECT GLOBAL DEFAULT 1 foo diff --git a/binutils/testsuite/binutils-all/readelf.s-64 b/binutils/testsuite/binutils-all/readelf.s-64 index 5582d77..92ec05f 100644 --- a/binutils/testsuite/binutils-all/readelf.s-64 +++ b/binutils/testsuite/binutils-all/readelf.s-64 @@ -11,7 +11,7 @@ Section Headers: +000000000000001. +000000000000001. +I +. +1 +8 +\[ 3\] .data +PROGBITS +0000000000000000 +000000(48|50) +000000000000000[48] +0000000000000000 +WA +0 +0 +.* - +\[ 4\] .bss +NOBITS +0000000000000000 +000000(4c|50|54|58) + +\[ 4\] .bss +NOBITS +0000000000000000 +000000(4c|50|54|58|68) +0000000000000000 +0000000000000000 +WA +0 +0 +.* # x86 targets may put .note.gnu.property here. #... diff --git a/binutils/testsuite/binutils-all/readelf.ss-64-unused b/binutils/testsuite/binutils-all/readelf.ss-64-unused index bd10cab..f48a4b2 100644 --- a/binutils/testsuite/binutils-all/readelf.ss-64-unused +++ b/binutils/testsuite/binutils-all/readelf.ss-64-unused @@ -2,9 +2,9 @@ Symbol table '.symtab' contains .* entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +3 - +3: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +4 + +1: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +3.* + +3: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +4.* +4: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol # aarch64-elf targets add the $d mapping symbol here... #... diff --git a/binutils/testsuite/binutils-all/readelf.ss-tmips b/binutils/testsuite/binutils-all/readelf.ss-tmips index 4fd7fe0..87ec138 100644 --- a/binutils/testsuite/binutils-all/readelf.ss-tmips +++ b/binutils/testsuite/binutils-all/readelf.ss-tmips @@ -1,19 +1,19 @@ Symbol table '.symtab' contains 16 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +3 - +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 - +4: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol - +5: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +3 static_data_symbol - +6: 00000000 +0 +SECTION +LOCAL +DEFAULT +5 - +7: 00000000 +0 +SECTION +LOCAL +DEFAULT +6 - +8: 00000000 +0 +SECTION +LOCAL +DEFAULT +7 - +9: 00000000 +0 +SECTION +LOCAL +DEFAULT +8 - +10: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 text_symbol - +11: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND external_symbol - +12: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +3 data_symbol - +13: 00000004 +4 +(COMMON|OBJECT) +GLOBAL +DEFAULT +(PRC|COM) common_symbol - +14: 00000008 +0 +NOTYPE +GLOBAL +DEFAULT +. text_symbol2 - +15: 0000000c +0 +NOTYPE +GLOBAL +DEFAULT +. text_symbol3 + +0: 0+000000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+000000 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+000000 +0 +SECTION +LOCAL +DEFAULT +3.* + +3: 0+000000 +0 +SECTION +LOCAL +DEFAULT +4.* + +4: 0+000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol + +5: 0+000000 +0 +NOTYPE +LOCAL +DEFAULT +3 static_data_symbol + +6: 0+000000 +0 +SECTION +LOCAL +DEFAULT +5.* + +7: 0+000000 +0 +SECTION +LOCAL +DEFAULT +6.* + +8: 0+000000 +0 +SECTION +LOCAL +DEFAULT +7.* + +9: 0+000000 +0 +SECTION +LOCAL +DEFAULT +8.* + +10: 0+000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 text_symbol + +11: 0+000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND external_symbol + +12: 0+000000 +0 +NOTYPE +GLOBAL +DEFAULT +3 data_symbol + +13: 0+000004 +4 +(COMMON|OBJECT) +GLOBAL +DEFAULT +(PRC|COM) common_symbol + +14: 0+000008 +0 +NOTYPE +GLOBAL +DEFAULT +. text_symbol2 + +15: 0+00000c +0 +NOTYPE +GLOBAL +DEFAULT +. text_symbol3 diff --git a/binutils/testsuite/binutils-all/readelf.ss-unused b/binutils/testsuite/binutils-all/readelf.ss-unused index acc6d93..3107af9 100644 --- a/binutils/testsuite/binutils-all/readelf.ss-unused +++ b/binutils/testsuite/binutils-all/readelf.ss-unused @@ -2,9 +2,9 @@ Symbol table '.symtab' contains .* entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +[34] - +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +[45] + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +[34].* + +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +[45].* +4: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol # ARM targets add the $d mapping symbol here... # NDS32 targets add the $d2 mapping symbol here... diff --git a/gas/ChangeLog b/gas/ChangeLog index c8ef5f3..bada402 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,40 @@ +2021-04-21 Nick Clifton <nickc@redhat.com> + + * testsuite/gas/aarch64/dwarf.d: Adjust expected output to allow + for named section symbols. + * testsuite/gas/arm/thumbver.d: Likewise. + * testsuite/gas/bfin/loop_temps.d: Likewise. + * testsuite/gas/elf/section2.e-arc: Likewise. + * testsuite/gas/elf/section2.e-arm: Likewise. + * testsuite/gas/elf/section2.e-csky: Likewise. + * testsuite/gas/elf/section2.e-m32r: Likewise. + * testsuite/gas/elf/section2.e-mips: Likewise. + * testsuite/gas/elf/section2.e-msp430: Likewise. + * testsuite/gas/elf/section2.e-riscv: Likewise. + * testsuite/gas/elf/section2.e-rl78: Likewise. + * testsuite/gas/elf/section2.e-rx: Likewise. + * testsuite/gas/elf/section2.e-score: Likewise. + * testsuite/gas/elf/section2.e-tic6x: Likewise. + * testsuite/gas/elf/section2.e-unused: Likewise. + * testsuite/gas/elf/section2.e-v850: Likewise. + * testsuite/gas/elf/section2.e-xtensa: Likewise. + * testsuite/gas/ia64/alias-ilp32.d: Likewise. + * testsuite/gas/ia64/alias.d: Likewise. + * testsuite/gas/ia64/global.d: Likewise. + * testsuite/gas/microblaze/relax_size.elf: Likewise. + * testsuite/gas/microblaze/relax_size2.elf: Likewise. + * testsuite/gas/mips/global-local-symtab-sort-n64t.d: Likewise. + * testsuite/gas/mips/global-local-symtab-sort-o32t.d: Likewise. + * testsuite/gas/mmix/bspec-1.d: Likewise. + * testsuite/gas/mmix/byte-1.d: Likewise. + * testsuite/gas/mmix/comment-1.d: Likewise. + * testsuite/gas/mmix/loc-1.d: Likewise. + * testsuite/gas/mmix/loc-2.d: Likewise. + * testsuite/gas/mmix/loc-3.d: Likewise. + * testsuite/gas/mmix/loc-4.d: Likewise. + * testsuite/gas/mmix/loc-5.d: Likewise. + * testsuite/gas/tic6x/scomm-directive-4.d: Likewise. + 2021-04-20 Clément Chigot <clement.chigot@atos.net> PR binutils/21700 diff --git a/gas/testsuite/gas/aarch64/dwarf.d b/gas/testsuite/gas/aarch64/dwarf.d index 12ad367..b0581fb 100644 --- a/gas/testsuite/gas/aarch64/dwarf.d +++ b/gas/testsuite/gas/aarch64/dwarf.d @@ -4,15 +4,15 @@ Symbol table '.symtab' contains 11 entries: Num:[ ]+Value[ ]+Size[ ]+Type[ ]+Bind[ ]+Vis[ ]+Ndx[ ]+Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND[ ]+ - 1: 0+ 0 SECTION LOCAL DEFAULT 1[ ]+ - 2: 0+ 0 SECTION LOCAL DEFAULT 2[ ]+ - 3: 0+ 0 SECTION LOCAL DEFAULT 3[ ]+ + 1: 0+ 0 SECTION LOCAL DEFAULT 1.* + 2: 0+ 0 SECTION LOCAL DEFAULT 2.* + 3: 0+ 0 SECTION LOCAL DEFAULT 3.* 4: 0+ 0 NOTYPE LOCAL DEFAULT 1 \$x - 5: 0+ 0 SECTION LOCAL DEFAULT 6[ ]+ - 6: 0+ 0 SECTION LOCAL DEFAULT 8[ ]+ - 7: 0+ 0 SECTION LOCAL DEFAULT 4[ ]+ - 8: 0+ 0 SECTION LOCAL DEFAULT 11[ ]+ - 9: 0+ 0 SECTION LOCAL DEFAULT 9[ ]+ + 5: 0+ 0 SECTION LOCAL DEFAULT 6.* + 6: 0+ 0 SECTION LOCAL DEFAULT 8.* + 7: 0+ 0 SECTION LOCAL DEFAULT 4.* + 8: 0+ 0 SECTION LOCAL DEFAULT 11.* + 9: 0+ 0 SECTION LOCAL DEFAULT 9.* 10: 0+ 8 FUNC GLOBAL DEFAULT 1 testfunc Contents of the .debug_aranges section: diff --git a/gas/testsuite/gas/arm/thumbver.d b/gas/testsuite/gas/arm/thumbver.d index 1327789..459dec8 100644 --- a/gas/testsuite/gas/arm/thumbver.d +++ b/gas/testsuite/gas/arm/thumbver.d @@ -6,7 +6,7 @@ Symbol table '\.symtab' contains .* entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1.* #... +.*: 00000001 +0 +FUNC +LOCAL +DEFAULT +1 a_alias +.*: 00000001 +0 +FUNC +LOCAL +DEFAULT +1 a_body diff --git a/gas/testsuite/gas/bfin/loop_temps.d b/gas/testsuite/gas/bfin/loop_temps.d index ab1152c..d9fdf8a 100644 --- a/gas/testsuite/gas/bfin/loop_temps.d +++ b/gas/testsuite/gas/bfin/loop_temps.d @@ -4,7 +4,7 @@ Symbol table '.symtab' contains 5 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 - 2: 00000000 0 SECTION LOCAL DEFAULT 2 - 3: 00000000 0 SECTION LOCAL DEFAULT 3 + 1: 00000000 0 SECTION LOCAL DEFAULT 1.* + 2: 00000000 0 SECTION LOCAL DEFAULT 2.* + 3: 00000000 0 SECTION LOCAL DEFAULT 3.* 4: 00000000 726 FUNC GLOBAL DEFAULT 1 _filter_mem16 diff --git a/gas/testsuite/gas/elf/section2.e-arc b/gas/testsuite/gas/elf/section2.e-arc index 115bae2..99ef259 100644 --- a/gas/testsuite/gas/elf/section2.e-arc +++ b/gas/testsuite/gas/elf/section2.e-arc @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* diff --git a/gas/testsuite/gas/elf/section2.e-arm b/gas/testsuite/gas/elf/section2.e-arm index 115bae2..99ef259 100644 --- a/gas/testsuite/gas/elf/section2.e-arm +++ b/gas/testsuite/gas/elf/section2.e-arm @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* diff --git a/gas/testsuite/gas/elf/section2.e-csky b/gas/testsuite/gas/elf/section2.e-csky index 115bae2..99ef259 100644 --- a/gas/testsuite/gas/elf/section2.e-csky +++ b/gas/testsuite/gas/elf/section2.e-csky @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* diff --git a/gas/testsuite/gas/elf/section2.e-m32r b/gas/testsuite/gas/elf/section2.e-m32r index c4cf6d9..f109c02 100644 --- a/gas/testsuite/gas/elf/section2.e-m32r +++ b/gas/testsuite/gas/elf/section2.e-m32r @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* diff --git a/gas/testsuite/gas/elf/section2.e-mips b/gas/testsuite/gas/elf/section2.e-mips index f6eed4a..9ed6a72 100644 --- a/gas/testsuite/gas/elf/section2.e-mips +++ b/gas/testsuite/gas/elf/section2.e-mips @@ -6,7 +6,7 @@ Symbol table '.symtab' contains 9 entries: +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 (|\.data) +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 (|\.bss) +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +7 (|AAA) - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 (|\.reginfo) + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 (|\.reginfo|\.MIPS.options) +6: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 (|\.MIPS\.abiflags) +7: 0+0 +0 +SECTION +LOCAL +DEFAULT +6 (|\.pdr) +8: 0+0 +0 +SECTION +LOCAL +DEFAULT +8 (|\.gnu\.attributes) diff --git a/gas/testsuite/gas/elf/section2.e-msp430 b/gas/testsuite/gas/elf/section2.e-msp430 index 115bae2..99ef259 100644 --- a/gas/testsuite/gas/elf/section2.e-msp430 +++ b/gas/testsuite/gas/elf/section2.e-msp430 @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* diff --git a/gas/testsuite/gas/elf/section2.e-riscv b/gas/testsuite/gas/elf/section2.e-riscv index 115bae2..99ef259 100644 --- a/gas/testsuite/gas/elf/section2.e-riscv +++ b/gas/testsuite/gas/elf/section2.e-riscv @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* diff --git a/gas/testsuite/gas/elf/section2.e-rl78 b/gas/testsuite/gas/elf/section2.e-rl78 index 3863b6d..8427330 100644 --- a/gas/testsuite/gas/elf/section2.e-rl78 +++ b/gas/testsuite/gas/elf/section2.e-rl78 @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* +5: 0+0 +0 +NOTYPE +GLOBAL +DEFAULT +UND __rl78_abs__ diff --git a/gas/testsuite/gas/elf/section2.e-rx b/gas/testsuite/gas/elf/section2.e-rx index 574219d..98df8bf 100644 --- a/gas/testsuite/gas/elf/section2.e-rx +++ b/gas/testsuite/gas/elf/section2.e-rx @@ -2,8 +2,8 @@ Symbol table '.symtab' contains . entries: Num: Value[ ]* Size Type Bind Vis Ndx Name 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 4 + 1: 0+0 0 SECTION LOCAL DEFAULT 1.* + 2: 0+0 0 SECTION LOCAL DEFAULT 2.* + 3: 0+0 0 SECTION LOCAL DEFAULT 3.* + 4: 0+0 0 SECTION LOCAL DEFAULT 4.* #... diff --git a/gas/testsuite/gas/elf/section2.e-score b/gas/testsuite/gas/elf/section2.e-score index 132d22d..56c4b10 100644 --- a/gas/testsuite/gas/elf/section2.e-score +++ b/gas/testsuite/gas/elf/section2.e-score @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +5 - +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +5.* + +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +4.* diff --git a/gas/testsuite/gas/elf/section2.e-tic6x b/gas/testsuite/gas/elf/section2.e-tic6x index 84463b1..1a5c362 100644 --- a/gas/testsuite/gas/elf/section2.e-tic6x +++ b/gas/testsuite/gas/elf/section2.e-tic6x @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: Num: Value[ ]* Size Type Bind Vis Ndx Name 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 4 - 5: 0+0 0 SECTION LOCAL DEFAULT 5 + 1: 0+0 0 SECTION LOCAL DEFAULT 1.* + 2: 0+0 0 SECTION LOCAL DEFAULT 2.* + 3: 0+0 0 SECTION LOCAL DEFAULT 3.* + 4: 0+0 0 SECTION LOCAL DEFAULT 4.* + 5: 0+0 0 SECTION LOCAL DEFAULT 5.* diff --git a/gas/testsuite/gas/elf/section2.e-unused b/gas/testsuite/gas/elf/section2.e-unused index 9b50798..fd94cee 100644 --- a/gas/testsuite/gas/elf/section2.e-unused +++ b/gas/testsuite/gas/elf/section2.e-unused @@ -2,7 +2,7 @@ Symbol table '.symtab' contains 5 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* diff --git a/gas/testsuite/gas/elf/section2.e-v850 b/gas/testsuite/gas/elf/section2.e-v850 index 115bae2..99ef259 100644 --- a/gas/testsuite/gas/elf/section2.e-v850 +++ b/gas/testsuite/gas/elf/section2.e-v850 @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* diff --git a/gas/testsuite/gas/elf/section2.e-xtensa b/gas/testsuite/gas/elf/section2.e-xtensa index 115bae2..99ef259 100644 --- a/gas/testsuite/gas/elf/section2.e-xtensa +++ b/gas/testsuite/gas/elf/section2.e-xtensa @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 - +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.* + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5.* diff --git a/gas/testsuite/gas/ia64/alias-ilp32.d b/gas/testsuite/gas/ia64/alias-ilp32.d index df05d36..fb76000 100644 --- a/gas/testsuite/gas/ia64/alias-ilp32.d +++ b/gas/testsuite/gas/ia64/alias-ilp32.d @@ -21,8 +21,8 @@ Key to Flags: Symbol table '.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +4.* +5: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +4 "@D" diff --git a/gas/testsuite/gas/ia64/alias.d b/gas/testsuite/gas/ia64/alias.d index 23b9330..762f5c8 100644 --- a/gas/testsuite/gas/ia64/alias.d +++ b/gas/testsuite/gas/ia64/alias.d @@ -28,8 +28,8 @@ Key to Flags: Symbol table '\.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +4 + +1: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +4.* +5: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +4 "@D" diff --git a/gas/testsuite/gas/ia64/global.d b/gas/testsuite/gas/ia64/global.d index c247ad8..f634637 100644 --- a/gas/testsuite/gas/ia64/global.d +++ b/gas/testsuite/gas/ia64/global.d @@ -4,7 +4,7 @@ Symbol table '.symtab' contains 5 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.* +4: 0+0 +0 +NOTYPE +GLOBAL +DEFAULT +2 foo diff --git a/gas/testsuite/gas/microblaze/relax_size.elf b/gas/testsuite/gas/microblaze/relax_size.elf index 9a96959..af274e1 100644 --- a/gas/testsuite/gas/microblaze/relax_size.elf +++ b/gas/testsuite/gas/microblaze/relax_size.elf @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 28 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000050 0 SECTION LOCAL DEFAULT 1 - 2: 00000058 0 SECTION LOCAL DEFAULT 2 + 1: 00000050 0 SECTION LOCAL DEFAULT 1.* + 2: 00000058 0 SECTION LOCAL DEFAULT 2.* 3: 00000000 0 FILE LOCAL DEFAULT ABS relax_size.o 4: 00000050 8 NOTYPE LOCAL DEFAULT 1 func 5: 00000058 0 NOTYPE LOCAL DEFAULT 1 label diff --git a/gas/testsuite/gas/microblaze/relax_size2.elf b/gas/testsuite/gas/microblaze/relax_size2.elf index 2376bfcd2..c335977 100644 --- a/gas/testsuite/gas/microblaze/relax_size2.elf +++ b/gas/testsuite/gas/microblaze/relax_size2.elf @@ -2,8 +2,8 @@ Symbol table '.symtab' contains 30 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000050 0 SECTION LOCAL DEFAULT 1 - 2: 00000060 0 SECTION LOCAL DEFAULT 2 + 1: 00000050 0 SECTION LOCAL DEFAULT 1.* + 2: 00000060 0 SECTION LOCAL DEFAULT 2.* 3: 00000000 0 FILE LOCAL DEFAULT ABS relax_size2.o 4: 00000050 4 NOTYPE LOCAL DEFAULT 1 func 5: 00000054 0 NOTYPE LOCAL DEFAULT 1 label diff --git a/gas/testsuite/gas/mips/global-local-symtab-sort-n64t.d b/gas/testsuite/gas/mips/global-local-symtab-sort-n64t.d index 904d626..469530d 100644 --- a/gas/testsuite/gas/mips/global-local-symtab-sort-n64t.d +++ b/gas/testsuite/gas/mips/global-local-symtab-sort-n64t.d @@ -7,11 +7,11 @@ Symbol table '\.symtab' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1 - 2: 0000000000000000 0 SECTION LOCAL DEFAULT 2 - 3: 0000000000000000 0 SECTION LOCAL DEFAULT 3 + 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1.* + 2: 0000000000000000 0 SECTION LOCAL DEFAULT 2.* + 3: 0000000000000000 0 SECTION LOCAL DEFAULT 3.* 4: 0000000000000004 4 OBJECT LOCAL DEFAULT 2 bar - 5: 0000000000000000 0 SECTION LOCAL DEFAULT 4 - 6: 0000000000000000 0 SECTION LOCAL DEFAULT 5 - 7: 0000000000000000 0 SECTION LOCAL DEFAULT 6 + 5: 0000000000000000 0 SECTION LOCAL DEFAULT 4.* + 6: 0000000000000000 0 SECTION LOCAL DEFAULT 5.* + 7: 0000000000000000 0 SECTION LOCAL DEFAULT 6.* 8: 0000000000000000 4 OBJECT GLOBAL DEFAULT 2 foo diff --git a/gas/testsuite/gas/mips/global-local-symtab-sort-o32t.d b/gas/testsuite/gas/mips/global-local-symtab-sort-o32t.d index 1c37cba..95f63c3 100644 --- a/gas/testsuite/gas/mips/global-local-symtab-sort-o32t.d +++ b/gas/testsuite/gas/mips/global-local-symtab-sort-o32t.d @@ -7,11 +7,11 @@ Symbol table '\.symtab' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 - 2: 00000000 0 SECTION LOCAL DEFAULT 2 - 3: 00000000 0 SECTION LOCAL DEFAULT 3 + 1: 00000000 0 SECTION LOCAL DEFAULT 1.* + 2: 00000000 0 SECTION LOCAL DEFAULT 2.* + 3: 00000000 0 SECTION LOCAL DEFAULT 3.* 4: 00000004 4 OBJECT LOCAL DEFAULT 2 bar - 5: 00000000 0 SECTION LOCAL DEFAULT 4 - 6: 00000000 0 SECTION LOCAL DEFAULT 5 - 7: 00000000 0 SECTION LOCAL DEFAULT 6 + 5: 00000000 0 SECTION LOCAL DEFAULT 4.* + 6: 00000000 0 SECTION LOCAL DEFAULT 5.* + 7: 00000000 0 SECTION LOCAL DEFAULT 6.* 8: 00000000 4 OBJECT GLOBAL DEFAULT 2 foo diff --git a/gas/testsuite/gas/mmix/bspec-1.d b/gas/testsuite/gas/mmix/bspec-1.d index 2a9a59b..e3781a8 100644 --- a/gas/testsuite/gas/mmix/bspec-1.d +++ b/gas/testsuite/gas/mmix/bspec-1.d @@ -13,10 +13,10 @@ Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x[0-9a-f]+ contains 1 Symbol table '\.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 - +4: 0+ +0 +SECTION +LOCAL +DEFAULT +4 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* + +4: 0+ +0 +SECTION +LOCAL +DEFAULT +4.* +5: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND forw Hex dump of section '\.text': diff --git a/gas/testsuite/gas/mmix/byte-1.d b/gas/testsuite/gas/mmix/byte-1.d index a77eb08..edd7de1 100644 --- a/gas/testsuite/gas/mmix/byte-1.d +++ b/gas/testsuite/gas/mmix/byte-1.d @@ -26,9 +26,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 8 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* +4: 0+2a +0 +NOTYPE +LOCAL +DEFAULT +ABS number +5: 0+4 +0 +NOTYPE +LOCAL +DEFAULT +1 label +6: 0+c +0 +NOTYPE +LOCAL +DEFAULT +1 lab2 diff --git a/gas/testsuite/gas/mmix/comment-1.d b/gas/testsuite/gas/mmix/comment-1.d index 569af60..1219a2f 100644 --- a/gas/testsuite/gas/mmix/comment-1.d +++ b/gas/testsuite/gas/mmix/comment-1.d @@ -18,13 +18,13 @@ Relocation section '\.rela\.text' at offset 0x... contains 5 entries: Symbol table '\.symtab' contains 12 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +3 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +4 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +4.* +4: 0+18 +0 +NOTYPE +LOCAL +DEFAULT +ABS z +5: 0+80 +0 +NOTYPE +LOCAL +DEFAULT +1 x - +6: 0+ +0 +SECTION +LOCAL +DEFAULT +5 - +7: 0+ +0 +SECTION +LOCAL +DEFAULT +6 + +6: 0+ +0 +SECTION +LOCAL +DEFAULT +5.* + +7: 0+ +0 +SECTION +LOCAL +DEFAULT +6.* +8: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main +9: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target +10: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target2 diff --git a/gas/testsuite/gas/mmix/loc-1.d b/gas/testsuite/gas/mmix/loc-1.d index e46247d..9a35730 100644 --- a/gas/testsuite/gas/mmix/loc-1.d +++ b/gas/testsuite/gas/mmix/loc-1.d @@ -27,9 +27,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 8 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* +4: 0+4 +0 +NOTYPE +LOCAL +DEFAULT +1 m2 +5: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment +6: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main diff --git a/gas/testsuite/gas/mmix/loc-2.d b/gas/testsuite/gas/mmix/loc-2.d index 8d7ec8b..2ffbedf 100644 --- a/gas/testsuite/gas/mmix/loc-2.d +++ b/gas/testsuite/gas/mmix/loc-2.d @@ -27,9 +27,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 6 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* +4: 0+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main +5: 0+100 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text diff --git a/gas/testsuite/gas/mmix/loc-3.d b/gas/testsuite/gas/mmix/loc-3.d index 14a68fa..bf66772 100644 --- a/gas/testsuite/gas/mmix/loc-3.d +++ b/gas/testsuite/gas/mmix/loc-3.d @@ -26,9 +26,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 8 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* +4: 0+ +0 +NOTYPE +LOCAL +DEFAULT +2 a +5: 0+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main +6: 0+200 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text diff --git a/gas/testsuite/gas/mmix/loc-4.d b/gas/testsuite/gas/mmix/loc-4.d index 935cc18..7baaef0 100644 --- a/gas/testsuite/gas/mmix/loc-4.d +++ b/gas/testsuite/gas/mmix/loc-4.d @@ -26,9 +26,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 8 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* +4: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment +5: 0+14 +0 +FUNC +GLOBAL +DEFAULT +1 Main +6: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text diff --git a/gas/testsuite/gas/mmix/loc-5.d b/gas/testsuite/gas/mmix/loc-5.d index a8e7545..2110e47 100644 --- a/gas/testsuite/gas/mmix/loc-5.d +++ b/gas/testsuite/gas/mmix/loc-5.d @@ -26,9 +26,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 8 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* +4: 0+ +0 +NOTYPE +LOCAL +DEFAULT +1 t +5: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment +6: 0+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main diff --git a/gas/testsuite/gas/tic6x/scomm-directive-4.d b/gas/testsuite/gas/tic6x/scomm-directive-4.d index 26255ab..6b1ebbb 100644 --- a/gas/testsuite/gas/tic6x/scomm-directive-4.d +++ b/gas/testsuite/gas/tic6x/scomm-directive-4.d @@ -21,10 +21,10 @@ Key to Flags: Symbol table '\.symtab' contains 13 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 - 2: 00000000 0 SECTION LOCAL DEFAULT 2 - 3: 00000000 0 SECTION LOCAL DEFAULT 3 - 4: 00000000 0 SECTION LOCAL DEFAULT 4 + 1: 00000000 0 SECTION LOCAL DEFAULT 1.* + 2: 00000000 0 SECTION LOCAL DEFAULT 2.* + 3: 00000000 0 SECTION LOCAL DEFAULT 3.* + 4: 00000000 0 SECTION LOCAL DEFAULT 4.* 5: 00000004 4 OBJECT GLOBAL DEFAULT COM x4a 6: 00000004 4 OBJECT GLOBAL DEFAULT SCOM y4a 7: 00000002 4 OBJECT GLOBAL DEFAULT COM x4b diff --git a/ld/ChangeLog b/ld/ChangeLog index a6be046..a450d9a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,58 @@ +2021-04-21 Nick Clifton <nickc@redhat.com> + + * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output + to allow for named section symbols. + * testsuite/ld-aarch64/variant_pcs-r.d: Likewise. + * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise. + * testsuite/ld-alpha/tlsbin.rd: Likewise. + * testsuite/ld-alpha/tlsbinr.rd: Likewise. + * testsuite/ld-alpha/tlspic.rd: Likewise. + * testsuite/ld-arm/rodata-merge-map.sym: Likewise. + * testsuite/ld-arm/script-type.sym: Likewise. + * testsuite/ld-cris/libdso-2.d: Likewise. + * testsuite/ld-cris/pr16044.d: Likewise. + * testsuite/ld-elf/sec64k.exp: Likewise. + * testsuite/ld-ia64/tlsbin.rd: Likewise. + * testsuite/ld-ia64/tlspic.rd: Likewise. + * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise. + * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise. + * testsuite/ld-mmix/bspec1.d: Likewise. + * testsuite/ld-mmix/bspec2.d: Likewise. + * testsuite/ld-mmix/local1.d: Likewise. + * testsuite/ld-mmix/local3.d: Likewise. + * testsuite/ld-mmix/local5.d: Likewise. + * testsuite/ld-mmix/local7.d: Likewise. + * testsuite/ld-mmix/undef-3.d: Likewise. + * testsuite/ld-powerpc/tlsso.r: Likewise. + * testsuite/ld-powerpc/tlsso32.r: Likewise. + * testsuite/ld-powerpc/tlstocso.r: Likewise. + * testsuite/ld-s390/tlsbin.rd: Likewise. + * testsuite/ld-s390/tlsbin_64.rd: Likewise. + * testsuite/ld-s390/tlspic.rd: Likewise. + * testsuite/ld-s390/tlspic_64.rd: Likewise. + * testsuite/ld-sparc/gotop32.rd: Likewise. + * testsuite/ld-sparc/gotop64.rd: Likewise. + * testsuite/ld-sparc/tlssunbin32.rd: Likewise. + * testsuite/ld-sparc/tlssunbin64.rd: Likewise. + * testsuite/ld-sparc/tlssunnopic32.rd: Likewise. + * testsuite/ld-sparc/tlssunnopic64.rd: Likewise. + * testsuite/ld-sparc/tlssunpic32.rd: Likewise. + * testsuite/ld-sparc/tlssunpic64.rd: Likewise. + * testsuite/ld-tic6x/common.d: Likewise. + * testsuite/ld-tic6x/shlib-1.rd: Likewise. + * testsuite/ld-tic6x/shlib-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. + * testsuite/ld-tic6x/static-app-1.rd: Likewise. + * testsuite/ld-tic6x/static-app-1b.rd: Likewise. + * testsuite/ld-tic6x/static-app-1r.rd: Likewise. + * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. + 2021-04-20 Clément Chigot <clement.chigot@atos.net> PR binutils/21700 diff --git a/ld/testsuite/ld-aarch64/variant_pcs-now.d b/ld/testsuite/ld-aarch64/variant_pcs-now.d index 7ee9d8e..5007632 100644 --- a/ld/testsuite/ld-aarch64/variant_pcs-now.d +++ b/ld/testsuite/ld-aarch64/variant_pcs-now.d @@ -32,14 +32,14 @@ Symbol table '\.dynsym' contains 7 entries: Symbol table '\.symtab' contains 35 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000008000 0 SECTION LOCAL DEFAULT 1 - 2: 0000000000008070 0 SECTION LOCAL DEFAULT 2 - 3: 0000000000009000 0 SECTION LOCAL DEFAULT 3 - 4: 0000000000009080 0 SECTION LOCAL DEFAULT 4 - 5: 0000000000011000 0 SECTION LOCAL DEFAULT 5 - 6: 0000000000011120 0 SECTION LOCAL DEFAULT 6 - 7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7 - 8: 0000000000011270 0 SECTION LOCAL DEFAULT 8 + 1: 0000000000008000 0 SECTION LOCAL DEFAULT 1.* + 2: 0000000000008070 0 SECTION LOCAL DEFAULT 2.* + 3: 0000000000009000 0 SECTION LOCAL DEFAULT 3.* + 4: 0000000000009080 0 SECTION LOCAL DEFAULT 4.* + 5: 0000000000011000 0 SECTION LOCAL DEFAULT 5.* + 6: 0000000000011120 0 SECTION LOCAL DEFAULT 6.* + 7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7.* + 8: 0000000000011270 0 SECTION LOCAL DEFAULT 8.* 9: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local 11: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc diff --git a/ld/testsuite/ld-aarch64/variant_pcs-r.d b/ld/testsuite/ld-aarch64/variant_pcs-r.d index a534149..2651a68 100644 --- a/ld/testsuite/ld-aarch64/variant_pcs-r.d +++ b/ld/testsuite/ld-aarch64/variant_pcs-r.d @@ -33,9 +33,9 @@ Relocation section '\.rela\.text' at offset .* contains 24 entries: Symbol table '\.symtab' contains 26 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1 - 2: 0000000000000000 0 SECTION LOCAL DEFAULT 3 - 3: 0000000000000000 0 SECTION LOCAL DEFAULT 4 + 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1.* + 2: 0000000000000000 0 SECTION LOCAL DEFAULT 3.* + 3: 0000000000000000 0 SECTION LOCAL DEFAULT 4.* 4: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o 5: 0000000000000000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local 6: 0000000000000000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc diff --git a/ld/testsuite/ld-aarch64/variant_pcs-shared.d b/ld/testsuite/ld-aarch64/variant_pcs-shared.d index 15e548a..e021799 100644 --- a/ld/testsuite/ld-aarch64/variant_pcs-shared.d +++ b/ld/testsuite/ld-aarch64/variant_pcs-shared.d @@ -32,14 +32,14 @@ Symbol table '\.dynsym' contains 7 entries: Symbol table '\.symtab' contains 35 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000008000 0 SECTION LOCAL DEFAULT 1 - 2: 0000000000008070 0 SECTION LOCAL DEFAULT 2 - 3: 0000000000009000 0 SECTION LOCAL DEFAULT 3 - 4: 0000000000009080 0 SECTION LOCAL DEFAULT 4 - 5: 0000000000011000 0 SECTION LOCAL DEFAULT 5 - 6: 0000000000011120 0 SECTION LOCAL DEFAULT 6 - 7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7 - 8: 0000000000011270 0 SECTION LOCAL DEFAULT 8 + 1: 0000000000008000 0 SECTION LOCAL DEFAULT 1.* + 2: 0000000000008070 0 SECTION LOCAL DEFAULT 2.* + 3: 0000000000009000 0 SECTION LOCAL DEFAULT 3.* + 4: 0000000000009080 0 SECTION LOCAL DEFAULT 4.* + 5: 0000000000011000 0 SECTION LOCAL DEFAULT 5.* + 6: 0000000000011120 0 SECTION LOCAL DEFAULT 6.* + 7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7.* + 8: 0000000000011270 0 SECTION LOCAL DEFAULT 8.* 9: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local 11: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc diff --git a/ld/testsuite/ld-alpha/tlsbin.rd b/ld/testsuite/ld-alpha/tlsbin.rd index 308182e..87fec8d 100644 --- a/ld/testsuite/ld-alpha/tlsbin.rd +++ b/ld/testsuite/ld-alpha/tlsbin.rd @@ -64,19 +64,19 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name [0-9 ]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13.* .* FILE +LOCAL +DEFAULT +ABS .* [0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 sl1 [0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 sl2 diff --git a/ld/testsuite/ld-alpha/tlsbinr.rd b/ld/testsuite/ld-alpha/tlsbinr.rd index ea51686..757e101 100644 --- a/ld/testsuite/ld-alpha/tlsbinr.rd +++ b/ld/testsuite/ld-alpha/tlsbinr.rd @@ -57,17 +57,17 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name [0-9 ]+: [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 -[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10.* +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11.* .* FILE +LOCAL +DEFAULT +ABS .* [0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl1 [0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl2 diff --git a/ld/testsuite/ld-alpha/tlspic.rd b/ld/testsuite/ld-alpha/tlspic.rd index efd9dbd..b79fc71 100644 --- a/ld/testsuite/ld-alpha/tlspic.rd +++ b/ld/testsuite/ld-alpha/tlspic.rd @@ -71,18 +71,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 -.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11.* +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12.* .* FILE +LOCAL +DEFAULT +ABS .* .* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl1 .* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl2 diff --git a/ld/testsuite/ld-arm/rodata-merge-map.sym b/ld/testsuite/ld-arm/rodata-merge-map.sym index b1070a3..245ce7c 100644 --- a/ld/testsuite/ld-arm/rodata-merge-map.sym +++ b/ld/testsuite/ld-arm/rodata-merge-map.sym @@ -2,7 +2,7 @@ Symbol table '.symtab' contains 5 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 - 2: 00000000 0 SECTION LOCAL DEFAULT 2 + 1: 00000000 0 SECTION LOCAL DEFAULT 1.* + 2: 00000000 0 SECTION LOCAL DEFAULT 2.* 3: 00000000 0 NOTYPE LOCAL DEFAULT 1 \$d 4: 0000000c 0 NOTYPE LOCAL DEFAULT 1 \$d diff --git a/ld/testsuite/ld-arm/script-type.sym b/ld/testsuite/ld-arm/script-type.sym index 1623c03..b9356b3 100644 --- a/ld/testsuite/ld-arm/script-type.sym +++ b/ld/testsuite/ld-arm/script-type.sym @@ -2,8 +2,8 @@ Symbol table '.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* 0+ +0 NOTYPE +LOCAL +DEFAULT +UND -.* 0+ +0 SECTION LOCAL +DEFAULT +1 -.* 0+ +0 SECTION LOCAL +DEFAULT +2 +.* 0+ +0 SECTION LOCAL +DEFAULT +1.* +.* 0+ +0 SECTION LOCAL +DEFAULT +2.* .* 0+ +0 FILE +LOCAL +DEFAULT +ABS .* .* 0+ +0 NOTYPE +LOCAL +DEFAULT +1 \$a .* 0+10 +0 NOTYPE +LOCAL +DEFAULT +1 \$d diff --git a/ld/testsuite/ld-cris/libdso-2.d b/ld/testsuite/ld-cris/libdso-2.d index 83d56a1..900d00d 100644 --- a/ld/testsuite/ld-cris/libdso-2.d +++ b/ld/testsuite/ld-cris/libdso-2.d @@ -32,22 +32,22 @@ Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains 4 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +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+ +0 +OBJECT +GLOBAL +DEFAULT +ABS TST1 +3: 0+154 +0 +FUNC +GLOBAL +DEFAULT +7 export_1@@TST1 Symbol table '\.symtab' contains 15 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 - +4: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 - +5: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 - +6: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 - +7: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 - +8: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 - +9: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 + +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3.* + +4: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4.* + +5: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5.* + +6: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6.* + +7: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7.* + +8: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8.* + +9: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9.* +10: 0+2..[046c] +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC +11: 0+2..[046c] +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ +12: 0+150 +2 +FUNC +LOCAL +DEFAULT +7 dsofn diff --git a/ld/testsuite/ld-cris/pr16044.d b/ld/testsuite/ld-cris/pr16044.d index 30988b8..9bb264b 100644 --- a/ld/testsuite/ld-cris/pr16044.d +++ b/ld/testsuite/ld-cris/pr16044.d @@ -30,7 +30,7 @@ Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains 4 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 + +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5.* +2: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +5 export_1 +3: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +5 export_2 diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp index a8ce933..558e448 100644 --- a/ld/testsuite/ld-elf/sec64k.exp +++ b/ld/testsuite/ld-elf/sec64k.exp @@ -199,7 +199,7 @@ if { ![istarget "d10v-*-*"] puts $ofd " \\\[65280\\\] \\.foo\\.\[0-9\]+ .*" puts $ofd "#..." if { [is_elf_unused_section_symbols ] } { - puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+660.. " + puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+660...*" puts $ofd "#..." puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[0-9\] bar_1$" puts $ofd "#..." diff --git a/ld/testsuite/ld-ia64/tlsbin.rd b/ld/testsuite/ld-ia64/tlsbin.rd index 6ca1267..ccbdbdb 100644 --- a/ld/testsuite/ld-ia64/tlsbin.rd +++ b/ld/testsuite/ld-ia64/tlsbin.rd @@ -66,21 +66,21 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * -.* SECTION +LOCAL +DEFAULT +9 * -.* SECTION +LOCAL +DEFAULT +10 * -.* SECTION +LOCAL +DEFAULT +11 * -.* SECTION +LOCAL +DEFAULT +12 * -.* SECTION +LOCAL +DEFAULT +13 * -.* SECTION +LOCAL +DEFAULT +14 * -.* SECTION +LOCAL +DEFAULT +15 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* +.* SECTION +LOCAL +DEFAULT +12.* +.* SECTION +LOCAL +DEFAULT +13.* +.* SECTION +LOCAL +DEFAULT +14.* +.* SECTION +LOCAL +DEFAULT +15.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +11 sl1 .* TLS +LOCAL +DEFAULT +11 sl2 diff --git a/ld/testsuite/ld-ia64/tlspic.rd b/ld/testsuite/ld-ia64/tlspic.rd index e1b3aff..02c9800 100644 --- a/ld/testsuite/ld-ia64/tlspic.rd +++ b/ld/testsuite/ld-ia64/tlspic.rd @@ -73,20 +73,20 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * -.* SECTION +LOCAL +DEFAULT +9 * -.* SECTION +LOCAL +DEFAULT +10 * -.* SECTION +LOCAL +DEFAULT +11 * -.* SECTION +LOCAL +DEFAULT +12 * -.* SECTION +LOCAL +DEFAULT +13 * -.* SECTION +LOCAL +DEFAULT +14 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* +.* SECTION +LOCAL +DEFAULT +12.* +.* SECTION +LOCAL +DEFAULT +13.* +.* SECTION +LOCAL +DEFAULT +14.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +10 sl1 .* TLS +LOCAL +DEFAULT +10 sl2 diff --git a/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d b/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d index 911cc24..09a311e 100644 --- a/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d +++ b/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d @@ -7,7 +7,7 @@ Symbol table '\.symtab' contains 5 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1 + 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1.* 2: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*global-local-symtab\.o 3: 0000000000000004 4 OBJECT LOCAL DEFAULT 1 bar 4: 0000000000000000 4 OBJECT GLOBAL DEFAULT 1 foo diff --git a/ld/testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d b/ld/testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d index 047f290..0eb396f 100644 --- a/ld/testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d +++ b/ld/testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d @@ -7,7 +7,7 @@ Symbol table '\.symtab' contains 5 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 + 1: 00000000 0 SECTION LOCAL DEFAULT 1.* 2: 00000000 0 FILE LOCAL DEFAULT ABS .*global-local-symtab\.o 3: 00000004 4 OBJECT LOCAL DEFAULT 1 bar 4: 00000000 4 OBJECT GLOBAL DEFAULT 1 foo diff --git a/ld/testsuite/ld-mmix/bspec1.d b/ld/testsuite/ld-mmix/bspec1.d index 3d07d2d..0ada293 100644 --- a/ld/testsuite/ld-mmix/bspec1.d +++ b/ld/testsuite/ld-mmix/bspec1.d @@ -28,8 +28,8 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 9 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* +3: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main +4: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start #... diff --git a/ld/testsuite/ld-mmix/bspec2.d b/ld/testsuite/ld-mmix/bspec2.d index b18fe47..053d879 100644 --- a/ld/testsuite/ld-mmix/bspec2.d +++ b/ld/testsuite/ld-mmix/bspec2.d @@ -33,9 +33,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains 11 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 - +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 - +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2.* + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3.* +4: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +ABS ext1 +6: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start diff --git a/ld/testsuite/ld-mmix/local1.d b/ld/testsuite/ld-mmix/local1.d index 7519ea1..d59105a 100644 --- a/ld/testsuite/ld-mmix/local1.d +++ b/ld/testsuite/ld-mmix/local1.d @@ -33,8 +33,8 @@ Key to Flags: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND -.* 0+ +0 +SECTION +LOCAL +DEFAULT +1 -.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 +.* 0+ +0 +SECTION +LOCAL +DEFAULT +1.* +.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2.* .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* .* 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* diff --git a/ld/testsuite/ld-mmix/local3.d b/ld/testsuite/ld-mmix/local3.d index e5d5893..30c8a38 100644 --- a/ld/testsuite/ld-mmix/local3.d +++ b/ld/testsuite/ld-mmix/local3.d @@ -31,8 +31,8 @@ Key to Flags: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND -.* 0+ +0 +SECTION +LOCAL +DEFAULT +1 -.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 +.* 0+ +0 +SECTION +LOCAL +DEFAULT +1.* +.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2.* .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* .* 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* diff --git a/ld/testsuite/ld-mmix/local5.d b/ld/testsuite/ld-mmix/local5.d index 2dccb2e..252fd0b 100644 --- a/ld/testsuite/ld-mmix/local5.d +++ b/ld/testsuite/ld-mmix/local5.d @@ -32,8 +32,8 @@ Key to Flags: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND -.* 0+ +0 +SECTION +LOCAL +DEFAULT +1 -.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 +.* 0+ +0 +SECTION +LOCAL +DEFAULT +1.* +.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2.* .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* .* 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* diff --git a/ld/testsuite/ld-mmix/local7.d b/ld/testsuite/ld-mmix/local7.d index 5754c34..69f9d8e 100644 --- a/ld/testsuite/ld-mmix/local7.d +++ b/ld/testsuite/ld-mmix/local7.d @@ -33,8 +33,8 @@ Key to Flags: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND -.* 0+ +0 +SECTION +LOCAL +DEFAULT +1 -.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 +.* 0+ +0 +SECTION +LOCAL +DEFAULT +1.* +.* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2.* .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* .* 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* diff --git a/ld/testsuite/ld-mmix/undef-3.d b/ld/testsuite/ld-mmix/undef-3.d index 2484d76..2beb51a 100644 --- a/ld/testsuite/ld-mmix/undef-3.d +++ b/ld/testsuite/ld-mmix/undef-3.d @@ -23,7 +23,7 @@ Key to Flags: Symbol table '\.symtab' contains 8 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND - +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1.* [ ]+2: 0+[ ]+0[ ]+NOTYPE[ ]+GLOBAL[ ]+DEFAULT[ ]+UND[ ]+undefd +3: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start +4: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 __bss_start diff --git a/ld/testsuite/ld-powerpc/tlsso.r b/ld/testsuite/ld-powerpc/tlsso.r index 99f52ba..d56b2a0 100644 --- a/ld/testsuite/ld-powerpc/tlsso.r +++ b/ld/testsuite/ld-powerpc/tlsso.r @@ -74,8 +74,8 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +10.* .* TLS +GLOBAL +DEFAULT +UND gd .* TLS +GLOBAL +DEFAULT +8 le0 .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr diff --git a/ld/testsuite/ld-powerpc/tlsso32.r b/ld/testsuite/ld-powerpc/tlsso32.r index a20d740..0202440 100644 --- a/ld/testsuite/ld-powerpc/tlsso32.r +++ b/ld/testsuite/ld-powerpc/tlsso32.r @@ -73,7 +73,7 @@ Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +6.* .* TLS +GLOBAL +DEFAULT +UND gd .* TLS +GLOBAL +DEFAULT +8 le0 .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr diff --git a/ld/testsuite/ld-powerpc/tlstocso.r b/ld/testsuite/ld-powerpc/tlstocso.r index 65f0c4c..026d483 100644 --- a/ld/testsuite/ld-powerpc/tlstocso.r +++ b/ld/testsuite/ld-powerpc/tlstocso.r @@ -67,8 +67,8 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +10.* .* TLS +GLOBAL +DEFAULT +UND gd .* TLS +GLOBAL +DEFAULT +8 le0 .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr diff --git a/ld/testsuite/ld-s390/tlsbin.rd b/ld/testsuite/ld-s390/tlsbin.rd index 50d4443..1f08c31 100644 --- a/ld/testsuite/ld-s390/tlsbin.rd +++ b/ld/testsuite/ld-s390/tlsbin.rd @@ -74,18 +74,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION +LOCAL +DEFAULT +1 -.* SECTION +LOCAL +DEFAULT +2 -.* SECTION +LOCAL +DEFAULT +3 -.* SECTION +LOCAL +DEFAULT +4 -.* SECTION +LOCAL +DEFAULT +5 -.* SECTION +LOCAL +DEFAULT +6 -.* SECTION +LOCAL +DEFAULT +7 -.* SECTION +LOCAL +DEFAULT +8 -.* SECTION +LOCAL +DEFAULT +9 -.* SECTION +LOCAL +DEFAULT +10 -.* SECTION +LOCAL +DEFAULT +11 -.* SECTION +LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* +.* SECTION +LOCAL +DEFAULT +12.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +9 sl1 .* TLS +LOCAL +DEFAULT +9 sl2 diff --git a/ld/testsuite/ld-s390/tlsbin_64.rd b/ld/testsuite/ld-s390/tlsbin_64.rd index fe7811a..7175124 100644 --- a/ld/testsuite/ld-s390/tlsbin_64.rd +++ b/ld/testsuite/ld-s390/tlsbin_64.rd @@ -74,18 +74,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION +LOCAL +DEFAULT +1 -.* SECTION +LOCAL +DEFAULT +2 -.* SECTION +LOCAL +DEFAULT +3 -.* SECTION +LOCAL +DEFAULT +4 -.* SECTION +LOCAL +DEFAULT +5 -.* SECTION +LOCAL +DEFAULT +6 -.* SECTION +LOCAL +DEFAULT +7 -.* SECTION +LOCAL +DEFAULT +8 -.* SECTION +LOCAL +DEFAULT +9 -.* SECTION +LOCAL +DEFAULT +10 -.* SECTION +LOCAL +DEFAULT +11 -.* SECTION +LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* +.* SECTION +LOCAL +DEFAULT +12.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +9 sl1 .* TLS +LOCAL +DEFAULT +9 sl2 diff --git a/ld/testsuite/ld-s390/tlspic.rd b/ld/testsuite/ld-s390/tlspic.rd index 555e6fe..53558e7 100644 --- a/ld/testsuite/ld-s390/tlspic.rd +++ b/ld/testsuite/ld-s390/tlspic.rd @@ -69,7 +69,7 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +7.* .* TLS +GLOBAL +DEFAULT +8 sg8 .* TLS +GLOBAL +DEFAULT +8 sg3 .* TLS +GLOBAL +DEFAULT +8 sg4 @@ -84,17 +84,17 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION +LOCAL +DEFAULT +1 -.* SECTION +LOCAL +DEFAULT +2 -.* SECTION +LOCAL +DEFAULT +3 -.* SECTION +LOCAL +DEFAULT +4 -.* SECTION +LOCAL +DEFAULT +5 -.* SECTION +LOCAL +DEFAULT +6 -.* SECTION +LOCAL +DEFAULT +7 -.* SECTION +LOCAL +DEFAULT +8 -.* SECTION +LOCAL +DEFAULT +9 -.* SECTION +LOCAL +DEFAULT +10 -.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +8 sl1 .* TLS +LOCAL +DEFAULT +8 sl2 diff --git a/ld/testsuite/ld-s390/tlspic_64.rd b/ld/testsuite/ld-s390/tlspic_64.rd index 4a926d6..5a4b8dd 100644 --- a/ld/testsuite/ld-s390/tlspic_64.rd +++ b/ld/testsuite/ld-s390/tlspic_64.rd @@ -84,17 +84,17 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION +LOCAL +DEFAULT +1 -.* SECTION +LOCAL +DEFAULT +2 -.* SECTION +LOCAL +DEFAULT +3 -.* SECTION +LOCAL +DEFAULT +4 -.* SECTION +LOCAL +DEFAULT +5 -.* SECTION +LOCAL +DEFAULT +6 -.* SECTION +LOCAL +DEFAULT +7 -.* SECTION +LOCAL +DEFAULT +8 -.* SECTION +LOCAL +DEFAULT +9 -.* SECTION +LOCAL +DEFAULT +10 -.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +8 sl1 .* TLS +LOCAL +DEFAULT +8 sl2 diff --git a/ld/testsuite/ld-sparc/gotop32.rd b/ld/testsuite/ld-sparc/gotop32.rd index d9ead25..0f02e91 100644 --- a/ld/testsuite/ld-sparc/gotop32.rd +++ b/ld/testsuite/ld-sparc/gotop32.rd @@ -40,22 +40,22 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +7.* .* FUNC +GLOBAL +DEFAULT +5 foo .* NOTYPE +GLOBAL +DEFAULT +8 sym Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +8 local_sym .* FILE +LOCAL +DEFAULT +ABS .* diff --git a/ld/testsuite/ld-sparc/gotop64.rd b/ld/testsuite/ld-sparc/gotop64.rd index c7d802c..249d731 100644 --- a/ld/testsuite/ld-sparc/gotop64.rd +++ b/ld/testsuite/ld-sparc/gotop64.rd @@ -40,22 +40,22 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +7.* .* FUNC +GLOBAL +DEFAULT +5 foo .* NOTYPE +GLOBAL +DEFAULT +8 sym Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +8 local_sym .* FILE +LOCAL +DEFAULT +ABS .* diff --git a/ld/testsuite/ld-sparc/tlssunbin32.rd b/ld/testsuite/ld-sparc/tlssunbin32.rd index a41f27d..48d5eac 100644 --- a/ld/testsuite/ld-sparc/tlssunbin32.rd +++ b/ld/testsuite/ld-sparc/tlssunbin32.rd @@ -60,18 +60,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * -.* SECTION +LOCAL +DEFAULT +9 * -.* SECTION +LOCAL +DEFAULT +10 * -.* SECTION +LOCAL +DEFAULT +11 * -.* SECTION +LOCAL +DEFAULT +12 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* +.* SECTION +LOCAL +DEFAULT +12.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +9 sl1 .* TLS +LOCAL +DEFAULT +9 sl2 diff --git a/ld/testsuite/ld-sparc/tlssunbin64.rd b/ld/testsuite/ld-sparc/tlssunbin64.rd index 4d792b8..eaaabd2 100644 --- a/ld/testsuite/ld-sparc/tlssunbin64.rd +++ b/ld/testsuite/ld-sparc/tlssunbin64.rd @@ -60,18 +60,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * -.* SECTION +LOCAL +DEFAULT +9 * -.* SECTION +LOCAL +DEFAULT +10 * -.* SECTION +LOCAL +DEFAULT +11 * -.* SECTION +LOCAL +DEFAULT +12 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* +.* SECTION +LOCAL +DEFAULT +12.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +9 sl1 .* TLS +LOCAL +DEFAULT +9 sl2 diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.rd b/ld/testsuite/ld-sparc/tlssunnopic32.rd index 0f5a77f..01f8933 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic32.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic32.rd @@ -52,8 +52,8 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 12 entries: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +8.* .* FUNC +GLOBAL +DEFAULT +5 fn3 .* TLS +GLOBAL +DEFAULT +UND sg1 .* TLS +GLOBAL +DEFAULT +UND sg2 @@ -61,14 +61,14 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +6 bl1 .* TLS +LOCAL +DEFAULT +6 bl2 diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.rd b/ld/testsuite/ld-sparc/tlssunnopic64.rd index 0e1a794..8104c67 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic64.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic64.rd @@ -54,8 +54,8 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +8.* .* FUNC +GLOBAL +DEFAULT +5 fn3 .* TLS +GLOBAL +DEFAULT +UND sg1 .* TLS +GLOBAL +DEFAULT +UND sg2 @@ -63,14 +63,14 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +6 bl1 .* TLS +LOCAL +DEFAULT +6 bl2 diff --git a/ld/testsuite/ld-sparc/tlssunpic32.rd b/ld/testsuite/ld-sparc/tlssunpic32.rd index 9e4aa99..d401262 100644 --- a/ld/testsuite/ld-sparc/tlssunpic32.rd +++ b/ld/testsuite/ld-sparc/tlssunpic32.rd @@ -62,8 +62,8 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +10.* .* TLS +GLOBAL +DEFAULT +7 sg8 .* TLS +GLOBAL +DEFAULT +7 sg3 .* TLS +GLOBAL +DEFAULT +7 sg4 @@ -78,17 +78,17 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * -.* SECTION +LOCAL +DEFAULT +9 * -.* SECTION +LOCAL +DEFAULT +10 * -.* SECTION +LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 diff --git a/ld/testsuite/ld-sparc/tlssunpic64.rd b/ld/testsuite/ld-sparc/tlssunpic64.rd index 75c2da3..5816205 100644 --- a/ld/testsuite/ld-sparc/tlssunpic64.rd +++ b/ld/testsuite/ld-sparc/tlssunpic64.rd @@ -62,8 +62,8 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry: Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +10.* .* TLS +GLOBAL +DEFAULT +7 sg8 .* TLS +GLOBAL +DEFAULT +7 sg3 .* TLS +GLOBAL +DEFAULT +7 sg4 @@ -78,17 +78,17 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION +LOCAL +DEFAULT +1 * -.* SECTION +LOCAL +DEFAULT +2 * -.* SECTION +LOCAL +DEFAULT +3 * -.* SECTION +LOCAL +DEFAULT +4 * -.* SECTION +LOCAL +DEFAULT +5 * -.* SECTION +LOCAL +DEFAULT +6 * -.* SECTION +LOCAL +DEFAULT +7 * -.* SECTION +LOCAL +DEFAULT +8 * -.* SECTION +LOCAL +DEFAULT +9 * -.* SECTION +LOCAL +DEFAULT +10 * -.* SECTION +LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +1.* +.* SECTION +LOCAL +DEFAULT +2.* +.* SECTION +LOCAL +DEFAULT +3.* +.* SECTION +LOCAL +DEFAULT +4.* +.* SECTION +LOCAL +DEFAULT +5.* +.* SECTION +LOCAL +DEFAULT +6.* +.* SECTION +LOCAL +DEFAULT +7.* +.* SECTION +LOCAL +DEFAULT +8.* +.* SECTION +LOCAL +DEFAULT +9.* +.* SECTION +LOCAL +DEFAULT +10.* +.* SECTION +LOCAL +DEFAULT +11.* .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 diff --git a/ld/testsuite/ld-tic6x/common.d b/ld/testsuite/ld-tic6x/common.d index f2a7b1b..554479c 100644 --- a/ld/testsuite/ld-tic6x/common.d +++ b/ld/testsuite/ld-tic6x/common.d @@ -20,7 +20,7 @@ Key to Flags: Symbol table '\.symtab' contains 5 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000080 0 SECTION LOCAL DEFAULT 1 - 2: 00000100 0 SECTION LOCAL DEFAULT 2 + 1: 00000080 0 SECTION LOCAL DEFAULT 1.* + 2: 00000100 0 SECTION LOCAL DEFAULT 2.* 3: 00000100 4 OBJECT GLOBAL DEFAULT 2 x 4: 00000080 8 OBJECT GLOBAL DEFAULT 1 y diff --git a/ld/testsuite/ld-tic6x/shlib-1.rd b/ld/testsuite/ld-tic6x/shlib-1.rd index a038baf..6b64d01 100644 --- a/ld/testsuite/ld-tic6x/shlib-1.rd +++ b/ld/testsuite/ld-tic6x/shlib-1.rd @@ -78,11 +78,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 2 entries: Symbol table '\.dynsym' contains 12 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 8 - 2: 10000080 0 SECTION LOCAL DEFAULT 9 - 3: 10000100 0 SECTION LOCAL DEFAULT 10 - 4: 10000128 0 SECTION LOCAL DEFAULT 11 - 5: 10000130 0 SECTION LOCAL DEFAULT 12 + 1: 10000020 0 SECTION LOCAL DEFAULT 8.* + 2: 10000080 0 SECTION LOCAL DEFAULT 9.* + 3: 10000100 0 SECTION LOCAL DEFAULT 10.* + 4: 10000128 0 SECTION LOCAL DEFAULT 11.* + 5: 10000130 0 SECTION LOCAL DEFAULT 12.* 6: 00000000 0 NOTYPE WEAK DEFAULT UND b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 8: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -93,19 +93,19 @@ Symbol table '\.dynsym' contains 12 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008044 0 SECTION LOCAL DEFAULT 2 - 3: 00008104 0 SECTION LOCAL DEFAULT 3 - 4: 00008118 0 SECTION LOCAL DEFAULT 4 - 5: 0000813c 0 SECTION LOCAL DEFAULT 5 - 6: 00008154 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 10000020 0 SECTION LOCAL DEFAULT 8 - 9: 10000080 0 SECTION LOCAL DEFAULT 9 - 10: 10000100 0 SECTION LOCAL DEFAULT 10 - 11: 10000128 0 SECTION LOCAL DEFAULT 11 - 12: 10000130 0 SECTION LOCAL DEFAULT 12 - 13: 00000000 0 SECTION LOCAL DEFAULT 13 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008044 0 SECTION LOCAL DEFAULT 2.* + 3: 00008104 0 SECTION LOCAL DEFAULT 3.* + 4: 00008118 0 SECTION LOCAL DEFAULT 4.* + 5: 0000813c 0 SECTION LOCAL DEFAULT 5.* + 6: 00008154 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 10000020 0 SECTION LOCAL DEFAULT 8.* + 9: 10000080 0 SECTION LOCAL DEFAULT 9.* + 10: 10000100 0 SECTION LOCAL DEFAULT 10.* + 11: 10000128 0 SECTION LOCAL DEFAULT 11.* + 12: 10000130 0 SECTION LOCAL DEFAULT 12.* + 13: 00000000 0 SECTION LOCAL DEFAULT 13.* 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 15: 10000080 0 FUNC LOCAL HIDDEN 9 sub1 16: 00000000 0 FILE LOCAL DEFAULT ABS diff --git a/ld/testsuite/ld-tic6x/shlib-1b.rd b/ld/testsuite/ld-tic6x/shlib-1b.rd index a038baf..6b64d01 100644 --- a/ld/testsuite/ld-tic6x/shlib-1b.rd +++ b/ld/testsuite/ld-tic6x/shlib-1b.rd @@ -78,11 +78,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 2 entries: Symbol table '\.dynsym' contains 12 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 8 - 2: 10000080 0 SECTION LOCAL DEFAULT 9 - 3: 10000100 0 SECTION LOCAL DEFAULT 10 - 4: 10000128 0 SECTION LOCAL DEFAULT 11 - 5: 10000130 0 SECTION LOCAL DEFAULT 12 + 1: 10000020 0 SECTION LOCAL DEFAULT 8.* + 2: 10000080 0 SECTION LOCAL DEFAULT 9.* + 3: 10000100 0 SECTION LOCAL DEFAULT 10.* + 4: 10000128 0 SECTION LOCAL DEFAULT 11.* + 5: 10000130 0 SECTION LOCAL DEFAULT 12.* 6: 00000000 0 NOTYPE WEAK DEFAULT UND b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 8: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -93,19 +93,19 @@ Symbol table '\.dynsym' contains 12 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008044 0 SECTION LOCAL DEFAULT 2 - 3: 00008104 0 SECTION LOCAL DEFAULT 3 - 4: 00008118 0 SECTION LOCAL DEFAULT 4 - 5: 0000813c 0 SECTION LOCAL DEFAULT 5 - 6: 00008154 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 10000020 0 SECTION LOCAL DEFAULT 8 - 9: 10000080 0 SECTION LOCAL DEFAULT 9 - 10: 10000100 0 SECTION LOCAL DEFAULT 10 - 11: 10000128 0 SECTION LOCAL DEFAULT 11 - 12: 10000130 0 SECTION LOCAL DEFAULT 12 - 13: 00000000 0 SECTION LOCAL DEFAULT 13 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008044 0 SECTION LOCAL DEFAULT 2.* + 3: 00008104 0 SECTION LOCAL DEFAULT 3.* + 4: 00008118 0 SECTION LOCAL DEFAULT 4.* + 5: 0000813c 0 SECTION LOCAL DEFAULT 5.* + 6: 00008154 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 10000020 0 SECTION LOCAL DEFAULT 8.* + 9: 10000080 0 SECTION LOCAL DEFAULT 9.* + 10: 10000100 0 SECTION LOCAL DEFAULT 10.* + 11: 10000128 0 SECTION LOCAL DEFAULT 11.* + 12: 10000130 0 SECTION LOCAL DEFAULT 12.* + 13: 00000000 0 SECTION LOCAL DEFAULT 13.* 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 15: 10000080 0 FUNC LOCAL HIDDEN 9 sub1 16: 00000000 0 FILE LOCAL DEFAULT ABS diff --git a/ld/testsuite/ld-tic6x/shlib-1r.rd b/ld/testsuite/ld-tic6x/shlib-1r.rd index a038baf..6b64d01 100644 --- a/ld/testsuite/ld-tic6x/shlib-1r.rd +++ b/ld/testsuite/ld-tic6x/shlib-1r.rd @@ -78,11 +78,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 2 entries: Symbol table '\.dynsym' contains 12 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 8 - 2: 10000080 0 SECTION LOCAL DEFAULT 9 - 3: 10000100 0 SECTION LOCAL DEFAULT 10 - 4: 10000128 0 SECTION LOCAL DEFAULT 11 - 5: 10000130 0 SECTION LOCAL DEFAULT 12 + 1: 10000020 0 SECTION LOCAL DEFAULT 8.* + 2: 10000080 0 SECTION LOCAL DEFAULT 9.* + 3: 10000100 0 SECTION LOCAL DEFAULT 10.* + 4: 10000128 0 SECTION LOCAL DEFAULT 11.* + 5: 10000130 0 SECTION LOCAL DEFAULT 12.* 6: 00000000 0 NOTYPE WEAK DEFAULT UND b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 8: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -93,19 +93,19 @@ Symbol table '\.dynsym' contains 12 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008044 0 SECTION LOCAL DEFAULT 2 - 3: 00008104 0 SECTION LOCAL DEFAULT 3 - 4: 00008118 0 SECTION LOCAL DEFAULT 4 - 5: 0000813c 0 SECTION LOCAL DEFAULT 5 - 6: 00008154 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 10000020 0 SECTION LOCAL DEFAULT 8 - 9: 10000080 0 SECTION LOCAL DEFAULT 9 - 10: 10000100 0 SECTION LOCAL DEFAULT 10 - 11: 10000128 0 SECTION LOCAL DEFAULT 11 - 12: 10000130 0 SECTION LOCAL DEFAULT 12 - 13: 00000000 0 SECTION LOCAL DEFAULT 13 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008044 0 SECTION LOCAL DEFAULT 2.* + 3: 00008104 0 SECTION LOCAL DEFAULT 3.* + 4: 00008118 0 SECTION LOCAL DEFAULT 4.* + 5: 0000813c 0 SECTION LOCAL DEFAULT 5.* + 6: 00008154 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 10000020 0 SECTION LOCAL DEFAULT 8.* + 9: 10000080 0 SECTION LOCAL DEFAULT 9.* + 10: 10000100 0 SECTION LOCAL DEFAULT 10.* + 11: 10000128 0 SECTION LOCAL DEFAULT 11.* + 12: 10000130 0 SECTION LOCAL DEFAULT 12.* + 13: 00000000 0 SECTION LOCAL DEFAULT 13.* 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 15: 10000080 0 FUNC LOCAL HIDDEN 9 sub1 16: 00000000 0 FILE LOCAL DEFAULT ABS diff --git a/ld/testsuite/ld-tic6x/shlib-1rb.rd b/ld/testsuite/ld-tic6x/shlib-1rb.rd index a038baf..6b64d01 100644 --- a/ld/testsuite/ld-tic6x/shlib-1rb.rd +++ b/ld/testsuite/ld-tic6x/shlib-1rb.rd @@ -78,11 +78,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 2 entries: Symbol table '\.dynsym' contains 12 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 8 - 2: 10000080 0 SECTION LOCAL DEFAULT 9 - 3: 10000100 0 SECTION LOCAL DEFAULT 10 - 4: 10000128 0 SECTION LOCAL DEFAULT 11 - 5: 10000130 0 SECTION LOCAL DEFAULT 12 + 1: 10000020 0 SECTION LOCAL DEFAULT 8.* + 2: 10000080 0 SECTION LOCAL DEFAULT 9.* + 3: 10000100 0 SECTION LOCAL DEFAULT 10.* + 4: 10000128 0 SECTION LOCAL DEFAULT 11.* + 5: 10000130 0 SECTION LOCAL DEFAULT 12.* 6: 00000000 0 NOTYPE WEAK DEFAULT UND b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 8: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -93,19 +93,19 @@ Symbol table '\.dynsym' contains 12 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008044 0 SECTION LOCAL DEFAULT 2 - 3: 00008104 0 SECTION LOCAL DEFAULT 3 - 4: 00008118 0 SECTION LOCAL DEFAULT 4 - 5: 0000813c 0 SECTION LOCAL DEFAULT 5 - 6: 00008154 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 10000020 0 SECTION LOCAL DEFAULT 8 - 9: 10000080 0 SECTION LOCAL DEFAULT 9 - 10: 10000100 0 SECTION LOCAL DEFAULT 10 - 11: 10000128 0 SECTION LOCAL DEFAULT 11 - 12: 10000130 0 SECTION LOCAL DEFAULT 12 - 13: 00000000 0 SECTION LOCAL DEFAULT 13 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008044 0 SECTION LOCAL DEFAULT 2.* + 3: 00008104 0 SECTION LOCAL DEFAULT 3.* + 4: 00008118 0 SECTION LOCAL DEFAULT 4.* + 5: 0000813c 0 SECTION LOCAL DEFAULT 5.* + 6: 00008154 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 10000020 0 SECTION LOCAL DEFAULT 8.* + 9: 10000080 0 SECTION LOCAL DEFAULT 9.* + 10: 10000100 0 SECTION LOCAL DEFAULT 10.* + 11: 10000128 0 SECTION LOCAL DEFAULT 11.* + 12: 10000130 0 SECTION LOCAL DEFAULT 12.* + 13: 00000000 0 SECTION LOCAL DEFAULT 13.* 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 15: 10000080 0 FUNC LOCAL HIDDEN 9 sub1 16: 00000000 0 FILE LOCAL DEFAULT ABS diff --git a/ld/testsuite/ld-tic6x/shlib-app-1.rd b/ld/testsuite/ld-tic6x/shlib-app-1.rd index bf783a9..607d270 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1.rd @@ -83,11 +83,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 1 entry: Symbol table '\.dynsym' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 9 - 2: 10000060 0 SECTION LOCAL DEFAULT 10 - 3: 100000a0 0 SECTION LOCAL DEFAULT 11 - 4: 100000c0 0 SECTION LOCAL DEFAULT 12 - 5: 100000cc 0 SECTION LOCAL DEFAULT 13 + 1: 10000020 0 SECTION LOCAL DEFAULT 9.* + 2: 10000060 0 SECTION LOCAL DEFAULT 10.* + 3: 100000a0 0 SECTION LOCAL DEFAULT 11.* + 4: 100000c0 0 SECTION LOCAL DEFAULT 12.* + 5: 100000cc 0 SECTION LOCAL DEFAULT 13.* 6: 100000c0 4 OBJECT GLOBAL DEFAULT 12 b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 8: 00000000 0 OBJECT WEAK DEFAULT UND g2 @@ -97,20 +97,20 @@ Symbol table '\.dynsym' contains 11 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008040 0 SECTION LOCAL DEFAULT 2 - 3: 000080f0 0 SECTION LOCAL DEFAULT 3 - 4: 00008114 0 SECTION LOCAL DEFAULT 4 - 5: 0000812c 0 SECTION LOCAL DEFAULT 5 - 6: 00008144 0 SECTION LOCAL DEFAULT 6 - 7: 00008150 0 SECTION LOCAL DEFAULT 7 - 8: 10000000 0 SECTION LOCAL DEFAULT 8 - 9: 10000020 0 SECTION LOCAL DEFAULT 9 - 10: 10000060 0 SECTION LOCAL DEFAULT 10 - 11: 100000a0 0 SECTION LOCAL DEFAULT 11 - 12: 100000c0 0 SECTION LOCAL DEFAULT 12 - 13: 100000cc 0 SECTION LOCAL DEFAULT 13 - 14: 00000000 0 SECTION LOCAL DEFAULT 14 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008040 0 SECTION LOCAL DEFAULT 2.* + 3: 000080f0 0 SECTION LOCAL DEFAULT 3.* + 4: 00008114 0 SECTION LOCAL DEFAULT 4.* + 5: 0000812c 0 SECTION LOCAL DEFAULT 5.* + 6: 00008144 0 SECTION LOCAL DEFAULT 6.* + 7: 00008150 0 SECTION LOCAL DEFAULT 7.* + 8: 10000000 0 SECTION LOCAL DEFAULT 8.* + 9: 10000020 0 SECTION LOCAL DEFAULT 9.* + 10: 10000060 0 SECTION LOCAL DEFAULT 10.* + 11: 100000a0 0 SECTION LOCAL DEFAULT 11.* + 12: 100000c0 0 SECTION LOCAL DEFAULT 12.* + 13: 100000cc 0 SECTION LOCAL DEFAULT 13.* + 14: 00000000 0 SECTION LOCAL DEFAULT 14.* 15: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1\.o 16: 10000060 0 NOTYPE LOCAL DEFAULT 10 fish 17: 100000c4 8 OBJECT LOCAL DEFAULT 12 w diff --git a/ld/testsuite/ld-tic6x/shlib-app-1b.rd b/ld/testsuite/ld-tic6x/shlib-app-1b.rd index 771ad21..68d2076 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1b.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1b.rd @@ -83,11 +83,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 1 entry: Symbol table '\.dynsym' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 9 - 2: 10000060 0 SECTION LOCAL DEFAULT 10 - 3: 100000a0 0 SECTION LOCAL DEFAULT 11 - 4: 100000c0 0 SECTION LOCAL DEFAULT 12 - 5: 100000cc 0 SECTION LOCAL DEFAULT 13 + 1: 10000020 0 SECTION LOCAL DEFAULT 9.* + 2: 10000060 0 SECTION LOCAL DEFAULT 10.* + 3: 100000a0 0 SECTION LOCAL DEFAULT 11.* + 4: 100000c0 0 SECTION LOCAL DEFAULT 12.* + 5: 100000cc 0 SECTION LOCAL DEFAULT 13.* 6: 100000c0 4 OBJECT GLOBAL DEFAULT 12 b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 8: 00000000 0 OBJECT WEAK DEFAULT UND g2 @@ -97,20 +97,20 @@ Symbol table '\.dynsym' contains 11 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008040 0 SECTION LOCAL DEFAULT 2 - 3: 000080f0 0 SECTION LOCAL DEFAULT 3 - 4: 00008114 0 SECTION LOCAL DEFAULT 4 - 5: 0000812c 0 SECTION LOCAL DEFAULT 5 - 6: 00008144 0 SECTION LOCAL DEFAULT 6 - 7: 00008150 0 SECTION LOCAL DEFAULT 7 - 8: 10000000 0 SECTION LOCAL DEFAULT 8 - 9: 10000020 0 SECTION LOCAL DEFAULT 9 - 10: 10000060 0 SECTION LOCAL DEFAULT 10 - 11: 100000a0 0 SECTION LOCAL DEFAULT 11 - 12: 100000c0 0 SECTION LOCAL DEFAULT 12 - 13: 100000cc 0 SECTION LOCAL DEFAULT 13 - 14: 00000000 0 SECTION LOCAL DEFAULT 14 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008040 0 SECTION LOCAL DEFAULT 2.* + 3: 000080f0 0 SECTION LOCAL DEFAULT 3.* + 4: 00008114 0 SECTION LOCAL DEFAULT 4.* + 5: 0000812c 0 SECTION LOCAL DEFAULT 5.* + 6: 00008144 0 SECTION LOCAL DEFAULT 6.* + 7: 00008150 0 SECTION LOCAL DEFAULT 7.* + 8: 10000000 0 SECTION LOCAL DEFAULT 8.* + 9: 10000020 0 SECTION LOCAL DEFAULT 9.* + 10: 10000060 0 SECTION LOCAL DEFAULT 10.* + 11: 100000a0 0 SECTION LOCAL DEFAULT 11.* + 12: 100000c0 0 SECTION LOCAL DEFAULT 12.* + 13: 100000cc 0 SECTION LOCAL DEFAULT 13.* + 14: 00000000 0 SECTION LOCAL DEFAULT 14.* 15: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1\.o 16: 10000060 0 NOTYPE LOCAL DEFAULT 10 fish 17: 100000c4 8 OBJECT LOCAL DEFAULT 12 w diff --git a/ld/testsuite/ld-tic6x/shlib-app-1r.rd b/ld/testsuite/ld-tic6x/shlib-app-1r.rd index a98c752..82502af 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1r.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1r.rd @@ -77,11 +77,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 1 entry: Symbol table '\.dynsym' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 8 - 2: 10000060 0 SECTION LOCAL DEFAULT 9 - 3: 100000a0 0 SECTION LOCAL DEFAULT 10 - 4: 100000c0 0 SECTION LOCAL DEFAULT 11 - 5: 100000c4 0 SECTION LOCAL DEFAULT 12 + 1: 10000020 0 SECTION LOCAL DEFAULT 8.* + 2: 10000060 0 SECTION LOCAL DEFAULT 9.* + 3: 100000a0 0 SECTION LOCAL DEFAULT 10.* + 4: 100000c0 0 SECTION LOCAL DEFAULT 11.* + 5: 100000c4 0 SECTION LOCAL DEFAULT 12.* 6: 100000c0 4 OBJECT GLOBAL DEFAULT 11 b 7: 00000000 0 FUNC GLOBAL DEFAULT UND sub0 8: 100000c4 4 OBJECT GLOBAL DEFAULT 12 a @@ -89,19 +89,19 @@ Symbol table '\.dynsym' contains 9 entries: Symbol table '\.symtab' contains 23 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008038 0 SECTION LOCAL DEFAULT 2 - 3: 000080c8 0 SECTION LOCAL DEFAULT 3 - 4: 000080e8 0 SECTION LOCAL DEFAULT 4 - 5: 00008100 0 SECTION LOCAL DEFAULT 5 - 6: 0000810c 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 10000020 0 SECTION LOCAL DEFAULT 8 - 9: 10000060 0 SECTION LOCAL DEFAULT 9 - 10: 100000a0 0 SECTION LOCAL DEFAULT 10 - 11: 100000c0 0 SECTION LOCAL DEFAULT 11 - 12: 100000c4 0 SECTION LOCAL DEFAULT 12 - 13: 00000000 0 SECTION LOCAL DEFAULT 13 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008038 0 SECTION LOCAL DEFAULT 2.* + 3: 000080c8 0 SECTION LOCAL DEFAULT 3.* + 4: 000080e8 0 SECTION LOCAL DEFAULT 4.* + 5: 00008100 0 SECTION LOCAL DEFAULT 5.* + 6: 0000810c 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 10000020 0 SECTION LOCAL DEFAULT 8.* + 9: 10000060 0 SECTION LOCAL DEFAULT 9.* + 10: 100000a0 0 SECTION LOCAL DEFAULT 10.* + 11: 100000c0 0 SECTION LOCAL DEFAULT 11.* + 12: 100000c4 0 SECTION LOCAL DEFAULT 12.* + 13: 00000000 0 SECTION LOCAL DEFAULT 13.* 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1r\.o 15: 10000060 0 NOTYPE LOCAL DEFAULT 9 fish 16: 00000000 0 FILE LOCAL DEFAULT ABS diff --git a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd index 6e795ff..8d13fb2 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd @@ -77,11 +77,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 1 entry: Symbol table '\.dynsym' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 8 - 2: 10000060 0 SECTION LOCAL DEFAULT 9 - 3: 100000a0 0 SECTION LOCAL DEFAULT 10 - 4: 100000c0 0 SECTION LOCAL DEFAULT 11 - 5: 100000c4 0 SECTION LOCAL DEFAULT 12 + 1: 10000020 0 SECTION LOCAL DEFAULT 8.* + 2: 10000060 0 SECTION LOCAL DEFAULT 9.* + 3: 100000a0 0 SECTION LOCAL DEFAULT 10.* + 4: 100000c0 0 SECTION LOCAL DEFAULT 11.* + 5: 100000c4 0 SECTION LOCAL DEFAULT 12.* 6: 100000c0 4 OBJECT GLOBAL DEFAULT 11 b 7: 00000000 0 FUNC GLOBAL DEFAULT UND sub0 8: 100000c4 4 OBJECT GLOBAL DEFAULT 12 a @@ -89,19 +89,19 @@ Symbol table '\.dynsym' contains 9 entries: Symbol table '\.symtab' contains 23 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008038 0 SECTION LOCAL DEFAULT 2 - 3: 000080c8 0 SECTION LOCAL DEFAULT 3 - 4: 000080e8 0 SECTION LOCAL DEFAULT 4 - 5: 00008100 0 SECTION LOCAL DEFAULT 5 - 6: 0000810c 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 10000020 0 SECTION LOCAL DEFAULT 8 - 9: 10000060 0 SECTION LOCAL DEFAULT 9 - 10: 100000a0 0 SECTION LOCAL DEFAULT 10 - 11: 100000c0 0 SECTION LOCAL DEFAULT 11 - 12: 100000c4 0 SECTION LOCAL DEFAULT 12 - 13: 00000000 0 SECTION LOCAL DEFAULT 13 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008038 0 SECTION LOCAL DEFAULT 2.* + 3: 000080c8 0 SECTION LOCAL DEFAULT 3.* + 4: 000080e8 0 SECTION LOCAL DEFAULT 4.* + 5: 00008100 0 SECTION LOCAL DEFAULT 5.* + 6: 0000810c 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 10000020 0 SECTION LOCAL DEFAULT 8.* + 9: 10000060 0 SECTION LOCAL DEFAULT 9.* + 10: 100000a0 0 SECTION LOCAL DEFAULT 10.* + 11: 100000c0 0 SECTION LOCAL DEFAULT 11.* + 12: 100000c4 0 SECTION LOCAL DEFAULT 12.* + 13: 00000000 0 SECTION LOCAL DEFAULT 13.* 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1r\.o 15: 10000060 0 NOTYPE LOCAL DEFAULT 9 fish 16: 00000000 0 FILE LOCAL DEFAULT ABS diff --git a/ld/testsuite/ld-tic6x/shlib-noindex.rd b/ld/testsuite/ld-tic6x/shlib-noindex.rd index c9e6004..38934ba 100644 --- a/ld/testsuite/ld-tic6x/shlib-noindex.rd +++ b/ld/testsuite/ld-tic6x/shlib-noindex.rd @@ -84,11 +84,11 @@ Relocation section '\.rela\.plt' at offset 0x2000 contains 2 entries: Symbol table '\.dynsym' contains 12 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000020 0 SECTION LOCAL DEFAULT 9 - 2: 10000080 0 SECTION LOCAL DEFAULT 10 - 3: 10000100 0 SECTION LOCAL DEFAULT 11 - 4: 10000128 0 SECTION LOCAL DEFAULT 12 - 5: 10000130 0 SECTION LOCAL DEFAULT 13 + 1: 10000020 0 SECTION LOCAL DEFAULT 9.* + 2: 10000080 0 SECTION LOCAL DEFAULT 10.* + 3: 10000100 0 SECTION LOCAL DEFAULT 11.* + 4: 10000128 0 SECTION LOCAL DEFAULT 12.* + 5: 10000130 0 SECTION LOCAL DEFAULT 13.* 6: 00000000 0 NOTYPE WEAK DEFAULT UND b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 8: 1000012c 4 OBJECT GLOBAL DEFAULT 12 g2 @@ -99,20 +99,20 @@ Symbol table '\.dynsym' contains 12 entries: Symbol table '\.symtab' contains 28 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008044 0 SECTION LOCAL DEFAULT 2 - 3: 00008104 0 SECTION LOCAL DEFAULT 3 - 4: 00008118 0 SECTION LOCAL DEFAULT 4 - 5: 00008124 0 SECTION LOCAL DEFAULT 5 - 6: 00008148 0 SECTION LOCAL DEFAULT 6 - 7: 00008160 0 SECTION LOCAL DEFAULT 7 - 8: 10000000 0 SECTION LOCAL DEFAULT 8 - 9: 10000020 0 SECTION LOCAL DEFAULT 9 - 10: 10000080 0 SECTION LOCAL DEFAULT 10 - 11: 10000100 0 SECTION LOCAL DEFAULT 11 - 12: 10000128 0 SECTION LOCAL DEFAULT 12 - 13: 10000130 0 SECTION LOCAL DEFAULT 13 - 14: 00000000 0 SECTION LOCAL DEFAULT 14 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008044 0 SECTION LOCAL DEFAULT 2.* + 3: 00008104 0 SECTION LOCAL DEFAULT 3.* + 4: 00008118 0 SECTION LOCAL DEFAULT 4.* + 5: 00008124 0 SECTION LOCAL DEFAULT 5.* + 6: 00008148 0 SECTION LOCAL DEFAULT 6.* + 7: 00008160 0 SECTION LOCAL DEFAULT 7.* + 8: 10000000 0 SECTION LOCAL DEFAULT 8.* + 9: 10000020 0 SECTION LOCAL DEFAULT 9.* + 10: 10000080 0 SECTION LOCAL DEFAULT 10.* + 11: 10000100 0 SECTION LOCAL DEFAULT 11.* + 12: 10000128 0 SECTION LOCAL DEFAULT 12.* + 13: 10000130 0 SECTION LOCAL DEFAULT 13.* + 14: 00000000 0 SECTION LOCAL DEFAULT 14.* 15: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 16: 10000080 0 FUNC LOCAL HIDDEN 10 sub1 17: 00000000 0 FILE LOCAL DEFAULT ABS diff --git a/ld/testsuite/ld-tic6x/static-app-1.rd b/ld/testsuite/ld-tic6x/static-app-1.rd index 82e65b9..36c4810 100644 --- a/ld/testsuite/ld-tic6x/static-app-1.rd +++ b/ld/testsuite/ld-tic6x/static-app-1.rd @@ -70,10 +70,10 @@ Relocation section '\.rela\.neardata' at offset 0x10f8 contains 4 entries: Symbol table '\.dynsym' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000000 0 SECTION LOCAL DEFAULT 7 - 2: 100000c0 0 SECTION LOCAL DEFAULT 8 - 3: 100000e0 0 SECTION LOCAL DEFAULT 9 - 4: 100000f4 0 SECTION LOCAL DEFAULT 10 + 1: 10000000 0 SECTION LOCAL DEFAULT 7.* + 2: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 3: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 4: 100000f4 0 SECTION LOCAL DEFAULT 10.* 5: 100000f4 4 OBJECT LOCAL DEFAULT 10 c 6: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 @@ -82,17 +82,17 @@ Symbol table '\.dynsym' contains 9 entries: Symbol table '\.symtab' contains 28 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008038 0 SECTION LOCAL DEFAULT 2 - 3: 000080c8 0 SECTION LOCAL DEFAULT 3 - 4: 000080d4 0 SECTION LOCAL DEFAULT 4 - 5: 000080f8 0 SECTION LOCAL DEFAULT 5 - 6: 00008128 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 100000c0 0 SECTION LOCAL DEFAULT 8 - 9: 100000e0 0 SECTION LOCAL DEFAULT 9 - 10: 100000f4 0 SECTION LOCAL DEFAULT 10 - 11: 00000000 0 SECTION LOCAL DEFAULT 11 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008038 0 SECTION LOCAL DEFAULT 2.* + 3: 000080c8 0 SECTION LOCAL DEFAULT 3.* + 4: 000080d4 0 SECTION LOCAL DEFAULT 4.* + 5: 000080f8 0 SECTION LOCAL DEFAULT 5.* + 6: 00008128 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 9: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 10: 100000f4 0 SECTION LOCAL DEFAULT 10.* + 11: 00000000 0 SECTION LOCAL DEFAULT 11.* 12: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 13: 10000000 0 FUNC LOCAL HIDDEN 7 sub1 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1\.o diff --git a/ld/testsuite/ld-tic6x/static-app-1b.rd b/ld/testsuite/ld-tic6x/static-app-1b.rd index 82e65b9..36c4810 100644 --- a/ld/testsuite/ld-tic6x/static-app-1b.rd +++ b/ld/testsuite/ld-tic6x/static-app-1b.rd @@ -70,10 +70,10 @@ Relocation section '\.rela\.neardata' at offset 0x10f8 contains 4 entries: Symbol table '\.dynsym' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000000 0 SECTION LOCAL DEFAULT 7 - 2: 100000c0 0 SECTION LOCAL DEFAULT 8 - 3: 100000e0 0 SECTION LOCAL DEFAULT 9 - 4: 100000f4 0 SECTION LOCAL DEFAULT 10 + 1: 10000000 0 SECTION LOCAL DEFAULT 7.* + 2: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 3: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 4: 100000f4 0 SECTION LOCAL DEFAULT 10.* 5: 100000f4 4 OBJECT LOCAL DEFAULT 10 c 6: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 @@ -82,17 +82,17 @@ Symbol table '\.dynsym' contains 9 entries: Symbol table '\.symtab' contains 28 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008038 0 SECTION LOCAL DEFAULT 2 - 3: 000080c8 0 SECTION LOCAL DEFAULT 3 - 4: 000080d4 0 SECTION LOCAL DEFAULT 4 - 5: 000080f8 0 SECTION LOCAL DEFAULT 5 - 6: 00008128 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 100000c0 0 SECTION LOCAL DEFAULT 8 - 9: 100000e0 0 SECTION LOCAL DEFAULT 9 - 10: 100000f4 0 SECTION LOCAL DEFAULT 10 - 11: 00000000 0 SECTION LOCAL DEFAULT 11 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008038 0 SECTION LOCAL DEFAULT 2.* + 3: 000080c8 0 SECTION LOCAL DEFAULT 3.* + 4: 000080d4 0 SECTION LOCAL DEFAULT 4.* + 5: 000080f8 0 SECTION LOCAL DEFAULT 5.* + 6: 00008128 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 9: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 10: 100000f4 0 SECTION LOCAL DEFAULT 10.* + 11: 00000000 0 SECTION LOCAL DEFAULT 11.* 12: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 13: 10000000 0 FUNC LOCAL HIDDEN 7 sub1 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1\.o diff --git a/ld/testsuite/ld-tic6x/static-app-1r.rd b/ld/testsuite/ld-tic6x/static-app-1r.rd index 0d2fde8..b04e327 100644 --- a/ld/testsuite/ld-tic6x/static-app-1r.rd +++ b/ld/testsuite/ld-tic6x/static-app-1r.rd @@ -68,10 +68,10 @@ Relocation section '\.rela\.neardata' at offset 0x10f8 contains 2 entries: Symbol table '\.dynsym' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000000 0 SECTION LOCAL DEFAULT 7 - 2: 100000c0 0 SECTION LOCAL DEFAULT 8 - 3: 100000e0 0 SECTION LOCAL DEFAULT 9 - 4: 100000ec 0 SECTION LOCAL DEFAULT 10 + 1: 10000000 0 SECTION LOCAL DEFAULT 7.* + 2: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 3: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 4: 100000ec 0 SECTION LOCAL DEFAULT 10.* 5: 100000ec 4 OBJECT LOCAL DEFAULT 10 c 6: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 @@ -80,17 +80,17 @@ Symbol table '\.dynsym' contains 9 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008038 0 SECTION LOCAL DEFAULT 2 - 3: 000080c8 0 SECTION LOCAL DEFAULT 3 - 4: 000080d4 0 SECTION LOCAL DEFAULT 4 - 5: 000080f8 0 SECTION LOCAL DEFAULT 5 - 6: 00008110 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 100000c0 0 SECTION LOCAL DEFAULT 8 - 9: 100000e0 0 SECTION LOCAL DEFAULT 9 - 10: 100000ec 0 SECTION LOCAL DEFAULT 10 - 11: 00000000 0 SECTION LOCAL DEFAULT 11 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008038 0 SECTION LOCAL DEFAULT 2.* + 3: 000080c8 0 SECTION LOCAL DEFAULT 3.* + 4: 000080d4 0 SECTION LOCAL DEFAULT 4.* + 5: 000080f8 0 SECTION LOCAL DEFAULT 5.* + 6: 00008110 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 9: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 10: 100000ec 0 SECTION LOCAL DEFAULT 10.* + 11: 00000000 0 SECTION LOCAL DEFAULT 11.* 12: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 13: 10000000 0 FUNC LOCAL HIDDEN 7 sub1 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1r\.o diff --git a/ld/testsuite/ld-tic6x/static-app-1rb.rd b/ld/testsuite/ld-tic6x/static-app-1rb.rd index 0d2fde8..b04e327 100644 --- a/ld/testsuite/ld-tic6x/static-app-1rb.rd +++ b/ld/testsuite/ld-tic6x/static-app-1rb.rd @@ -68,10 +68,10 @@ Relocation section '\.rela\.neardata' at offset 0x10f8 contains 2 entries: Symbol table '\.dynsym' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 10000000 0 SECTION LOCAL DEFAULT 7 - 2: 100000c0 0 SECTION LOCAL DEFAULT 8 - 3: 100000e0 0 SECTION LOCAL DEFAULT 9 - 4: 100000ec 0 SECTION LOCAL DEFAULT 10 + 1: 10000000 0 SECTION LOCAL DEFAULT 7.* + 2: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 3: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 4: 100000ec 0 SECTION LOCAL DEFAULT 10.* 5: 100000ec 4 OBJECT LOCAL DEFAULT 10 c 6: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 7: 00000000 0 NOTYPE WEAK DEFAULT UND g1 @@ -80,17 +80,17 @@ Symbol table '\.dynsym' contains 9 entries: Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00008000 0 SECTION LOCAL DEFAULT 1 - 2: 00008038 0 SECTION LOCAL DEFAULT 2 - 3: 000080c8 0 SECTION LOCAL DEFAULT 3 - 4: 000080d4 0 SECTION LOCAL DEFAULT 4 - 5: 000080f8 0 SECTION LOCAL DEFAULT 5 - 6: 00008110 0 SECTION LOCAL DEFAULT 6 - 7: 10000000 0 SECTION LOCAL DEFAULT 7 - 8: 100000c0 0 SECTION LOCAL DEFAULT 8 - 9: 100000e0 0 SECTION LOCAL DEFAULT 9 - 10: 100000ec 0 SECTION LOCAL DEFAULT 10 - 11: 00000000 0 SECTION LOCAL DEFAULT 11 + 1: 00008000 0 SECTION LOCAL DEFAULT 1.* + 2: 00008038 0 SECTION LOCAL DEFAULT 2.* + 3: 000080c8 0 SECTION LOCAL DEFAULT 3.* + 4: 000080d4 0 SECTION LOCAL DEFAULT 4.* + 5: 000080f8 0 SECTION LOCAL DEFAULT 5.* + 6: 00008110 0 SECTION LOCAL DEFAULT 6.* + 7: 10000000 0 SECTION LOCAL DEFAULT 7.* + 8: 100000c0 0 SECTION LOCAL DEFAULT 8.* + 9: 100000e0 0 SECTION LOCAL DEFAULT 9.* + 10: 100000ec 0 SECTION LOCAL DEFAULT 10.* + 11: 00000000 0 SECTION LOCAL DEFAULT 11.* 12: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 13: 10000000 0 FUNC LOCAL HIDDEN 7 sub1 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1r\.o |