brintos

brintos / llvm-project-archived public Read only

0
0
Text · 372 B · 208d4d7 Raw
14 lines · plain
1# REQUIRES: arm2# RUN: echo ".fnstart; bx lr; .cantunwind; .fnend" \3# RUN:   | llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi - -o %t.o4# RUN: ld.lld -T %s %t.o -shared -o %t.so5# RUN: llvm-readobj --program-headers %t.so | FileCheck %s6 7# CHECK: Type: PT_ARM_EXIDX8 9PHDRS { ph_text PT_LOAD; }10SECTIONS {11  . = SIZEOF_HEADERS;12  .text : { *(.text) } : ph_text13}14