You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
585 B
17 lines
585 B
// RUN: llvm-mc -triple x86_64-linux-gnu -filetype=obj %s | llvm-readobj -r | FileCheck %s
|
|
|
|
|
|
// CHECK: Relocations [
|
|
// CHECK-NEXT: Section ({{[0-9]+}}) .rela.text {
|
|
|
|
pushq $foo // CHECK-NEXT: R_X86_64_32S
|
|
addq $foo, %rax // CHECK-NEXT: R_X86_64_32S
|
|
andq $foo, %rax // CHECK-NEXT: R_X86_64_32S
|
|
movq $foo, %rax // CHECK-NEXT: R_X86_64_32S
|
|
bextr $foo, (%edi), %eax // CHECK-NEXT: R_X86_64_32
|
|
bextr $foo, (%rdi), %rax // CHECK-NEXT: R_X86_64_32S
|
|
imul $foo, %rax // CHECK-NEXT: R_X86_64_32S
|
|
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|