aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2024-04-11 16:57:18 +0100
committerNick Clifton <nickc@redhat.com>2024-04-11 16:57:18 +0100
commitfcf8f3237cbaa0f97e57a161d7354cdb89a1ffa4 (patch)
tree9023c556f44b1b7eb2578de0f1ac5f8386bebd73 /ld/testsuite/ld-i386
parent8e8d0b63ff15896cc2c228c01f18dfcf2a4a9305 (diff)
downloadgdb-fcf8f3237cbaa0f97e57a161d7354cdb89a1ffa4.zip
gdb-fcf8f3237cbaa0f97e57a161d7354cdb89a1ffa4.tar.gz
gdb-fcf8f3237cbaa0f97e57a161d7354cdb89a1ffa4.tar.bz2
Improve readelf's display of RELR relocs.
Diffstat (limited to 'ld/testsuite/ld-i386')
-rw-r--r--ld/testsuite/ld-i386/dt-relr-1a.d9
-rw-r--r--ld/testsuite/ld-i386/dt-relr-1b.d9
2 files changed, 8 insertions, 10 deletions
diff --git a/ld/testsuite/ld-i386/dt-relr-1a.d b/ld/testsuite/ld-i386/dt-relr-1a.d
index cbb8ab6..3944911 100644
--- a/ld/testsuite/ld-i386/dt-relr-1a.d
+++ b/ld/testsuite/ld-i386/dt-relr-1a.d
@@ -14,11 +14,10 @@ Relocation section '\.rel\.plt' at offset 0x[0-9a-f]+ contains 1 entry:
[0-9a-f]+ +[0-9a-f]+ +R_386_JUMP_SLOT +0+ +func1
Relocation section '.relr.dyn' at offset 0x[a-f0-9]+ contains 2 entries:
- +3 offsets
-[a-f0-9]+
-[a-f0-9]+
-[a-f0-9]+
-
+#...
+0000: +[0-9a-f]+ [0-9a-f]+ +.* \(new starting address\)
+0001: +[0-9a-f]+ [0-9a-f]+ +.* \(start of bitmap\)
+ +[0-9a-f]+ +.*
#...
Symbol table '.symtab' contains [0-9]+ entries:
Num: Value Size Type Bind Vis Ndx Name
diff --git a/ld/testsuite/ld-i386/dt-relr-1b.d b/ld/testsuite/ld-i386/dt-relr-1b.d
index 3dd9881..947d835 100644
--- a/ld/testsuite/ld-i386/dt-relr-1b.d
+++ b/ld/testsuite/ld-i386/dt-relr-1b.d
@@ -17,11 +17,10 @@ Relocation section '\.rel\.plt' at offset 0x[0-9a-f]+ contains 1 entry:
[0-9a-f]+ +[0-9a-f]+ +R_386_JUMP_SLOT +0+ +func1
Relocation section '.relr.dyn' at offset 0x[a-f0-9]+ contains 2 entries:
- +3 offsets
-[a-f0-9]+
-[a-f0-9]+
-[a-f0-9]+
-
+#...
+0000: +[0-9a-f]+ [0-9a-f]+ +.* \(new starting address\)
+0001: +[0-9a-f]+ [0-9a-f]+ +.* \(start of bitmap\)
+ +[0-9a-f]+ +.*
#...
Symbol table '.symtab' contains [0-9]+ entries:
Num: Value Size Type Bind Vis Ndx Name