xref: /llvm-project/lld/test/ELF/global_offset_table.s (revision 40a9f2251b75012d1d9ce8f86a834ffef9edfb0f)
1// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3// RUN: ld.lld %t -o /dev/null
4.global _start
5_start:
6.long _GLOBAL_OFFSET_TABLE_
7