summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
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/gen68360/startup/linkcmds
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/gen68360/startup/linkcmds')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/linkcmds13
1 files changed, 13 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
index 132eafa35d..9d0899b5af 100644
--- a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
@@ -57,9 +57,15 @@ SECTIONS {
*(.text)
. = ALIGN (16);
+ *(.gnu.linkonce.t.*)
+ *(.descriptors)
+ /* .gnu.warning sections are handled specially by elf32.em. */
+ *(.gnu.warning)
+
*(.eh_fram)
. = ALIGN (16);
+ *(.gcc_exc)
/*
* C++ constructors
*/
@@ -74,12 +80,19 @@ SECTIONS {
LONG(0)
__DTOR_END__ = .;
+ _rodata_start = . ;
+ *(.rodata)
+ *(.gnu.linkonce.r*)
+ _erodata = ALIGN( 0x10 ) ;
+
etext = .;
_etext = .;
} >ram
.data : {
copy_start = .;
*(.data)
+ *(.gnu.linkonce.d*)
+ *(.gcc_except_table)
. = ALIGN (16);
_edata = .;
copy_end = .;