From b8c98837559029b807fc80b54d170b2c3184df1f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 13 Jan 2000 20:45:07 +0000 Subject: All m68k BSPs now build with new ELF style linkcmds. --- c/src/lib/libbsp/m68k/efi68k/startup/linkcmds | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'c/src/lib/libbsp/m68k/efi68k/startup/linkcmds') diff --git a/c/src/lib/libbsp/m68k/efi68k/startup/linkcmds b/c/src/lib/libbsp/m68k/efi68k/startup/linkcmds index 775c84d955..c174c3f4c8 100644 --- a/c/src/lib/libbsp/m68k/efi68k/startup/linkcmds +++ b/c/src/lib/libbsp/m68k/efi68k/startup/linkcmds @@ -42,6 +42,9 @@ MEMORY ram : ORIGIN = 0x203000, LENGTH = 256K } +_RamBase = 0x200000; +_RamSize = 256K; + _VBR = 0x200000; /* location of the VBR table (in RAM) */ __end_of_ram = 0x240000; _copy_data_from_rom = 0; @@ -49,8 +52,8 @@ _copy_data_from_rom = 0; /* * Declare some sizes. */ -HeapSize = DEFINED(HeapSize) ? HeapSize : 0x10000; -StackSize = DEFINED(StackSize) ? StackSize : 0x1000; +_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000; +_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000; /* * stick everything in ram (of course) @@ -144,22 +147,17 @@ SECTIONS PROVIDE (_copy_end = .); } >ram .bss : { - PROVIDE (_clear_start = .); + _clear_start = .; *(.bss) *(COMMON) . = ALIGN (16); PROVIDE (end = .); - . += StackSize; - PROVIDE (_stack_init = .); - + . += _StackSize; . = ALIGN (16); - PROVIDE (_HeapStart = .); - . += HeapSize; - PROVIDE (_HeapEnd = .); - - PROVIDE (_clear_end = .); + _stack_init = .; + _clear_end = .; - PROVIDE (_WorkspaceBase = .); + _WorkspaceBase = .; } >ram } -- cgit v1.2.3