blob: a2e3e45f1eb57f7f4fa309d1386ba4683c921637 [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t1.o
# RUN: ld.lld -shared %t1.o --script %s -o %t
# RUN: llvm-readelf -s %t | FileCheck %s
SECTIONS {
A = . + 0x1;
. += 0x1000;
}
# CHECK: Value Size Type Bind Vis Ndx Name
# CHECK: 0000000000000001 0 NOTYPE GLOBAL DEFAULT 1 A