brintos

brintos / llvm-project-archived public Read only

0
0
Text · 375 B · 24cea11 Raw
11 lines · plain
1// REQUIRES: aarch642 3// RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o4// RUN: ld.lld -Ttext=0xcafe0000 %t.o -o %t.so -shared --execute-only5// RUN: llvm-readelf -l %t.so | FileCheck %s6 7// CHECK:      LOAD {{.*}} 0x00000000cafe0000 0x000004 0x000004   E 0x{{.*}}8// CHECK-NOT:  LOAD {{.*}} 0x00000000cafe0000 0x000004 0x000004 R E 0x{{.*}}9 10        br lr11