3 GROUP(-lcygmon -lc -lcygmon -lgcc)
8 * Allocate the stack to be at the top of memory, since the stack
11 PROVIDE (__stack = 0x500000);
14 * Initalize some symbols to be zero so we can reference them in the
15 * crt0 without core dumping. These functions are all optional, but
16 * we do this so we can have our crt0 always use them if they exist.
17 * This is so BSPs work better when using the crt0 installed with gcc.
18 * We have to initalize them twice, so we multiple object file
19 * formats, as some prepend an underscore.
21 PROVIDE (hardware_init_hook = 0);
22 PROVIDE (software_init_hook = 0);
23 PROVIDE (__mem_start = 0x100000);
24 PROVIDE (___mem_start = 0x100000);
33 PROVIDE (__runtime_reloc_start = .);
35 PROVIDE (__runtime_reloc_stop = .);
60 PROVIDE (__EH_FRAME_BEGIN__ = .);
62 PROVIDE (__EH_FRAME_END__ = .);
72 __global = . + 0x8000;
88 PROVIDE(__bss_start = .);
95 PROVIDE(__bss_end = .);