Use unsuspend_all_lwps
[deliverable/binutils-gdb.git] / ld / scripttempl / delta68.sc
CommitLineData
6f2750fe 1# Copyright (C) 2014-2016 Free Software Foundation, Inc.
985743c7
NC
2#
3# Copying and distribution of this file, with or without modification,
4# are permitted in any medium without royalty provided the copyright
5# notice and this notice are preserved.
6
252b5132 7cat <<EOF
6f2750fe 8/* Copyright (C) 2014-2016 Free Software Foundation, Inc.
985743c7
NC
9
10 Copying and distribution of this script, with or without modification,
11 are permitted in any medium without royalty provided the copyright
12 notice and this notice are preserved. */
13
252b5132
RH
14OUTPUT_FORMAT("${OUTPUT_FORMAT}")
15OUTPUT_ARCH(${ARCH})
596d6d91 16${RELOCATING+ENTRY (_start)}
252b5132
RH
17${RELOCATING+${LIB_SEARCH_DIRS}}
18
19SECTIONS
20{
21 .text ${RELOCATING+ 0x2000 + SIZEOF_HEADERS} :
22 {
23 ${RELOCATING+ __.text.start = .};
24 *(.text)
25 ${RELOCATING+ etext = .;}
26 ${RELOCATING+ _etext = .;}
27 ${RELOCATING+ __.text.end = .};
28 ${CONSTRUCTING+ __CTOR_LIST__ = .;}
29 ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
30 ${CONSTRUCTING+ *(.ctors)}
31 ${CONSTRUCTING+ LONG(0)}
32 ${CONSTRUCTING+ __CTOR_END__ = .;}
33 ${CONSTRUCTING+ __DTOR_LIST__ = .;}
34 ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
35 ${CONSTRUCTING+ *(.dtors)}
36 ${CONSTRUCTING+ LONG(0)}
37 ${CONSTRUCTING+ __DTOR_END__ = .;}
38 }
39 .data ${RELOCATING+ SIZEOF(.text) + ADDR(.text) + 0x400000} :
40 {
41 ${RELOCATING+ __.data.start = .};
42 *(.data)
43 ${RELOCATING+ edata = .};
44 ${RELOCATING+ _edata = .};
45 ${RELOCATING+ __.data.end = .};
46 }
47 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
48 {
49 ${RELOCATING+ __.bss.start = .};
50 *(.bss)
51 *(COMMON)
52 ${RELOCATING+ __.bss.end = .};
53 ${RELOCATING+ end = ALIGN(0x8)};
54 ${RELOCATING+ _end = ALIGN(0x8)};
55 }
56 .comment ${RELOCATING+ 0} :
57 {
58 *(.comment)
59 }
60}
61EOF
This page took 0.65284 seconds and 4 git commands to generate.