Last change
on this file since 735 was
735,
checked in by cfuguet, 10 years ago
|
fault_tolerance/tsar_generic_iob: preloader stack
- Modifying stack address in preloader ldscript
|
File size:
661 bytes
|
Line | |
---|
1 | /********************************************************** |
---|
2 | File : ldscript |
---|
3 | Author : Cesar Fuguet |
---|
4 | Date : June 2011 |
---|
5 | **********************************************************/ |
---|
6 | |
---|
7 | /* Definition of the base address for code segment */ |
---|
8 | |
---|
9 | seg_code_base = 0xBFC00000; |
---|
10 | seg_stack_base = 0x03F00000; |
---|
11 | |
---|
12 | /* Grouping sections into segments */ |
---|
13 | |
---|
14 | ENTRY(reset) |
---|
15 | |
---|
16 | SECTIONS |
---|
17 | { |
---|
18 | . = seg_code_base; |
---|
19 | .text : |
---|
20 | { |
---|
21 | *(.reset) |
---|
22 | *(.rodata) |
---|
23 | *(.rodata.*) |
---|
24 | . = ALIGN(0x4); |
---|
25 | dtb_addr = .; |
---|
26 | INCLUDE "build/platform.ld"; |
---|
27 | } |
---|
28 | |
---|
29 | . = seg_stack_base; |
---|
30 | .bss ALIGN(0x4) (NOLOAD) : |
---|
31 | { |
---|
32 | *(.bss) |
---|
33 | *(.data) |
---|
34 | } |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.