]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/i386msdos.sc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / scripttempl / i386msdos.sc
CommitLineData
d87bef3a 1# Copyright (C) 2014-2023 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 7cat <<EOF
d87bef3a 8/* Copyright (C) 2014-2023 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})
16
17${RELOCATING+${LIB_SEARCH_DIRS}}
18${STACKZERO+${RELOCATING+${STACKZERO}}}
19SECTIONS
20{
21 ${RELOCATING+. = ${TEXT_START_ADDR};}
22 .text :
23 {
24 CREATE_OBJECT_SYMBOLS
25 *(.text)
26 ${RELOCATING+etext = .;}
27 ${RELOCATING+_etext = .;}
28 ${RELOCATING+__etext = .;}
29 }
30 .data :
31 {
32 *(.rodata)
33 *(.data)
34 ${CONSTRUCTING+CONSTRUCTORS}
35 ${RELOCATING+edata = .;}
36 ${RELOCATING+_edata = .;}
37 ${RELOCATING+__edata = .;}
38 }
39 .bss :
40 {
41 ${RELOCATING+ _bss_start = .};
42 ${RELOCATING+ __bss_start = .};
43 *(.bss)
44 *(COMMON)
45 ${RELOCATING+end = ALIGN(4) };
46 ${RELOCATING+_end = ALIGN(4) };
47 ${RELOCATING+__end = ALIGN(4) };
48 }
49}
50EOF