summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/note.test
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/elf/note.test')
-rw-r--r--lld/test/elf/note.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/lld/test/elf/note.test b/lld/test/elf/note.test
index 01329e9c8f6..e7544c1f126 100644
--- a/lld/test/elf/note.test
+++ b/lld/test/elf/note.test
@@ -1,9 +1,11 @@
# Check that the linker is not ignoring input sections.
# RUN: yaml2obj -format=elf %s > %t.obj
# RUN: lld -flavor gnu -target x86_64 %t.obj -o %t.exe --noinhibit-exec
-# RUN: llvm-objdump -h %t.exe | FileCheck %s
+# RUN: llvm-readobj -s %t.exe | FileCheck %s
-# CHECK: {{[0-9]+}} .note
+# CHECK: Section {
+# CHECK: Name: .note
+# CHECK-NEXT: Type: SHT_NOTE
---
FileHeader:
OpenPOWER on IntegriCloud