1/* #line 1 "default.lcf.h" /* stack depth 0 */ 2/* #line 1 "boot.h" /* stack depth 1 */ 3/* #line 34 "default.lcf.h" /* stack depth 0 */ 4 5// MEMORY directive 6// - Delineates areas in the target platform�fs memory map. 7// - Associates a name for each of these areas. 8 9MEMORY { 10text : origin = 0x80004000 11} 12 13// SECTIONS directive 14// - Define sections in the linker�fs output file. 15// - Specifies in which memory area on the target platform a section 16// in the output file should be loaded at runtime. 17 18SECTIONS { 19 20// GROUP directive 21// - Organizes objects. 22 23GROUP:{ 24.init ALIGN(0x20):{} // Initialization executable code from the runtime library 25extab ALIGN(0x20):{} // C++ exception tables 26extabindex ALIGN(0x20):{} // C++ exception tables 27.text ALIGN(0x20):{} // Application code 28.ctors ALIGN(0x20):{} // C++ constructors and Altivec vector constructors 29.dtors ALIGN(0x20):{} // C++ destructors 30.rodata ALIGN(0x20):{} // Literal values and initialization values 31.data ALIGN(0x20):{} // Initialized global data 32.bss ALIGN(0x20):{} // Uninitialized global data 33.sdata ALIGN(0x20):{} // Initialized small global data 34.sbss ALIGN(0x20):{} // Uninitialized global small data 35.sdata2 ALIGN(0x20):{} // Initialized global small data defined with the const keyword 36.sbss2 ALIGN(0x20):{} // Uninitialized global constant small data defined with the const keyword 37.stack ALIGN(0x100):{} // Stack data 38} > text 39 40_stack_addr = (_f_sbss2 + SIZEOF(.sbss2) + 65536 + 0x7) & ~0x7; // Top of the stack 41_stack_end = _f_sbss2 + SIZEOF(.sbss2); // Bottom of the stack 42 43_db_stack_addr = (_stack_addr + 0x2000); // Top of the stack for a debugger 44_db_stack_end = _stack_addr; // Bottom of the stack for a debugger 45 46 47/* The following specifications are invalid. */ 48__ArenaLo = (_db_stack_addr + 0x1f) & ~0x1f; 49__ArenaHi = 0x81700000 ; 50 51} 52 53