forked from OSchip/llvm-project
13 lines
341 B
Plaintext
13 lines
341 B
Plaintext
# 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
|