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:
655 bytes
|
Rev | Line | |
---|
[728] | 1 | /********************************************************** |
---|
[735] | 2 | File : ldscript |
---|
[728] | 3 | Author : Cesar Fuguet |
---|
| 4 | Date : June 2011 |
---|
| 5 | **********************************************************/ |
---|
| 6 | |
---|
[735] | 7 | /* Definition of the base address for code segment */ |
---|
[728] | 8 | |
---|
[735] | 9 | seg_code_base = 0xBFC00000; |
---|
| 10 | seg_stack_base = 0x03F00000; |
---|
[728] | 11 | |
---|
| 12 | /* Grouping sections into segments */ |
---|
| 13 | |
---|
| 14 | ENTRY(reset) |
---|
| 15 | |
---|
| 16 | SECTIONS |
---|
| 17 | { |
---|
[735] | 18 | . = seg_code_base; |
---|
| 19 | .text : |
---|
[728] | 20 | { |
---|
| 21 | *(.reset) |
---|
| 22 | *(.rodata) |
---|
| 23 | *(.rodata.*) |
---|
| 24 | . = ALIGN(0x4); |
---|
| 25 | dtb_addr = .; |
---|
| 26 | INCLUDE "build/platform.ld"; |
---|
| 27 | } |
---|
| 28 | |
---|
[735] | 29 | . = seg_stack_base; |
---|
| 30 | .bss ALIGN(0x4) (NOLOAD) : |
---|
[728] | 31 | { |
---|
[735] | 32 | *(.bss) |
---|
[728] | 33 | *(.data) |
---|
| 34 | } |
---|
| 35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.