blob: bd0870c263a7a196632bbb6282db7005def34ce1 [file] [log] [blame]
George Rimarb940f652017-06-01 07:47:56 +00001# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
Fangrui Song40a9f222018-07-02 17:48:23 +00004# RUN: ld.lld %t -o /dev/null -shared --gc-sections
George Rimarb940f652017-06-01 07:47:56 +00005
6.global foo
7foo = 0x123