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/mvme147s/startup/linkcmds | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'c/src/lib/libbsp/m68k/mvme147s/startup/linkcmds') diff --git a/c/src/lib/libbsp/m68k/mvme147s/startup/linkcmds b/c/src/lib/libbsp/m68k/mvme147s/startup/linkcmds index 15c1ecf8e8..24b487fef3 100644 --- a/c/src/lib/libbsp/m68k/mvme147s/startup/linkcmds +++ b/c/src/lib/libbsp/m68k/mvme147s/startup/linkcmds @@ -33,6 +33,11 @@ SECTIONS *(.text) . = ALIGN (16); + *(.gnu.linkonce.t.*) + *(.descriptors) + /* .gnu.warning sections are handled specially by elf32.em. */ + *(.gnu.warning) + *(.eh_fram) . = ALIGN (16); @@ -49,6 +54,12 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; + + _rodata_start = . ; + *(.rodata) + *(.gnu.linkonce.r*) + _erodata = ALIGN( 0x10 ) ; + etext = ALIGN( 0x10 ) ; _etext = .; } @@ -57,6 +68,8 @@ SECTIONS data_start = . ; _data_start = .; *(.data) + *(.gnu.linkonce.d*) + *(.gcc_except_table) edata = ALIGN( 0x10 ) ; _edata = .; } -- cgit v1.2.3