Last change
on this file since 728 was
728,
checked in by cfuguet, 10 years ago
|
fault_tolerance/tsar_generic_iob:
main arguments
- Replacing atoi function by strtol to accept hexadecimal
numeric arguments
config files
Introducing:
- configuration files (conf/preloader*) for compiling preloader.
- configuration file (soclib.conf) for compiling with soclib-cc.
- description file (arch.py) for generating hard and soft
configuration files using GIET_VM genmap script
|
File size:
731 bytes
|
Rev | Line | |
---|
[728] | 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_reset_code_base = 0xBFC00000; |
---|
| 10 | |
---|
| 11 | seg_reset_stack_base = 0x000A0000; |
---|
| 12 | seg_reset_stack_size = 0x00050000; |
---|
| 13 | |
---|
| 14 | /* Grouping sections into segments */ |
---|
| 15 | |
---|
| 16 | ENTRY(reset) |
---|
| 17 | |
---|
| 18 | SECTIONS |
---|
| 19 | { |
---|
| 20 | . = seg_reset_code_base; |
---|
| 21 | .text : |
---|
| 22 | { |
---|
| 23 | *(.reset) |
---|
| 24 | *(.rodata) |
---|
| 25 | *(.rodata.*) |
---|
| 26 | . = ALIGN(0x4); |
---|
| 27 | dtb_addr = .; |
---|
| 28 | INCLUDE "build/platform.ld"; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | . = seg_reset_stack_base; |
---|
| 32 | .bss ALIGN(0x4) (NOLOAD) : |
---|
| 33 | { |
---|
| 34 | *(.data) |
---|
| 35 | *(.bss) |
---|
| 36 | } |
---|
| 37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.