source: soft/giet_vm/giet_boot/boot.ld @ 383

Last change on this file since 383 was 366, checked in by cfuguet, 10 years ago

giet_boot: using boot_entry instead of boot_init as entry point

  • Property svn:executable set to *
File size: 1.1 KB
RevLine 
[258]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/* Definition of the entry point for the BOOT code.                         */
10/* The address of the boot_init function is stored in the .elf header,      */
[321]11/* and is used by the preloader to jump into the boot code.                 */
[258]12/****************************************************************************/
13
[366]14ENTRY(boot_entry)
[258]15
16/****************************************************************************/
17/* Grouping sections into virtual segment for boot code and data             */
18/****************************************************************************/
19SECTIONS
20{
[321]21    . = boot_code_vbase;
[258]22    seg_boot_code :
23    {
24        *(.text)
25        *(.rodata)
26        *(.rodata.*)
27    }
28
[321]29    . = boot_data_vbase;
[258]30    seg_boot_data :
31    {
32        *(.bootdata)
33        *(.fatdata)
34    }
35}
36
Note: See TracBrowser for help on using the repository browser.