1 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
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.
8 /* Copyright (C) 2014-2018 Free Software Foundation, Inc.
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. */
14 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
15 OUTPUT_ARCH("${OUTPUT_ARCH}")
16 ${RELOCATING+ENTRY (_start)}
20 .text ${BIG+ ${RELOCATING+ 0x0000000}} :
27 .ctors ${BIG+ ${RELOCATING+ 0x2000000}} :
29 ${CONSTRUCTING+ ___ctors = . ; }
31 ${CONSTRUCTING+ ___ctors_end = . ; }
34 ${CONSTRUCTING+ ___dtors_end = . ; }
37 .data ${BIG+ ${RELOCATING+ 0x3000000}} :
42 .bss ${BIG+ ${RELOCATING+ 0x4000000}} :
44 ${RELOCATING+ __start_bss = . ; }
47 ${RELOCATING+ __end_bss = . ; }
50 .heap ${BIG+ ${RELOCATING+ 0x5000000}} :
52 ${RELOCATING+ __start_heap = . ; }
53 ${RELOCATING+ . = . + 20k ; }
54 ${RELOCATING+ __end_heap = . ; }
57 .stack ${RELOCATING+ 0xf000 } :
59 ${RELOCATING+ _stack = . ; }
61 ${RELOCATING+ __stack_top = . ; }