]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
s390: Rename linker tests gotreloc_*-1 and weakundef-*
authorJens Remus <jremus@linux.ibm.com>
Thu, 16 Oct 2025 09:09:06 +0000 (11:09 +0200)
committerJens Remus <jremus@linux.ibm.com>
Thu, 16 Oct 2025 09:09:06 +0000 (11:09 +0200)
This enables a subsequent patch to introduce a variation of those tests
with linker option --no-relax added.

ld/testsuite/
* ld-s390/gotreloc_31-1.dd: Rename to ...
* ld-s390/gotreloc_31-1a.dd: ... this.
* ld-s390/gotreloc_31-no-pie-1.dd: Likewise.
* ld-s390/gotreloc_31-no-pie-1a.dd: Likewise.
* ld-s390/gotreloc_64-no-pie-1.dd: Likewise.
* ld-s390/gotreloc_64-no-pie-1a.dd: Likewise.
* ld-s390/gotreloc_64-norelro-1.dd: Likewise.
* ld-s390/gotreloc_64-norelro-1a.dd Likewise.
* ld-s390/weakundef-1.dd: Likewise.
* ld-s390/weakundef-1a.dd: Likewise.
* ld-s390/weakundef-2.dd: Likewise.
* ld-s390/weakundef-2a.dd: Likewise.
* ld-s390/s390.exp: Rename tests likewise.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
ld/testsuite/ld-s390/gotreloc_31-1a.dd [moved from ld/testsuite/ld-s390/gotreloc_31-1.dd with 93% similarity]
ld/testsuite/ld-s390/gotreloc_31-no-pie-1a.dd [moved from ld/testsuite/ld-s390/gotreloc_31-no-pie-1.dd with 93% similarity]
ld/testsuite/ld-s390/gotreloc_64-no-pie-1a.dd [moved from ld/testsuite/ld-s390/gotreloc_64-no-pie-1.dd with 93% similarity]
ld/testsuite/ld-s390/gotreloc_64-norelro-1a.dd [moved from ld/testsuite/ld-s390/gotreloc_64-norelro-1.dd with 93% similarity]
ld/testsuite/ld-s390/gotreloc_64-relro-1a.dd [moved from ld/testsuite/ld-s390/gotreloc_64-relro-1.dd with 93% similarity]
ld/testsuite/ld-s390/s390.exp
ld/testsuite/ld-s390/weakundef-1a.dd [moved from ld/testsuite/ld-s390/weakundef-1.dd with 93% similarity]
ld/testsuite/ld-s390/weakundef-2a.dd [moved from ld/testsuite/ld-s390/weakundef-2.dd with 92% similarity]

similarity index 93%
rename from ld/testsuite/ld-s390/gotreloc_31-1.dd
rename to ld/testsuite/ld-s390/gotreloc_31-1a.dd
index d04e1e5009158d0e29c62c137a1e36939b7394b5..52fb16a80dd2fc016c52c879df8c41d1c4faabb2 100644 (file)
@@ -1,5 +1,5 @@
 
-tmpdir/gotreloc_31-1:     file format elf32-s390
+tmpdir/gotreloc_31-1a:     file format elf32-s390
 
 Disassembly of section .text:
 
similarity index 93%
rename from ld/testsuite/ld-s390/gotreloc_31-no-pie-1.dd
rename to ld/testsuite/ld-s390/gotreloc_31-no-pie-1a.dd
index dd2c474b755ab4fc76115dfa2476c03299e9b7fe..57bc3bc8f988af7a17e5c6d2cbd198a1d4f44649 100644 (file)
@@ -1,5 +1,5 @@
 
-tmpdir/gotreloc_31-1:     file format elf32-s390
+tmpdir/gotreloc_31-1a:     file format elf32-s390
 
 Disassembly of section .text:
 
similarity index 93%
rename from ld/testsuite/ld-s390/gotreloc_64-no-pie-1.dd
rename to ld/testsuite/ld-s390/gotreloc_64-no-pie-1a.dd
index 57537aeecd885bc83cef657912144b3634136020..cef446d42af940cee1177838eff1a2a075025e98 100644 (file)
@@ -1,4 +1,4 @@
-tmpdir/gotreloc_64-1:     file format elf64-s390
+tmpdir/gotreloc_64-1a:     file format elf64-s390
 
 Disassembly of section .text:
 
similarity index 93%
rename from ld/testsuite/ld-s390/gotreloc_64-norelro-1.dd
rename to ld/testsuite/ld-s390/gotreloc_64-norelro-1a.dd
index eece724d217cd76d1530d7172417b638557afdc5..4e6387d594b1b763cedfeb9a55e43260725eb74c 100644 (file)
@@ -1,4 +1,4 @@
-tmpdir/gotreloc_64-1:     file format elf64-s390
+tmpdir/gotreloc_64-1a:     file format elf64-s390
 
 Disassembly of section .text:
 
similarity index 93%
rename from ld/testsuite/ld-s390/gotreloc_64-relro-1.dd
rename to ld/testsuite/ld-s390/gotreloc_64-relro-1a.dd
index 7cb11940f8e3f05aea8391bb945f06cd3cfb9e8d..6273c3f1e87675a8f78672cbb708166c4a20049e 100644 (file)
@@ -1,4 +1,4 @@
-tmpdir/gotreloc_64-1:     file format elf64-s390
+tmpdir/gotreloc_64-1a:     file format elf64-s390
 
 Disassembly of section .text:
 
index 27a1b346fe7cfe3feea495799be8fe5be7f42ae1..8da0032eb803ccbe2bd29f0dbf889e3d8b41b193 100644 (file)
@@ -52,13 +52,13 @@ set s390tests {
     {"GOT: symbol address load from got to larl"
      "-shared -melf_s390 --hash-style=sysv --version-script=gotreloc-1.ver --emit-relocs" ""
      "-m31" {gotreloc-1.s}
-     {{objdump -dzrj.text gotreloc_31-1.dd}}
-     "gotreloc_31-1"}
+     {{objdump -dzrj.text gotreloc_31-1a.dd}}
+     "gotreloc_31-1a"}
     {"GOT: no-pie symbol address load from got to larl"
      "-shared -melf_s390 --no-pie --hash-style=sysv --version-script=gotreloc-1.ver --emit-relocs" ""
      "-m31" {gotreloc-1.s}
-     {{objdump -dzrj.text gotreloc_31-no-pie-1.dd}}
-     "gotreloc_31-1"}
+     {{objdump -dzrj.text gotreloc_31-no-pie-1a.dd}}
+     "gotreloc_31-1a"}
     {"Helper shared library (PLT test)"
      "-shared -m elf_s390" "" "-m31" {pltlib.s}
      {}
@@ -90,18 +90,18 @@ set s390xtests {
     {"GOT: norelro symbol address load from got to larl"
      "-shared -melf64_s390 -z norelro --hash-style=sysv --version-script=gotreloc-1.ver --emit-relocs" ""
      "-m64" {gotreloc-1.s}
-     {{objdump -dzrj.text gotreloc_64-norelro-1.dd}}
-     "gotreloc_64-1"}
+     {{objdump -dzrj.text gotreloc_64-norelro-1a.dd}}
+     "gotreloc_64-1a"}
     {"GOT: relro symbol address load from got to larl"
      "-shared -melf64_s390 -z relro --hash-style=sysv --version-script=gotreloc-1.ver --emit-relocs" ""
      "-m64" {gotreloc-1.s}
-     {{objdump -dzrj.text gotreloc_64-relro-1.dd}}
-     "gotreloc_64-1"}
+     {{objdump -dzrj.text gotreloc_64-relro-1a.dd}}
+     "gotreloc_64-1a"}
     {"GOT: no-pie symbol address load from got to larl"
      "-shared -melf64_s390 --no-pie --hash-style=sysv --version-script=gotreloc-1.ver --emit-relocs" ""
      "-m64" {gotreloc-1.s}
-     {{objdump -dzrj.text gotreloc_64-no-pie-1.dd}}
-     "gotreloc_64-1"}
+     {{objdump -dzrj.text gotreloc_64-no-pie-1a.dd}}
+     "gotreloc_64-1a"}
     {"PLT: offset test"
      "-shared -m elf64_s390 -dT pltoffset-1.ld --no-error-rwx-segments" ""
      "-m64" {pltoffset-1.s}
@@ -109,10 +109,10 @@ set s390xtests {
      "pltoffset-1"}
     {"WEAKUNDEF1: overflow test (PC32DBL)"
      "-m elf64_s390 -dT 8GB.ld --emit-relocs --no-error-rwx-segments" "" "-m64" {weakundef-1.s}
-     {{objdump "-dzrj.text" weakundef-1.dd}} "weakundef-1"}
+     {{objdump "-dzrj.text" weakundef-1a.dd}} "weakundef-1a"}
     {"WEAKUNDEF2: overflow test (PLT32DBL)"
      "-m elf64_s390 -dT 8GB.ld --emit-relocs --no-error-rwx-segments -no-pie" "" "-m64" {weakundef-2.s}
-     {{objdump "-dzrj.text" weakundef-2.dd}} "weakundef-2"}
+     {{objdump "-dzrj.text" weakundef-2a.dd}} "weakundef-2a"}
     {"Helper shared library (PLT test)"
      "-shared -m elf64_s390" "" "-m64" {pltlib.s}
      {}
similarity index 93%
rename from ld/testsuite/ld-s390/weakundef-1.dd
rename to ld/testsuite/ld-s390/weakundef-1a.dd
index 3dd25c7d284e519d48756a4d9fa29af4ac39ee2d..49b68239aa78c00806f7d4d47d2e2165f788b402 100644 (file)
@@ -1,4 +1,4 @@
-tmpdir/weakundef-1:     file format elf64-s390
+tmpdir/weakundef-1a:     file format elf64-s390
 
 Disassembly of section .text:
 
similarity index 92%
rename from ld/testsuite/ld-s390/weakundef-2.dd
rename to ld/testsuite/ld-s390/weakundef-2a.dd
index e586ff2e28c98d172648f5427576c4ef6c9c3b99..08e1824a5909560a48a4d31c85ff0c2d7ccf13b6 100644 (file)
@@ -1,4 +1,4 @@
-tmpdir/weakundef-2:     file format elf64-s390
+tmpdir/weakundef-2a:     file format elf64-s390
 
 Disassembly of section .text: