From: H.J. Lu Date: Wed, 29 Jul 2026 22:43:39 +0000 (+0800) Subject: testsuite/gas/i386/plt.d: Don't hard-code offset X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;p=thirdparty%2Fbinutils-gdb.git 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 --- 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