projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force emit a relocation for @gnu_indirect_function symbols so that the indirect
[oota-llvm.git]
/
test
/
MC
/
ELF
/
undef2.s
diff --git
a/test/MC/ELF/undef2.s
b/test/MC/ELF/undef2.s
index 764f1d7bd3db787d4e33adb0af382b04361f3888..6aa66c05c4bb7c6f6905ef7979560d248be46e13 100644
(file)
--- a/
test/MC/ELF/undef2.s
+++ b/
test/MC/ELF/undef2.s
@@
-1,10
+1,18
@@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - |
elf-dump
| FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - |
llvm-readobj -s -t
| FileCheck %s
// Test that this produces an undefined reference to .Lfoo
je .Lfoo
// Test that this produces an undefined reference to .Lfoo
je .Lfoo
-// CHECK: ('_symbols', [
-// CHECK: (('st_name', 1) # '.Lfoo'
-// CHECK-NEXT: ('st_bind', 1)
-// CHECK: (('sh_name', 36) # '.strtab'
+// CHECK: Section {
+// CHECK: Name: .strtab
+
+// CHECK: Symbol {
+// CHECK: Name: .Lfoo
+// CHECK-NEXT: Value:
+// CHECK-NEXT: Size:
+// CHECK-NEXT: Binding: Global
+// CHECK-NEXT: Type:
+// CHECK-NEXT: Other:
+// CHECK-NEXT: Section:
+// CHECK-NEXT: }