aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/gc-absolute.s
blob: bd0870c263a7a196632bbb6282db7005def34ce1 (plain)
1
2
3
4
5
6
7
# REQUIRES: x86

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o /dev/null -shared --gc-sections

.global foo
foo = 0x123