]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/hppaelf.sc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / scripttempl / hppaelf.sc
CommitLineData
250d07de 1# Copyright (C) 2014-2021 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
252b5132
RH
7DATA_ADDR=0x40000000
8test "$LD_FLAG" = "N" && DATA_ADDR=.
985743c7 9
252b5132 10cat <<EOF
250d07de 11/* Copyright (C) 2014-2021 Free Software Foundation, Inc.
985743c7
NC
12
13 Copying and distribution of this script, with or without modification,
14 are permitted in any medium without royalty provided the copyright
15 notice and this notice are preserved. */
16
252b5132
RH
17OUTPUT_FORMAT("${OUTPUT_FORMAT}")
18OUTPUT_ARCH(${ARCH})
596d6d91 19${RELOCATING+ENTRY("\$START\$")}
252b5132
RH
20${RELOCATING+${LIB_SEARCH_DIRS}}
21SECTIONS
22{
23 .text 0x1000 ${RELOCATING++${TEXT_START_ADDR}}:
24 {
2bf2bf23
AM
25 ${RELOCATING+__text_start = .;
26 CREATE_OBJECT_SYMBOLS}
252b5132
RH
27 *(.PARISC.stubs)
28 *(.text)
2bf2bf23
AM
29 ${RELOCATING+etext = .;
30 _etext = .;}
252b5132
RH
31 }
32 ${RELOCATING+. = ${DATA_ADDR};}
33 .data :
34 {
2bf2bf23
AM
35 ${RELOCATING+. = . + 0x1000;
36 __data_start = .;}
252b5132
RH
37 *(.data)
38 ${CONSTRUCTING+CONSTRUCTORS}
2bf2bf23
AM
39 ${RELOCATING+edata = .;
40 _edata = .;}
252b5132
RH
41 }
42 ${RELOCATING+. = ${DATA_ADDR} + SIZEOF(.data);}
43 .bss :
44 {
45 *(.bss)
2bf2bf23
AM
46 ${RELOCATING+*(COMMON)
47 end = .;
48 _end = .;}
252b5132
RH
49 }
50}
51EOF