[binutils-gdb] xtensa: ld: fix TLS test failures

Max Filippov jcmvbkbc@sourceware.org
Mon Aug 31 15:54:55 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2ebc80f3895c683db0a2fd9dc2cdd76ba830ccc8

commit 2ebc80f3895c683db0a2fd9dc2cdd76ba830ccc8
Author: Max Filippov <jcmvbkbc@gmail.com>
Date:   Mon Aug 24 01:59:36 2026 -0700

    xtensa: ld: fix TLS test failures
    
    ld/
            * ld/testsuite/ld-xtensa/tlsbin.rd: Fix up the address of
              section .xtensa.info.
            * ld/testsuite/ld-xtensa/tlspic.rd: Likewise.
            * ld/testsuite/ld-xtensa/tlspie.rd: Likewise.

Diff:
---
 ld/testsuite/ld-xtensa/tlsbin.rd | 2 +-
 ld/testsuite/ld-xtensa/tlspic.rd | 2 +-
 ld/testsuite/ld-xtensa/tlspie.rd | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ld/testsuite/ld-xtensa/tlsbin.rd b/ld/testsuite/ld-xtensa/tlsbin.rd
index 49e68c80afb..8523f502520 100644
--- a/ld/testsuite/ld-xtensa/tlsbin.rd
+++ b/ld/testsuite/ld-xtensa/tlsbin.rd
@@ -19,7 +19,7 @@ Section Headers:
  +\[[ 0-9]+\] .tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4
  +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
  +\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +4
- +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
+ +\[[ 0-9]+\] .xtensa.info +NOTE +[0-9a-f]+ .*
  +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .*
  +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .*
  +\[[ 0-9]+\] .symtab +.*
diff --git a/ld/testsuite/ld-xtensa/tlspic.rd b/ld/testsuite/ld-xtensa/tlspic.rd
index bd24910adf6..5788d7d8568 100644
--- a/ld/testsuite/ld-xtensa/tlspic.rd
+++ b/ld/testsuite/ld-xtensa/tlspic.rd
@@ -20,7 +20,7 @@ Section Headers:
  +\[[ 0-9]+\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4
  +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +3 +0 +4
  +\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +4
- +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
+ +\[[ 0-9]+\] .xtensa.info +NOTE +[0-9a-f]+ .*
  +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .*
  +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .*
  +\[[ 0-9]+\] .symtab +.*
diff --git a/ld/testsuite/ld-xtensa/tlspie.rd b/ld/testsuite/ld-xtensa/tlspie.rd
index 078f9e48e0c..8e506dd3638 100644
--- a/ld/testsuite/ld-xtensa/tlspie.rd
+++ b/ld/testsuite/ld-xtensa/tlspie.rd
@@ -19,7 +19,7 @@ Section Headers:
  +\[[ 0-9]+\] .tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4
  +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
  +\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +4
- +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
+ +\[[ 0-9]+\] .xtensa.info +NOTE +[0-9a-f]+ .*
  +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .*
  +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .*
  +\[[ 0-9]+\] .symtab +.*


More information about the Binutils-cvs mailing list