summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-13 22:11:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-13 22:11:35 +0000
commit58909199a29aa805417d71c89f09bdeb660bfc94 (patch)
treed0b5f88726eb4644416b578641b4cfba4d101eff /c/src/lib/libbsp/m68k
parentFixed warnings. (diff)
downloadrtems-58909199a29aa805417d71c89f09bdeb660bfc94.tar.bz2
Updated files missed in earlier batch from Eric Norum.
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.bootp22
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/linkcmds.prom22
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
}