brintos

brintos / llvm-project-archived public Read only

0
0
Text · 613 B · fd04f56 Raw
21 lines · plain
1# RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj -o %t %s2# RUN: llvm-rtdyld -triple=arm64-none-linux-gnu -verify -check=%s %t3 4.globl _main5.weak _label16 7.section .text.label1,"ax"8_label1:9        nop10 11.section .text.main,"ax"12_main:13        b _label114 15# Branch must be to stub in .text.main, *not* back to _label1, because16# in general sections could be loaded at arbitrary addresses in target memory,17# and when initially processing locations and generating stubs we don't know18# the final layout yet, so we can't tell if the branch offset is within range.19 20# rtdyld-check: *{4}(_main) = 0x1400000121