diff options
Diffstat (limited to 'test/Object')
-rwxr-xr-x | test/Object/Inputs/elf-reloc-no-sym.x86_64 | bin | 0 -> 1768 bytes | |||
-rw-r--r-- | test/Object/elf-reloc-no-sym.test | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/Object/Inputs/elf-reloc-no-sym.x86_64 b/test/Object/Inputs/elf-reloc-no-sym.x86_64 Binary files differnew file mode 100755 index 0000000000..a41b4e0d78 --- /dev/null +++ b/test/Object/Inputs/elf-reloc-no-sym.x86_64 diff --git a/test/Object/elf-reloc-no-sym.test b/test/Object/elf-reloc-no-sym.test new file mode 100644 index 0000000000..eabde0cc73 --- /dev/null +++ b/test/Object/elf-reloc-no-sym.test @@ -0,0 +1,7 @@ +RUN: llvm-readobj -r %p/Inputs/elf-reloc-no-sym.x86_64 | FileCheck %s + +CHECK: Relocations [ +CHECK-NEXT: Section (1) .rela.plt { +CHECK-NEXT: 0x4011D8 R_X86_64_IRELATIVE - 0x400120 +CHECK-NEXT: } +CHECK-NEXT: ] |