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 18