3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 # RUN: ld.lld %t.o -o %t --icf=all -shared
5 # RUN: llvm-readelf --sections --dyn-symbols %t | FileCheck %s
7 # We used to mark bar as absolute.
10 # CHECK: [[ADDR:[0-9a-f]+]] 0 NOTYPE GLOBAL DEFAULT 5 foo
11 # CHECK: [[ADDR]] 0 NOTYPE GLOBAL DEFAULT 5 bar
13 # The nop makes the test more interesting by making the offset of
18 .section .text.f,"ax",@progbits
23 .section .text.g,"ax",@progbits