Last change
on this file since 621 was
586,
checked in by alain, 11 years ago
|
Modify the name "boot" to "reset" to avoid confusion
between the pre-loader and the boot-loader...
Increase the size of the segment containing the stacks.
|
File size:
731 bytes
|
Rev | Line | |
---|
[570] | 1 | /********************************************************** |
---|
| 2 | File : ldscript |
---|
| 3 | Author : Cesar Fuguet |
---|
| 4 | Date : June 2011 |
---|
| 5 | **********************************************************/ |
---|
| 6 | |
---|
[586] | 7 | /* Definition of the base address for code segment */ |
---|
[570] | 8 | |
---|
[586] | 9 | seg_reset_code_base = 0xBFC00000; |
---|
[570] | 10 | |
---|
[586] | 11 | seg_reset_stack_base = 0x00060000; |
---|
| 12 | seg_reset_stack_size = 0x00090000; |
---|
| 13 | |
---|
[570] | 14 | /* Grouping sections into segments */ |
---|
| 15 | |
---|
[586] | 16 | ENTRY(reset) |
---|
| 17 | |
---|
[570] | 18 | SECTIONS |
---|
| 19 | { |
---|
[586] | 20 | . = seg_reset_code_base; |
---|
| 21 | .text : |
---|
| 22 | { |
---|
[570] | 23 | *(.reset) |
---|
[586] | 24 | *(.rodata) |
---|
| 25 | *(.rodata.*) |
---|
| 26 | . = ALIGN(0x4); |
---|
| 27 | dtb_addr = .; |
---|
| 28 | INCLUDE "build/platform.ld"; |
---|
[570] | 29 | } |
---|
| 30 | |
---|
[586] | 31 | . = seg_reset_stack_base; |
---|
| 32 | .bss ALIGN(0x4) (NOLOAD) : |
---|
| 33 | { |
---|
[570] | 34 | *(.data) |
---|
| 35 | *(.bss) |
---|
| 36 | } |
---|
| 37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.