brintos

brintos / llvm-project-archived public Read only

0
0
Text · 531 B · 3ed8d7c Raw
29 lines · plain
1# This reproduces issue 177 from our github repo2# AARCH64_MOVW_UABS_G* relocations handling3 4# REQUIRES: system-linux5 6# RUN: %clang %cflags -no-pie %s -o %t.exe -Wl,-q7# RUN: llvm-bolt %t.exe -o %t.bolt --use-old-text=0 --lite=0 --trap-old-code8# RUN: %t.bolt9 10.text11.align 412.global test13.type test, %function14test:15mov x0, xzr16ret17.size test, .-test18 19.align 420.global main21.type main, %function22main:23movz x0, #:abs_g3:test24movk x0, #:abs_g2_nc:test25movk x0, #:abs_g1_nc:test26movk x0, #:abs_g0_nc:test27br x028.size main, .-main29