[Clang] replace 'bitfield' with 'bit-field' for consistency (#117881)
[llvm-project.git] / lld / test / ELF / execute-only.s
blob24cea11d7a3f7e50dccf827b413a4e6c625d2750
1 // REQUIRES: aarch64
3 // RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o
4 // RUN: ld.lld -Ttext=0xcafe0000 %t.o -o %t.so -shared --execute-only
5 // RUN: llvm-readelf -l %t.so | FileCheck %s
7 // CHECK: LOAD {{.*}} 0x00000000cafe0000 0x000004 0x000004 E 0x{{.*}}
8 // CHECK-NOT: LOAD {{.*}} 0x00000000cafe0000 0x000004 0x000004 R E 0x{{.*}}
10 br lr