summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/global_offset_table.s
blob: 3b86f00ae3ab661a4e398058ec4b6343e06edfba (plain)
1
2
3
4
5
6
// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: ld.lld %t -o /dev/null
.global _start
_start:
.long _GLOBAL_OFFSET_TABLE_
OpenPOWER on IntegriCloud