source: soft/giet_vm/boot/boot.ld @ 245

Last change on this file since 245 was 245, checked in by alain, 12 years ago

Introducing a new global vseg : seg_boot_data, in order
to clearly separate the seg_boot_code (Read-Only) and
the seg_boot_data (Read/Write?). This is mandatory,
if the boot code is stored in a real ROM.

File size: 729 bytes
Line 
1
2/****************************************************************************/
3/* Definition of the base addresses for all vsegs used by the GIET_VM       */
4/****************************************************************************/
5
6INCLUDE giet_vsegs.ld
7
8/****************************************************************************/
9/* Grouping sections into virtual segment for boot code and data             */
10/****************************************************************************/
11
12SECTIONS
13{
14    . = seg_boot_code_base;
15    seg_boot_code :
16    {
17        *(.boot)
18        *(.text)
19        *(.rodata)
20        *(.rodata.*)
21    }
22
23    . = seg_boot_data_base;
24    seg_boot_data :
25    {
26        *(.wdata)
27    }
28}
29
Note: See TracBrowser for help on using the repository browser.