2 // RUN
: llvm-mc
%s
-o
%t.o
-filetype
=obj
--triple
=x86_64-unknown-linux
3 // RUN
: ld.lld
%t.o
-o
%t --export-dynamic
--gc-sections
4 // RUN
: llvm-readelf
-S
-s
%t | FileCheck
%s
6 // Ordinarily
, the TLS
and IFUNC sections would
be split into partitions.
7 // Make sure that that didn
't happen by checking that there is only one
16 .section .llvm_sympart.f1,"",@llvm_sympart
20 .section .text._start,"ax",@progbits
26 .section .text.f1,"ax",@progbits
32 .section .ifunc,"ax",@progbits,unique,1
33 .type ifunc1 STT_GNU_IFUNC
36 .section .ifunc,"ax",@progbits,unique,2
37 .type ifunc2 STT_GNU_IFUNC
40 .section .tdata,"awT",@progbits,unique,1
43 .section .tdata,"awT",@progbits,unique,2