Last change
on this file since 548 was
432,
checked in by alain, 10 years ago
|
1) Introduce the "applications" directory.
2) Introduce the fixed format (X_WIDTH / Y_WIDTH / P_WIDTH) for processor index in all applications.
|
File size:
952 bytes
|
Rev | Line | |
---|
[256] | 1 | /**************************************************************************** |
---|
| 2 | * Definition of the base address for all virtual segments |
---|
| 3 | *****************************************************************************/ |
---|
| 4 | |
---|
[312] | 5 | seg_code_base = 0x10000000; |
---|
| 6 | seg_data_base = 0x20000000; |
---|
[256] | 7 | |
---|
| 8 | /*************************************************************************** |
---|
| 9 | * Grouping sections into segments for code and data |
---|
| 10 | ***************************************************************************/ |
---|
| 11 | |
---|
| 12 | SECTIONS |
---|
| 13 | { |
---|
| 14 | . = seg_code_base; |
---|
| 15 | seg_code : |
---|
| 16 | { |
---|
| 17 | *(.text) |
---|
| 18 | *(.text.*) |
---|
| 19 | } |
---|
| 20 | . = seg_data_base; |
---|
| 21 | seg_data : |
---|
| 22 | { |
---|
| 23 | *(.ctors) |
---|
| 24 | *(.rodata) |
---|
| 25 | /* . = ALIGN(4); */ |
---|
| 26 | *(.rodata.*) |
---|
| 27 | /* . = ALIGN(4); */ |
---|
| 28 | *(.data) |
---|
| 29 | /* . = ALIGN(4); */ |
---|
| 30 | *(.lit8) |
---|
| 31 | *(.lit4) |
---|
| 32 | *(.sdata) |
---|
| 33 | /* . = ALIGN(4); */ |
---|
| 34 | *(.bss) |
---|
| 35 | *(COMMON) |
---|
| 36 | *(.sbss) |
---|
| 37 | *(.scommon) |
---|
| 38 | } |
---|
| 39 | } |
---|
| 40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.