Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bolt/test/runtime/AArch64/r_aarch64_prelxx.s')
-rw-r--r--bolt/test/runtime/AArch64/r_aarch64_prelxx.s37
1 files changed, 0 insertions, 37 deletions
diff --git a/bolt/test/runtime/AArch64/r_aarch64_prelxx.s b/bolt/test/runtime/AArch64/r_aarch64_prelxx.s
deleted file mode 100644
index 89bc6ccf667f..000000000000
--- a/bolt/test/runtime/AArch64/r_aarch64_prelxx.s
+++ /dev/null
@@ -1,37 +0,0 @@
-// This test checks processing of R_AARCH64_PREL64/32/16 relocations
-
-// RUN: %clang %cflags -nostartfiles -nostdlib %s -o %t.exe -Wl,-q \
-// RUN: -Wl,-z,max-page-size=4
-// RUN: llvm-readelf -Wa %t.exe | FileCheck %s -check-prefix=CHECKPREL
-
-// CHECKPREL: R_AARCH64_PREL16 {{.*}} .dummy + 0
-// CHECKPREL-NEXT: R_AARCH64_PREL32 {{.*}} _start + 4
-// CHECKPREL-NEXT: R_AARCH64_PREL64 {{.*}} _start + 8
-
-// RUN: llvm-bolt %t.exe -o %t.bolt
-// RUN: llvm-readobj -S --section-data %t.bolt | FileCheck %s
-
-// CHECK: Name: .data
-// CHECK: SectionData (
-// CHECK: 0000: FCFF0000 44FF3F00 44FF3F00 00000000
-// CHECK: )
-
- .text
- .align 4
- .globl _start
- .type _start, %function
-_start:
- adr x0, datatable
- mov x0, #0
- ret
-
-.section .dummy, "da"
-dummy:
- .word 0
-
-.section .data
-datatable:
- .hword dummy - datatable
- .align 2
- .word _start - datatable
- .xword _start - datatable