Last change
on this file since 602 was
563,
checked in by bouyer, 11 years ago
|
rename data section to bss, and mark it noload.
|
File size:
663 bytes
|
Rev | Line | |
---|
[368] | 1 | /********************************************************** |
---|
| 2 | File : ldscript |
---|
| 3 | Author : Cesar Fuguet |
---|
| 4 | Date : June 2011 |
---|
| 5 | **********************************************************/ |
---|
| 6 | |
---|
| 7 | /* Definition of the base address for all segments */ |
---|
| 8 | |
---|
[425] | 9 | seg_stack_base = 0x00018000; |
---|
[368] | 10 | seg_boot_base = 0xBFC00000; /* le code de boot */ |
---|
| 11 | |
---|
| 12 | /* Grouping sections into segments */ |
---|
| 13 | |
---|
| 14 | ENTRY(boot) |
---|
| 15 | SECTIONS |
---|
| 16 | { |
---|
| 17 | . = seg_boot_base; |
---|
| 18 | .text : { |
---|
| 19 | *(.boot) |
---|
| 20 | *(.reset) |
---|
[554] | 21 | *(.rodata) |
---|
| 22 | *(.rodata.*) |
---|
| 23 | . = ALIGN(0x4); |
---|
| 24 | dtb_addr = .; |
---|
| 25 | INCLUDE "build/platform.ld"; |
---|
[368] | 26 | } |
---|
| 27 | |
---|
[554] | 28 | . = seg_stack_base; |
---|
[563] | 29 | .bss ALIGN(0x4) (NOLOAD) : { |
---|
[554] | 30 | *(.data) |
---|
| 31 | *(.bss) |
---|
[368] | 32 | } |
---|
| 33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.