From 58909199a29aa805417d71c89f09bdeb660bfc94 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 13 Jan 2000 22:11:35 +0000 Subject: Updated files missed in earlier batch from Eric Norum. --- .../libbsp/m68k/gen68360/startup/linkcmds.bootp | 22 +++++++++------------- .../lib/libbsp/m68k/gen68360/startup/linkcmds.prom | 22 +++++++++------------- 2 files changed, 18 insertions(+), 26 deletions(-) diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.bootp b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.bootp index 9b247306b2..74e339717b 100644 --- a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.bootp +++ b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.bootp @@ -17,8 +17,9 @@ /* * Declare some sizes. + * A heap size of 0 means `use all available memory for the heap'. */ -_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000; +_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0; _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000; /* @@ -101,30 +102,27 @@ SECTIONS { PROVIDE (etext = .); } >rom .data : AT(SIZEOF(.text)) { - copy_start = .; + _copy_start = .; *(.data) *(.gnu.linkonce.d*) *(.gcc_except_table) . = ALIGN (16); - PROVIDE (_edata = .); - copy_end = .; + PROVIDE (edata = .); + _copy_end = .; } >myram .bss : { M68Kvec = .; - _M68Kvec = .; . += (256 * 4); - clear_start = .; + _clear_start = .; *(.bss) *(COMMON) . = ALIGN (16); - _end = .; + PROVIDE (end = .); - _HeapStart = .; - . += _HeapSize; . += _StackSize; . = ALIGN (16); - stack_init = .; - clear_end = .; + _stack_init = .; + _clear_end = .; _WorkspaceBase = .; } >myram @@ -134,8 +132,6 @@ SECTIONS { */ dpram : { m360 = .; - _m360 = .; . += (8 * 1024); - } >dpram } diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.prom b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.prom index f88fc609fe..39ab48d096 100644 --- a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.prom +++ b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.prom @@ -17,8 +17,9 @@ /* * Declare some sizes. + * A heap size of 0 means `use all available memory for the heap'. */ -_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000; +_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0; _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000; /* @@ -100,30 +101,27 @@ SECTIONS { PROVIDE (etext = .); } >rom .data : AT(SIZEOF(.text)) { - copy_start = .; + _copy_start = .; *(.data) *(.gnu.linkonce.d*) *(.gcc_except_table) . = ALIGN (16); - PROVIDE (_edata = .); - copy_end = .; + PROVIDE (edata = .); + _copy_end = .; } >ram .bss : { M68Kvec = .; - _M68Kvec = .; . += (256 * 4); - clear_start = .; + _clear_start = .; *(.bss) *(COMMON) . = ALIGN (16); - _end = .; + PROVIDE (end = .); - _HeapStart = .; - . += _HeapSize; . += _StackSize; . = ALIGN (16); - stack_init = .; - clear_end = .; + _stack_init = .; + _clear_end = .; _WorkspaceBase = .; } >ram @@ -133,8 +131,6 @@ SECTIONS { */ dpram : { m360 = .; - _m360 = .; . += (8 * 1024); - } >dpram } -- cgit v1.2.3