Files
clang-p2996/lld/test/ELF/relocation-common.s
Ed Maste 8fd0196c6f lld: Default image base address to 0x200000 on x86-64
Align to the large page size (known as a superpage or huge page).
FreeBSD automatically promotes large, superpage-aligned allocations.

Differential Revision:	https://reviews.llvm.org/D27042

llvm-svn: 287782
2016-11-23 17:44:02 +00:00

15 lines
344 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: ld.lld %t -o %tout
// RUN: llvm-objdump -t -d %tout | FileCheck %s
// REQUIRES: x86
.global _start
_start:
movl $1, sym1(%rip)
.global sym1
.comm sym1,4,4
// CHECK: 201000: {{.*}} movl $1, 4086(%rip)
// CHECK: 0000000000202000 g .bss 00000004 sym1