|
Last change
on this file since 613 was
581,
checked in by laurent, 10 years ago
|
|
Adding ocean application, some mathematics functions and distributed locks
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | /**************************************************************************** |
|---|
| 2 | * Definition of the base address for all virtual segments |
|---|
| 3 | *****************************************************************************/ |
|---|
| 4 | |
|---|
| 5 | seg_code_base = 0x10000000; |
|---|
| 6 | seg_data_base = 0x20000000; |
|---|
| 7 | seg_ldata_base = 0x20200000; |
|---|
| 8 | |
|---|
| 9 | /*************************************************************************** |
|---|
| 10 | * Grouping sections into segments for code and data |
|---|
| 11 | ***************************************************************************/ |
|---|
| 12 | |
|---|
| 13 | SECTIONS |
|---|
| 14 | { |
|---|
| 15 | . = seg_code_base; |
|---|
| 16 | seg_code : |
|---|
| 17 | { |
|---|
| 18 | . = ALIGN(0x40); |
|---|
| 19 | *(.text) |
|---|
| 20 | *(.text.*) |
|---|
| 21 | . = ALIGN(0x40); |
|---|
| 22 | *(.rodata) |
|---|
| 23 | *(.rodata.*) |
|---|
| 24 | } |
|---|
| 25 | . = seg_data_base; |
|---|
| 26 | seg_data : |
|---|
| 27 | { |
|---|
| 28 | . = ALIGN(0x40); |
|---|
| 29 | *(.ctors) |
|---|
| 30 | *(.data) |
|---|
| 31 | *(.lit8) |
|---|
| 32 | *(.lit4) |
|---|
| 33 | *(.sdata) |
|---|
| 34 | *(.bss) |
|---|
| 35 | *(COMMON) |
|---|
| 36 | *(.sbss) |
|---|
| 37 | *(.scommon) |
|---|
| 38 | } |
|---|
| 39 | . = seg_ldata_base; |
|---|
| 40 | seg_ldata : |
|---|
| 41 | { |
|---|
| 42 | . = ALIGN(0x40); |
|---|
| 43 | *(seg_ldata) |
|---|
| 44 | } |
|---|
| 45 | } |
|---|
| 46 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.