aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/arm-exidx-sentinel-norelocatable.s
blob: 4a5b64d8cd185cec9339e7cb95e1645060e7aa48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o %t.o
// RUN: ld.lld -r %t.o -o %t
// REQUIRES: arm
// RUN: llvm-readobj -s %t | FileCheck %s
// Check that when doing a relocatable link we don't add a terminating entry
// to the .ARM.exidx section
 .syntax unified
 .text
_start:
 .fnstart
 .cantunwind
 bx lr
 .fnend

// Expect 1 table entry of size 8
// CHECK: Name: .ARM.exidx
// CHECK: Size: 8