From 01c36de4f23e7978cfde00d62436e0d3243e95c3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 6 Oct 1999 18:04:34 +0000 Subject: 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. --- c/src/lib/libbsp/m68k/gen68360/startup/linkcmds | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'c/src/lib/libbsp/m68k/gen68360/startup/linkcmds') 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 = .; -- cgit v1.2.3