source: soft/giet_vm/sort/sort.ld @ 266

Last change on this file since 266 was 258, checked in by alain, 11 years ago

This is a major release, including a deep restructuration of code.
The main evolutions are

  • use of the Tsar preloader to load the GIET boot-loader from disk
  • introduction of a FAT32 file system library,
  • use of this fat32 library by the boot-loader to load the map.bin data structure, and the various .elf files
  • reorganisation of drivers (one file per peripheral).
  • introduction of drivers for new peripherals: vci_chbuf_dma and vci_multi_ahci.
  • introduction of a new physical memory allocator in the boot code.

This release has been tested on the tsar_generic_iob architecture,
for the two following mappings: 4c_1p_iob_four.xml and 4c_1p_iob_sort.xml

File size: 952 bytes
Line 
1/****************************************************************************
2* Definition of the base address for all virtual segments
3*****************************************************************************/
4
5seg_code_base      = 0x00400000;
6seg_data_base      = 0x00500000;
7
8/***************************************************************************
9* Grouping sections into segments for code and data
10***************************************************************************/
11
12SECTIONS
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.