diff options
Diffstat (limited to 'test/MC/ELF/got.s')
| -rw-r--r-- | test/MC/ELF/got.s | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/test/MC/ELF/got.s b/test/MC/ELF/got.s index 30114b75d84d..3fe3e4a62b1a 100644 --- a/test/MC/ELF/got.s +++ b/test/MC/ELF/got.s @@ -1,7 +1,7 @@ // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s -// Test that this produces a R_X86_64_GOT32 and that we have an undefined -// reference to _GLOBAL_OFFSET_TABLE_. +// Test that this produces the correct relocations R_X86_64_GOT32 and that we, +// unlike gas, don't create a _GLOBAL_OFFSET_TABLE_ symbol as a side effect. movl foo@GOT, %eax movl foo@GOTPCREL(%rip), %eax @@ -13,8 +13,5 @@ // CHECK-NEXT: } // CHECK-NEXT: ] -// CHECK: Symbol { -// CHECK: Name: _GLOBAL_OFFSET_TABLE_ -// CHECK-NEXT: Value: -// CHECK-NEXT: Size: -// CHECK-NEXT: Binding: Global +// CHECK: Symbols [ +// CHECK-NOT: _GLOBAL_OFFSET_TABLE_ |
