mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-26 03:18:58 +08:00
bsp/mvme147*: Fix linker issue
The GNU linker does not allow a nonconstant expression for a region length.
This commit is contained in:
@@ -16,12 +16,10 @@
|
||||
* May 1996
|
||||
*/
|
||||
|
||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||
|
||||
MEMORY
|
||||
{
|
||||
bootrom_reserved : ORIGIN = 0x00000000, LENGTH = 0x5000
|
||||
ram : ORIGIN = 0x00005000, LENGTH = RamSize - 0x5000
|
||||
ram : ORIGIN = 0x00005000, LENGTH = 4M - 0x5000
|
||||
}
|
||||
|
||||
REGION_ALIAS ("REGION_TEXT", ram);
|
||||
|
||||
@@ -16,12 +16,10 @@
|
||||
* May 1996
|
||||
*/
|
||||
|
||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||
|
||||
MEMORY
|
||||
{
|
||||
bootrom_reserved : ORIGIN = 0x00000000, LENGTH = 0x7000
|
||||
ram : ORIGIN = 0x00007000, LENGTH = RamSize - 0x7000
|
||||
ram : ORIGIN = 0x00007000, LENGTH = 4M - 0x7000
|
||||
}
|
||||
|
||||
REGION_ALIAS ("REGION_TEXT", ram);
|
||||
|
||||
Reference in New Issue
Block a user