summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/synthetic-symbols2.test
blob: 5304c1e28f0171a5ddd2c61bc848f96296e0ea3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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 = .);
  }
}
OpenPOWER on IntegriCloud