2 // RUN
: llvm-mc
-filetype
=obj
-triple
=armv7a-none-linux-gnueabi
%s
-o
%t
3 // RUN
: ld.lld
--no-merge-exidx-entries
%t --static
-o
%t2
4 // RUN
: llvm-readobj
--symbols
%t2 | FileCheck
%s
6 // Check that on ARM we don
't get a multiply defined symbol for __tls_get_addr
7 // and undefined symbols for references to __exidx_start and __exidx_end
10 .global __tls_get_addr
25 // CHECK: Name: __exidx_start
26 // CHECK-NEXT: Value: 0x100D4
27 // CHECK-NEXT: Size: 0
28 // CHECK-NEXT: Binding: Local
29 // CHECK-NEXT: Type: None
30 // CHECK-NEXT: Other [
31 // CHECK-NEXT: STV_HIDDEN
33 // CHECK: Name: __exidx_end
34 // CHECK-NEXT: Value: 0x100E4
35 // CHECK-NEXT: Size: 0
36 // CHECK-NEXT: Binding: Local
37 // CHECK-NEXT: Type: None
38 // CHECK-NEXT: Other [
39 // CHECK-NEXT: STV_HIDDEN
41 // CHECK-NEXT: Section: .ARM.exidx
43 // CHECK-NEXT: Name: __tls_get_addr