source: rtems/bsps/powerpc/gen83xx/start/linkcmds.mpc83xx @ 8f8ccee

5
Last change on this file since 8f8ccee was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 20, 2018 at 8:35:35 AM

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1bsp_ram_start = ORIGIN (RESCONF);
2bsp_ram_end = ORIGIN (WORK) + LENGTH (WORK);
3bsp_ram_size = bsp_ram_end - bsp_ram_start;
4
5bsp_rom_start = ORIGIN (ROM);
6bsp_rom_size = LENGTH (ROM);
7bsp_rom_end = bsp_rom_start + bsp_rom_size;
8
9IMMRBAR = 0xe0000000;
10mpc83xx = IMMRBAR;
11
12EXTERN (__vectors)
13
14MEMORY {
15        EMPTY : ORIGIN = 0x0, LENGTH = 0
16}
17
18SECTIONS {
19        .resconf : {
20                *(.resconf)
21        } > RESCONF AT > RESCONF
22
23        .vectors : {
24                *(.vectors)
25        } > VECTORS AT > VECTORS
26}
27
28REGION_ALIAS ("REGION_START", START);
29REGION_ALIAS ("REGION_FAST_TEXT", WORK);
30REGION_ALIAS ("REGION_FAST_TEXT_LOAD", WORK);
31REGION_ALIAS ("REGION_TEXT", WORK);
32REGION_ALIAS ("REGION_TEXT_LOAD", WORK);
33REGION_ALIAS ("REGION_RODATA", WORK);
34REGION_ALIAS ("REGION_RODATA_LOAD", WORK);
35REGION_ALIAS ("REGION_FAST_DATA", WORK);
36REGION_ALIAS ("REGION_FAST_DATA_LOAD", WORK);
37REGION_ALIAS ("REGION_DATA", WORK);
38REGION_ALIAS ("REGION_DATA_LOAD", WORK);
39REGION_ALIAS ("REGION_BSS", WORK);
40REGION_ALIAS ("REGION_RWEXTRA", WORK);
41REGION_ALIAS ("REGION_WORK", WORK);
42REGION_ALIAS ("REGION_STACK", WORK);
43REGION_ALIAS ("REGION_NOCACHE", EMPTY);
44REGION_ALIAS ("REGION_NOCACHE_LOAD", EMPTY);
45REGION_ALIAS ("REGION_NVRAM", EMPTY);
46
47INCLUDE linkcmds.base
Note: See TracBrowser for help on using the repository browser.