repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git]
/
lld
/
test
/
ELF
/
linkerscript
/
bss-fill.test
blob
b7ed47656172f0b77c3956d9a31987c5b4910b6b
1
# REQUIRES: x86
2
# RUN: echo '.section .bss,"",@nobits; .short 0' \
3
# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o
4
# RUN: ld.lld -o %t --script %s %t.o
5
6
## Check we do not crash.
7
8
SECTIONS {
9
.bss : {
10
. += 0x10000;
11
*(.bss)
12
} =0xFF
13
}