source: soft/giet_vm/applications/ocean/ocean.ld @ 801

Last change on this file since 801 was 799, checked in by alain, 9 years ago

Introducing a port of ocean application without macros.

File size: 948 bytes
Line 
1/****************************************************************************
2* Definition of the base address for all virtual segments
3*****************************************************************************/
4
5seg_code_base      = 0x10000000;
6seg_data_base      = 0x20000000;
7seg_ldata_base     = 0x20200000;
8
9/***************************************************************************
10* Grouping sections into segments for code and data
11***************************************************************************/
12
13SECTIONS
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}
40
Note: See TracBrowser for help on using the repository browser.