Files
clang-p2996/lld/test/ELF/linkerscript/arm-lscript.test
Rui Ueyama dc32dc1770 Convert more .s files to linker script files.
Summary:
This change removes large "echo" commands from the test by writing
tests themselves as linker scripts.

Reviewers: rafael

Subscribers: emaste, javed.absar, llvm-commits, arichardson

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

llvm-svn: 326403
2018-03-01 01:19:12 +00:00

12 lines
340 B
Plaintext

# REQUIRES: arm
# RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi /dev/null -o %t.o
# This is a test case for PR33029. Making sure that linker can digest
# the above script without dumping core.
# RUN: ld.lld -emit-relocs -T %s %t.o -shared -o %t.so
SECTIONS {
.rel.dyn : {}
.zed : { PROVIDE_HIDDEN (foobar = .); }
}