1 /* Default linker script, for normal executables */
2 OUTPUT_FORMAT("elf32-tricore")
6 /* the internal ram description */
9 text_ram (rx!p): org = 0x80000000, len = 15K
10 data_ram (w!xp): org = 0xd0000000, len = 130K
13 * Define the sizes of the user and system stacks.
15 __USTACK_SIZE = DEFINED (__USTACK_SIZE) ? __USTACK_SIZE : 1K ;
17 * Define the start address and the size of the context save area.
19 __CSA_BEGIN = 0xd0000000 ;
21 __CSA_END = __CSA_BEGIN + __CSA_SIZE ;
43 __USTACK = . + __USTACK_SIZE -768;
47 * Allocate space for BSS sections.
56 /* Make sure CSA, stack and heap addresses are properly aligned. */
57 _. = ASSERT ((__CSA_BEGIN & 0x3f) == 0 , "illegal CSA start address") ;
58 _. = ASSERT ((__CSA_SIZE & 0x3f) == 0 , "illegal CSA size") ;