4 OUTPUT_FORMAT
="elf32-epiphany"
6 # See also `include/elf/epiphany.h'
11 #RESERVED_ADDR=0x00000100
17 # ??? This fails: 'Not enough room for program headers, try linking with -N'
18 #TEXT_START_ADDR=0x00000040
20 #The following two lines would allow small to medium sized programs
21 #to run in the first 1 MB.
22 #TEXT_START_ADDR=0x00000060
23 #EXECUTABLE_SYMBOLS='PROVIDE (___bss_start = __bss_start); PROVIDE (___heap_start = end); PROVIDE (___heap_end = (0x0c0000)); PROVIDE (___stack = (0x0ffff0));'
25 TEXT_START_ADDR
='DEFINED (___text_start) ? ___text_start : 0x80000000'
26 EXECUTABLE_SYMBOLS
='PROVIDE (___bss_start = __bss_start); PROVIDE (___heap_start = end); PROVIDE (___heap_end = (0x81800000)); PROVIDE (___stack = (0x81fffff0));'
28 #Smuggle an alignemnt directive in here so that .bss is aligned.
29 OTHER_SDATA_SECTIONS
='. = ALIGN(8);'
40 #OTHER_RELOCATING_SECTIONS=
41 #OTHER_READONLY_SECTIONS=
42 #OTHER_READWRITE_SECTIONS=