summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-05 18:34:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-05 18:34:15 +0000
commit7c9cca11a00226f254f711fbded5e5bf683c5b69 (patch)
treeacf4d0b30a63e716c9813047fef6d73bb93288db /c/src/lib/libbsp/m68k/dmv152/startup/linkcmds
parentPatch from Wayne Bullaughey <wayne@wmi.com>. Comments follow: (diff)
downloadrtems-7c9cca11a00226f254f711fbded5e5bf683c5b69.tar.bz2
Modified to remove error for overlapping sections now that
gnu.linkonce* sections are included.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/dmv152/startup/linkcmds46
1 files changed, 19 insertions, 27 deletions
diff --git a/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds b/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds
index 495e08161f..21988bd280 100644
--- a/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds
@@ -32,6 +32,9 @@ SECTIONS
*(.eh_fram)
. = ALIGN (16);
+ . = ALIGN (16);
+ *(.gcc_exc)
+
/*
* C++ constructors
*/
@@ -49,34 +52,23 @@ SECTIONS
_etext = .;
}
- .eh_fram : {
- . = ALIGN (16);
- *(.eh_fram)
- }
-
- .gcc_exc : {
- . = ALIGN (16);
- *(.gcc_exc)
- } >ram
- .data ADDR( .text ) + SIZEOF( .text ):
- {
- data_start = . ;
- _data_start = . ;
- *(.data)
- edata = ALIGN( 0x10 ) ;
- _edata = .;
+ .data : {
+ data_start = . ;
+ _data_start = . ;
+ *(.data)
+ edata = ALIGN( 0x10 ) ;
+ _edata = .;
}
- .bss ADDR( .data ) + SIZEOF( .data ):
- {
- bss_start = . ;
- _bss_start = . ;
- *(.bss)
- *(COMMON)
- . += StackSize; /* XXX -- Old gld can't handle this */
- . = ALIGN (16);
- stack_init = .;
- end = . ;
- _end = . ;
+ .bss : {
+ bss_start = . ;
+ _bss_start = . ;
+ *(.bss)
+ *(COMMON)
+ . += StackSize; /* XXX -- Old gld can't handle this */
+ . = ALIGN (16);
+ stack_init = .;
+ end = . ;
+ _end = . ;
}
}