From e6d12ad791f6eabb53623664a1563996efce44f7 Mon Sep 17 00:00:00 2001 From: YongKang Zhu Date: Fri, 31 Jan 2025 13:19:49 -0800 Subject: [PATCH] [BOLT][NFC] Fix test X86/dynamic-relocs-on-entry.s (#125264) --- bolt/test/X86/dynamic-relocs-on-entry.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bolt/test/X86/dynamic-relocs-on-entry.s b/bolt/test/X86/dynamic-relocs-on-entry.s index 2a29a43c4939..4ec8ba4ad446 100644 --- a/bolt/test/X86/dynamic-relocs-on-entry.s +++ b/bolt/test/X86/dynamic-relocs-on-entry.s @@ -4,12 +4,12 @@ # RUN: %clang %cflags -fPIC -pie %s -o %t.exe -nostdlib -Wl,-q # RUN: llvm-bolt %t.exe -o %t.bolt > %t.out.txt -# RUN: readelf -r %t.bolt >> %t.out.txt +# RUN: llvm-readelf -r %t.bolt >> %t.out.txt # RUN: llvm-objdump --disassemble-symbols=chain %t.bolt >> %t.out.txt # RUN: FileCheck %s --input-file=%t.out.txt ## Check if the new address in `chain` is correctly updated by BOLT -# CHECK: Relocation section '.rela.dyn' at offset 0x{{.*}} contains 1 entry: +# CHECK: Relocation section '.rela.dyn' at offset 0x{{.*}} contains 1 entries: # CHECK: {{.*}} R_X86_64_RELATIVE [[#%x,ADDR:]] # CHECK: [[#ADDR]]: c3 retq .text @@ -29,4 +29,4 @@ _start: .data .Lfoo: - .quad Label \ No newline at end of file + .quad Label