From 21061c384c510e13b56c3991adf31ad85e80a824 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 16 Apr 2024 13:17:35 +0100 Subject: Simplify readelf's RELR relocation display. --- ld/testsuite/ld-i386/dt-relr-1a.d | 4 ++-- ld/testsuite/ld-i386/dt-relr-1b.d | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ld/testsuite/ld-i386') diff --git a/ld/testsuite/ld-i386/dt-relr-1a.d b/ld/testsuite/ld-i386/dt-relr-1a.d index 3944911..89cc636 100644 --- a/ld/testsuite/ld-i386/dt-relr-1a.d +++ b/ld/testsuite/ld-i386/dt-relr-1a.d @@ -15,8 +15,8 @@ Relocation section '\.rel\.plt' at offset 0x[0-9a-f]+ contains 1 entry: Relocation section '.relr.dyn' at offset 0x[a-f0-9]+ contains 2 entries: #... -0000: +[0-9a-f]+ [0-9a-f]+ +.* \(new starting address\) -0001: +[0-9a-f]+ [0-9a-f]+ +.* \(start of bitmap\) +0000: +[0-9a-f]+ [0-9a-f]+ +.* +0001: +[0-9a-f]+ [0-9a-f]+ +.* +[0-9a-f]+ +.* #... Symbol table '.symtab' contains [0-9]+ entries: diff --git a/ld/testsuite/ld-i386/dt-relr-1b.d b/ld/testsuite/ld-i386/dt-relr-1b.d index 947d835..6e7f3ca 100644 --- a/ld/testsuite/ld-i386/dt-relr-1b.d +++ b/ld/testsuite/ld-i386/dt-relr-1b.d @@ -18,8 +18,8 @@ Relocation section '\.rel\.plt' at offset 0x[0-9a-f]+ contains 1 entry: Relocation section '.relr.dyn' at offset 0x[a-f0-9]+ contains 2 entries: #... -0000: +[0-9a-f]+ [0-9a-f]+ +.* \(new starting address\) -0001: +[0-9a-f]+ [0-9a-f]+ +.* \(start of bitmap\) +0000: +[0-9a-f]+ [0-9a-f]+ +.* +0001: +[0-9a-f]+ [0-9a-f]+ +.* +[0-9a-f]+ +.* #... Symbol table '.symtab' contains [0-9]+ entries: -- cgit v1.1