diff options
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ELF/got.s | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/MC/ELF/got.s b/test/MC/ELF/got.s index c44245d..47b0285 100644 --- a/test/MC/ELF/got.s +++ b/test/MC/ELF/got.s @@ -2,7 +2,8 @@ // Test that this produces a R_X86_64_GOT32. - movl foo@GOT, %eax + movl foo@GOT, %eax + movl foo@GOTPCREL(%rip), %eax // CHECK: ('_relocations', [ // CHECK-NEXT: # Relocation 0 @@ -11,4 +12,10 @@ // CHECK-NEXT: ('r_type', 3) // CHECK-NEXT: ('r_addend', // CHECK-NEXT: ), +// CHECK-NEXT: # Relocation 1 +// CHECK-NEXT: (('r_offset', +// CHECK-NEXT: ('r_sym', +// CHECK-NEXT: ('r_type', 9) +// CHECK-NEXT: ('r_addend', +// CHECK-NEXT: ), // CHECK-NEXT: ]) |