Remove sh5 and sh64 support
[deliverable/binutils-gdb.git] / ld / scripttempl / m68kaux.sc
CommitLineData
252b5132 1# Linker script for A/UX.
985743c7 2#
219d1afa 3# Copyright (C) 2014-2018 Free Software Foundation, Inc.
6c19b93b 4#
985743c7
NC
5# Copying and distribution of this file, with or without modification,
6# are permitted in any medium without royalty provided the copyright
7# notice and this notice are preserved.
8
252b5132
RH
9test -z "$ENTRY" && ENTRY=_start
10INIT='.init : { *(.init) }'
11FINI='.fini : { *(.fini) }'
12CTORS='.ctors : { *(.ctors) }'
13DTORS='.dtors : { *(.dtors) }'
14
15cat <<EOF
219d1afa 16/* Copyright (C) 2014-2018 Free Software Foundation, Inc.
985743c7
NC
17
18 Copying and distribution of this script, with or without modification,
19 are permitted in any medium without royalty provided the copyright
20 notice and this notice are preserved. */
21
252b5132
RH
22OUTPUT_FORMAT("${OUTPUT_FORMAT}")
23${LIB_SEARCH_DIRS}
24
596d6d91 25${RELOCATING+ENTRY (${ENTRY})}
252b5132
RH
26
27SECTIONS
28{
29 .text ${RELOCATING+ $TEXT_START_ADDR} : {
30 ${RELOCATING+ *(.init)}
31 ${RELOCATING+ *(.fini)}
32 *(.text)
33 ${RELOCATING+ . = ALIGN(4);}
34 ${RELOCATING+ *(.ctors)}
35 ${RELOCATING+ *(.dtors)}
36 ${RELOCATING+ etext = .;}
37 ${RELOCATING+ _etext = .;}
38 } =0x4E714E71
39 .data ${RELOCATING+ $DATA_ALIGNMENT} : {
40 *(.data)
41 ${RELOCATING+ edata = .;}
42 ${RELOCATING+ _edata = .;}
43 }
44 .bss : {
45 *(.bss)
46 *(COMMON)
47 ${RELOCATING+ end = .;}
48 ${RELOCATING+ _end = .;}
49 }
50 ${RELOCATING- ${INIT}}
51 ${RELOCATING- ${FINI}}
52 ${RELOCATING- ${CTORS}}
53 ${RELOCATING- ${DTORS}}
54
55 .comment 0 ${RELOCATING+(NOLOAD)} : { [ .comment ] [ .ident ] }
56 .stab 0 ${RELOCATING+(NOLOAD)} : { [ .stab ] }
57 .stabstr 0 ${RELOCATING+(NOLOAD)} : { [ .stabstr ] }
58}
59EOF
This page took 0.929505 seconds and 4 git commands to generate.