llvm-project/lld/test/ELF/linkerscript/synthetic-symbols2.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
362 B
Plaintext
Raw Normal View History

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/synthetic-symbols.s -o %t
# RUN: ld.lld -o %t.exe --eh-frame-hdr --script %s %t
SECTIONS {
.eh_frame_hdr : {
PROVIDE_HIDDEN(_begin_sec = .);
*(.eh_frame_hdr)
*(.eh_frame_hdr)
PROVIDE_HIDDEN(_end_sec_abs = ABSOLUTE(.));
PROVIDE_HIDDEN(_end_sec = .);
}
}