Update year range in copyright notice of all files owned by the GDB project.
[deliverable/binutils-gdb.git] / ld / scripttempl / z80.sc
CommitLineData
985743c7
NC
1# Copyright (C) 2014 Free Software Foundation, Inc.
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
3c9b82ba
NC
7if [ x${LD_FLAG} = x ]
8then
9cat << EOF
985743c7
NC
10/* Copyright (C) 2014 Free Software Foundation, Inc.
11
12 Copying and distribution of this script, with or without modification,
13 are permitted in any medium without royalty provided the copyright
14 notice and this notice are preserved. */
15
3c9b82ba
NC
16/* Create a cp/m executable; load and execute at 0x100. */
17OUTPUT_FORMAT("binary")
18. = 0x100;
19__Ltext = .;
20ENTRY (__Ltext)
21EOF
22else
23 echo "OUTPUT_FORMAT(\"${OUTPUT_FORMAT}\")"
24fi
25cat <<EOF
26OUTPUT_ARCH("${OUTPUT_ARCH}")
27SECTIONS
28{
29.text : {
30 *(.text)
31 *(text)
32 ${RELOCATING+ __Htext = .;}
33 }
34.data : {
35 ${RELOCATING+ __Ldata = .;}
36 *(.data)
37 *(data)
38 ${RELOCATING+ __Hdata = .;}
39 }
40.bss : {
41 ${RELOCATING+ __Lbss = .;}
42 *(.bss)
43 *(bss)
44 ${RELOCATING+ __Hbss = .;}
45 }
46}
47EOF
This page took 0.422241 seconds and 4 git commands to generate.