]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/arm-exidx-sentinel-norelocatable.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / arm-exidx-sentinel-norelocatable.s
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
5 // Check that when doing a relocatable link we don't add a terminating entry
6 // to the .ARM.exidx section
7  .syntax unified
8  .text
9 _start:
10  .fnstart
11  .cantunwind
12  bx lr
13  .fnend
14
15 // Expect 1 table entry of size 8
16 // CHECK: Name: .ARM.exidx
17 // CHECK: Size: 8