[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / partition-dynamic-linker.s
blob7aafedd4137f4e79d03657fd968ebcf08e8126fc
1 ## Test that we don't create a .ARM.exidx for the main partition.
2 ## Previously we were doing so, which is unnecessary and led to a crash.
4 # REQUIRES: arm
5 # RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %p/Inputs/shared.s -o %t1.o
6 # RUN: ld.lld -shared %t1.o -o %t.so
7 # RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
9 # RUN: ld.lld -shared --gc-sections --dynamic-linker foo %t.o %t.so -o %t
10 # RUN: llvm-readelf --section-headers %t | FileCheck %s
12 # CHECK: .ARM.exidx
13 # CHECK-NOT: .ARM.exidx
15 .section .llvm_sympart,"",%llvm_sympart
16 .asciz "part1"
17 .4byte p1
19 .section .text.p1,"ax",%progbits
20 .globl p1
21 p1:
22 .fnstart
23 bx lr
24 .cantunwind
25 .fnend