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.
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
13 # CHECK-NOT: .ARM.exidx
15 .section .llvm_sympart,"",%llvm_sympart
19 .section .text.p1,"ax",%progbits