Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / ld / scripttempl / h8500.sc
CommitLineData
219d1afa 1# Copyright (C) 2014-2018 Free Software Foundation, Inc.
6c19b93b 2#
985743c7
NC
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
40a633d5
NC
7TORS="
8 ___ctors = . ;
9 *(.ctors)
10 ___ctors_end = . ;
11 ___dtors = . ;
12 *(.dtors)
13 ___dtors_end = . ;"
14
252b5132 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}")
23OUTPUT_ARCH(${ARCH})
24
25/* Code and data 64k total */
26
69f06969
KH
27SECTIONS
28{
29.text ${RELOCATING+ 0x0000} :
30 {
40a633d5 31 *(.text)
69f06969 32 ${RELOCATING+ _etext = . ; }
252b5132
RH
33 }
34
252b5132
RH
35.data ${RELOCATING+ . } :
36 {
40a633d5
NC
37 *(.data)
38 ${RELOCATING+ _edata = . ; }
69f06969 39 }
252b5132
RH
40
41.rdata ${RELOCATING+ . } :
42 {
69f06969 43 *(.rdata);
252b5132 44 *(.strings)
69f06969 45
40a633d5 46 ${CONSTRUCTING+${TORS}}
69f06969 47 }
252b5132
RH
48
49.bss ${RELOCATING+ . } :
50 {
40a633d5
NC
51 ${RELOCATING+ __start_bss = . ; }
52 *(.bss)
53 *(COMMON)
54 ${RELOCATING+ _end = . ; }
252b5132
RH
55 }
56
57.stack ${RELOCATING+ 0xfff0} :
58 {
40a633d5
NC
59 ${RELOCATING+ _stack = . ; }
60 *(.stack)
69f06969 61 }
252b5132 62
69f06969 63.stab 0 ${RELOCATING+(NOLOAD)} :
40a633d5
NC
64 {
65 [ .stab ]
66 }
69f06969 67
40a633d5
NC
68.stabstr 0 ${RELOCATING+(NOLOAD)} :
69 {
70 [ .stabstr ]
71 }
252b5132
RH
72}
73EOF
This page took 0.86986 seconds and 4 git commands to generate.