Files
zig/deps/lld/test/ELF/linkerscript/parse-section-in-addr.s
2018-02-07 17:38:02 -05:00

11 lines
347 B
ArmAsm

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