Files
clang-p2996/lld/test/ELF/linkerscript/parse-section-in-addr.test
George Rimar f95e7c6f7a [ELF] - Rename test cases to *.test.
This is a follow-up for r327410.

llvm-svn: 327416
2018-03-13 16:02:45 +00:00

11 lines
256 B
Plaintext

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
# RUN: ld.lld -o %t.so --script %s %t.o -shared
# RUN: llvm-readelf -S %t.so | FileCheck %s
SECTIONS {
.foo-bar : AT(ADDR(.foo-bar)) { *(.text) }
}
# CHECK: .foo-bar