summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/idp/startup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-06 18:04:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-06 18:04:34 +0000
commit01c36de4f23e7978cfde00d62436e0d3243e95c3 (patch)
treec6afda620ea72e8d5509a2a80bb1ead5e623b130 /c/src/lib/libbsp/m68k/idp/startup
parentAdded convert stanza to generate pdf version of figures from eps. (diff)
downloadrtems-01c36de4f23e7978cfde00d62436e0d3243e95c3.tar.bz2
Added more sections and made minor modifications to let the linkcmds
work with m68k-elf on late model versions of binutils (990901+) without overlapping or missing section errors.
Diffstat (limited to 'c/src/lib/libbsp/m68k/idp/startup')
-rw-r--r--c/src/lib/libbsp/m68k/idp/startup/linkcmds9
1 files changed, 5 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/m68k/idp/startup/linkcmds b/c/src/lib/libbsp/m68k/idp/startup/linkcmds
index d35d1d17ac..8ffdb3f40d 100644
--- a/c/src/lib/libbsp/m68k/idp/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/idp/startup/linkcmds
@@ -31,6 +31,9 @@ SECTIONS
*(.eh_fram)
. = ALIGN (16);
+ . = ALIGN (16);
+ *(.gcc_exc)
+
/*
* C++ constructors
*/
@@ -47,16 +50,14 @@ SECTIONS
etext = ALIGN( 0x10 ) ;
_etext = .;
}
- .data ADDR( .text ) + SIZEOF( .text ):
- {
+ .data : {
data_start = . ;
_data_start = .;
*(.data)
edata = ALIGN( 0x10 ) ;
_edata = .;
}
- .bss ADDR( .data ) + SIZEOF( .data ):
- {
+ .bss : {
bss_start = . ;
_bss_start = . ;
*(.bss)