zig/deps/lld/test/ELF/arm-exidx-sentinel-norelocatable.s
Andrew Kelley 4794281d64 embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the
git monorepo.
2017-08-27 17:46:59 -04:00

18 lines
421 B
ArmAsm

// 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