[binutils-gdb] testsuite/gas/i386/plt.d: Don't hard-code offset
H.J. Lu
hjl@sourceware.org
Wed Jul 29 22:52:31 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7a40b4d6306587e19850afc65170634375c37c2c
commit 7a40b4d6306587e19850afc65170634375c37c2c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jul 30 06:43:39 2026 +0800
testsuite/gas/i386/plt.d: Don't hard-code offset
PR gas/34423
* testsuite/gas/i386/plt.d: Replace "offset 0xd4" with
"offset 0x[0-9a-f]+.".
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diff:
---
gas/testsuite/gas/i386/plt.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/testsuite/gas/i386/plt.d b/gas/testsuite/gas/i386/plt.d
index e4af0d20c87..093da8730db 100644
--- a/gas/testsuite/gas/i386/plt.d
+++ b/gas/testsuite/gas/i386/plt.d
@@ -1,7 +1,7 @@
#as:
#readelf: -x .rodata -r
-Relocation section '.rel.rodata' at offset 0xd4 contains 4 entries:
+Relocation section '.rel.rodata' at offset 0x[0-9a-f]+ contains 4 entries:
Offset Info Type Sym.Value Sym. Name
0+ 00000104 R_386_PLT32 00000000 foo1
0+4 00000204 R_386_PLT32 00000000 foo2
More information about the Binutils-cvs
mailing list