[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / arm-exidx-sentinel-norelocatable.s
blob696f0dcd847ca287dfa1ea6361583ee456cc052e
1 // REQUIRES: arm
2 // RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o %t.o
3 // RUN: ld.lld -r %t.o -o %t
4 // RUN: llvm-readobj -S %t | FileCheck %s
6 // RUN: llvm-mc %s -triple=armv7eb-unknown-linux-gnueabi -mcpu=cortex-a8 -filetype=obj -o %t.o
7 // RUN: ld.lld -r %t.o -o %t
8 // RUN: llvm-readobj -S %t | FileCheck %s
9 // RUN: ld.lld --be8 -r %t.o -o %t
10 // RUN: llvm-readobj -S %t | FileCheck %s
12 // Check that when doing a relocatable link we don't add a terminating entry
13 // to the .ARM.exidx section
14 .syntax unified
15 .text
16 _start:
17 .fnstart
18 .cantunwind
19 bx lr
20 .fnend
22 // Expect 1 table entry of size 8
23 // CHECK: Name: .ARM.exidx
24 // CHECK: Size: 8