[COMMITTED, PATCH] testsuite/gas/i386/plt.d: Don't hard-code offset
"H.J. Lu" <[email protected]> Thu, 30 Jul 2026 06:52:36 +0800
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <CAMe9rOqte2v+J274y4CC8fKmjRaJC4cTKcrYpc26egACrwFJag@mail.gmail.com> |
PR gas/34423 * testsuite/gas/i386/plt.d: Replace "offset 0xd4" with "offset 0x[0-9a-f]+.". -- H.J.
0001-testsuite-gas-i386-plt.d-Don-t-hard-code-offset.patch
(text/x-patch, 985 B)
From 7a40b4d6306587e19850afc65170634375c37c2c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <[email protected]> Date: Thu, 30 Jul 2026 06:43:39 +0800 Subject: [PATCH] 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 <[email protected]> --- 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 -- 2.55.0