From 23356397449a8aa65afead0a895a20be53b3c6b0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 Apr 2021 10:34:32 +0100 Subject: [PATCH] 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. --- binutils/ChangeLog | 16 ++++++ binutils/readelf.c | 18 +++++- .../mips/global-local-symtab-sort-n64t.d | 2 +- .../mips/global-local-symtab-sort-o32t.d | 2 +- binutils/testsuite/binutils-all/readelf.s-64 | 2 +- .../binutils-all/readelf.ss-64-unused | 6 +- .../testsuite/binutils-all/readelf.ss-tmips | 32 +++++------ .../testsuite/binutils-all/readelf.ss-unused | 6 +- gas/ChangeLog | 37 +++++++++++++ gas/testsuite/gas/aarch64/dwarf.d | 16 +++--- gas/testsuite/gas/arm/thumbver.d | 2 +- gas/testsuite/gas/bfin/loop_temps.d | 6 +- gas/testsuite/gas/elf/section2.e-arc | 10 ++-- gas/testsuite/gas/elf/section2.e-arm | 10 ++-- gas/testsuite/gas/elf/section2.e-csky | 10 ++-- gas/testsuite/gas/elf/section2.e-m32r | 10 ++-- gas/testsuite/gas/elf/section2.e-mips | 2 +- gas/testsuite/gas/elf/section2.e-msp430 | 10 ++-- gas/testsuite/gas/elf/section2.e-riscv | 10 ++-- gas/testsuite/gas/elf/section2.e-rl78 | 8 +-- gas/testsuite/gas/elf/section2.e-rx | 8 +-- gas/testsuite/gas/elf/section2.e-score | 10 ++-- gas/testsuite/gas/elf/section2.e-tic6x | 10 ++-- gas/testsuite/gas/elf/section2.e-unused | 8 +-- gas/testsuite/gas/elf/section2.e-v850 | 10 ++-- gas/testsuite/gas/elf/section2.e-xtensa | 10 ++-- gas/testsuite/gas/ia64/alias-ilp32.d | 8 +-- gas/testsuite/gas/ia64/alias.d | 8 +-- gas/testsuite/gas/ia64/global.d | 6 +- gas/testsuite/gas/microblaze/relax_size.elf | 4 +- gas/testsuite/gas/microblaze/relax_size2.elf | 4 +- .../gas/mips/global-local-symtab-sort-n64t.d | 12 ++-- .../gas/mips/global-local-symtab-sort-o32t.d | 12 ++-- gas/testsuite/gas/mmix/bspec-1.d | 8 +-- gas/testsuite/gas/mmix/byte-1.d | 6 +- gas/testsuite/gas/mmix/comment-1.d | 10 ++-- gas/testsuite/gas/mmix/loc-1.d | 6 +- gas/testsuite/gas/mmix/loc-2.d | 6 +- gas/testsuite/gas/mmix/loc-3.d | 6 +- gas/testsuite/gas/mmix/loc-4.d | 6 +- gas/testsuite/gas/mmix/loc-5.d | 6 +- gas/testsuite/gas/tic6x/scomm-directive-4.d | 8 +-- ld/ChangeLog | 55 +++++++++++++++++++ ld/testsuite/ld-aarch64/variant_pcs-now.d | 16 +++--- ld/testsuite/ld-aarch64/variant_pcs-r.d | 6 +- ld/testsuite/ld-aarch64/variant_pcs-shared.d | 16 +++--- ld/testsuite/ld-alpha/tlsbin.rd | 26 ++++----- ld/testsuite/ld-alpha/tlsbinr.rd | 22 ++++---- ld/testsuite/ld-alpha/tlspic.rd | 24 ++++---- ld/testsuite/ld-arm/rodata-merge-map.sym | 4 +- ld/testsuite/ld-arm/script-type.sym | 4 +- ld/testsuite/ld-cris/libdso-2.d | 20 +++---- ld/testsuite/ld-cris/pr16044.d | 2 +- ld/testsuite/ld-elf/sec64k.exp | 2 +- ld/testsuite/ld-ia64/tlsbin.rd | 30 +++++----- ld/testsuite/ld-ia64/tlspic.rd | 28 +++++----- .../global-local-symtab-sort-n64t.d | 2 +- .../global-local-symtab-sort-o32t.d | 2 +- ld/testsuite/ld-mmix/bspec1.d | 4 +- ld/testsuite/ld-mmix/bspec2.d | 6 +- ld/testsuite/ld-mmix/local1.d | 4 +- ld/testsuite/ld-mmix/local3.d | 4 +- ld/testsuite/ld-mmix/local5.d | 4 +- ld/testsuite/ld-mmix/local7.d | 4 +- ld/testsuite/ld-mmix/undef-3.d | 2 +- ld/testsuite/ld-powerpc/tlsso.r | 4 +- ld/testsuite/ld-powerpc/tlsso32.r | 2 +- ld/testsuite/ld-powerpc/tlstocso.r | 4 +- ld/testsuite/ld-s390/tlsbin.rd | 24 ++++---- ld/testsuite/ld-s390/tlsbin_64.rd | 24 ++++---- ld/testsuite/ld-s390/tlspic.rd | 24 ++++---- ld/testsuite/ld-s390/tlspic_64.rd | 22 ++++---- ld/testsuite/ld-sparc/gotop32.rd | 20 +++---- ld/testsuite/ld-sparc/gotop64.rd | 20 +++---- ld/testsuite/ld-sparc/tlssunbin32.rd | 24 ++++---- ld/testsuite/ld-sparc/tlssunbin64.rd | 24 ++++---- ld/testsuite/ld-sparc/tlssunnopic32.rd | 20 +++---- ld/testsuite/ld-sparc/tlssunnopic64.rd | 20 +++---- ld/testsuite/ld-sparc/tlssunpic32.rd | 26 ++++----- ld/testsuite/ld-sparc/tlssunpic64.rd | 26 ++++----- ld/testsuite/ld-tic6x/common.d | 4 +- ld/testsuite/ld-tic6x/shlib-1.rd | 36 ++++++------ ld/testsuite/ld-tic6x/shlib-1b.rd | 36 ++++++------ ld/testsuite/ld-tic6x/shlib-1r.rd | 36 ++++++------ ld/testsuite/ld-tic6x/shlib-1rb.rd | 36 ++++++------ ld/testsuite/ld-tic6x/shlib-app-1.rd | 38 ++++++------- ld/testsuite/ld-tic6x/shlib-app-1b.rd | 38 ++++++------- ld/testsuite/ld-tic6x/shlib-app-1r.rd | 36 ++++++------ ld/testsuite/ld-tic6x/shlib-app-1rb.rd | 36 ++++++------ ld/testsuite/ld-tic6x/shlib-noindex.rd | 38 ++++++------- ld/testsuite/ld-tic6x/static-app-1.rd | 30 +++++----- ld/testsuite/ld-tic6x/static-app-1b.rd | 30 +++++----- ld/testsuite/ld-tic6x/static-app-1r.rd | 30 +++++----- ld/testsuite/ld-tic6x/static-app-1rb.rd | 30 +++++----- 94 files changed, 767 insertions(+), 645 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d1d87ccc566..033dd58a0d5 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,19 @@ +2021-04-21 Nick Clifton + + * 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 + + * readelf.c (print_dynamic_symbol): Print the section name for + section symbols without a name of their own. + 2021-04-20 Andreas Krebbel * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and diff --git a/binutils/readelf.c b/binutils/readelf.c index b404ca7017a..c8a76de3c37 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 : _(""); + 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) + : _(""); + } + else + { + is_valid = VALID_SYMBOL_NAME (strtab, strtab_size, psym->st_name); + sstr = is_valid ? strtab + psym->st_name : _(""); + } 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 e38f78909ac..53d04b4cf1b 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 d97322f6106..47978a5faa1 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 5582d77c372..92ec05f0376 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 bd10cabef35..f48a4b2bbd2 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 4fd7fe02786..87ec138bb20 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 acc6d9390c5..3107af930eb 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 c8ef5f3b54c..bada40220ac 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,40 @@ +2021-04-21 Nick Clifton + + * 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 PR binutils/21700 diff --git a/gas/testsuite/gas/aarch64/dwarf.d b/gas/testsuite/gas/aarch64/dwarf.d index 12ad3675804..b0581fbcfa6 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 1327789d5c9..459dec8a469 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 ab1152c8e12..d9fdf8a083c 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 115bae2173d..99ef259151a 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 115bae2173d..99ef259151a 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 115bae2173d..99ef259151a 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 c4cf6d9a4c1..f109c02beb0 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 f6eed4a34c6..9ed6a72949f 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 115bae2173d..99ef259151a 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 115bae2173d..99ef259151a 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 3863b6d74a2..84273304ade 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 574219d9a60..98df8bf27ef 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 132d22df616..56c4b10dff7 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 84463b1f8b2..1a5c362893b 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 9b50798bcfa..fd94cee4db7 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 115bae2173d..99ef259151a 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 115bae2173d..99ef259151a 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 df05d36211b..fb760008e9f 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 23b9330998e..762f5c8f015 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 c247ad81681..f6346373f2b 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 9a969594689..af274e13661 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 2376bfcd2b5..c3359772d7e 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 904d626037f..469530d65dd 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 1c37cbaf21b..95f63c3d628 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 2a9a59bfd8e..e3781a811e8 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 a77eb0898b4..edd7de1fba9 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 569af6022c8..1219a2f7072 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 e46247d4f3a..9a357305881 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 8d7ec8bea16..2ffbedf181e 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 14a68fa7361..bf66772a537 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 935cc183569..7baaef06869 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 a8e75452169..2110e475928 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 26255ab97a2..6b1ebbbe3a4 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 a6be046bee4..a450d9a0e44 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,58 @@ +2021-04-21 Nick Clifton + + * 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 PR binutils/21700 diff --git a/ld/testsuite/ld-aarch64/variant_pcs-now.d b/ld/testsuite/ld-aarch64/variant_pcs-now.d index 7ee9d8e16d8..50076322f7a 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 a534149d9eb..2651a68c935 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 15e548a70e7..e0217999fd1 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 308182e2297..87fec8d7e26 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 ea516866406..757e101be6f 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 efd9dbd5122..b79fc71463d 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 b1070a31a2d..245ce7c3ffa 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 1623c03d99c..b9356b37d63 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 83d56a1768c..900d00d8c24 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 30988b86e47..9bb264b881d 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 a8ce9335819..558e4489897 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 6ca12678ce3..ccbdbdbc523 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 e1b3aff352c..02c98006ea0 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 911cc242529..09a311e3d95 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 047f290a277..0eb396f6c19 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 3d07d2de4dd..0ada293fb23 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 b18fe47ada3..053d879c0a2 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 7519ea1b419..d59105ac94b 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 e5d58938ab3..30c8a3873b3 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 2dccb2e1114..252fd0b431f 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 5754c346371..69f9d8eaf42 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 2484d762c16..2beb51a0bbb 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 99f52ba7b1b..d56b2a046c6 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 a20d740eedd..0202440be9f 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 65f0c4c7921..026d483fcac 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 50d444372b5..1f08c31d6f8 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 fe7811a680c..71751242cbe 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 555e6fe9836..53558e7bef2 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 4a926d6c0bc..5a4b8dd744f 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 d9ead2535f8..0f02e9191cc 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 c7d802ca750..249d7312a47 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 a41f27d644c..48d5eac3d63 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 4d792b84108..eaaabd2a48a 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 0f5a77f73e4..01f89334587 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 0e1a794bf4a..8104c67c8a1 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 9e4aa99b613..d4012626a49 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 75c2da301bd..58162057f9b 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 f2a7b1b8fb6..554479cfa12 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 a038baf6228..6b64d01271b 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 a038baf6228..6b64d01271b 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 a038baf6228..6b64d01271b 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 a038baf6228..6b64d01271b 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 bf783a975c0..607d2709b3f 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 771ad218050..68d2076857c 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 a98c752a0d4..82502afb0d0 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 6e795ffe643..8d13fb2c2c4 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 c9e60040c98..38934ba2b5f 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 82e65b9497f..36c48109912 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 82e65b9497f..36c48109912 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 0d2fde87420..b04e327207d 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 0d2fde87420..b04e327207d 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 -- 2.30.2