From ac384b98f51462ac1c42b6e172bd99dbc1562dc4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 2 Aug 1999 15:25:24 +0000 Subject: Added more sections to pick up all of the new C++ sections. --- c/src/lib/libbsp/sparc/erc32/startup/linkcmds | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/c/src/lib/libbsp/sparc/erc32/startup/linkcmds b/c/src/lib/libbsp/sparc/erc32/startup/linkcmds index facb735fa9..46c989888c 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/linkcmds +++ b/c/src/lib/libbsp/sparc/erc32/startup/linkcmds @@ -94,9 +94,11 @@ SECTIONS *(.text) . = ALIGN (16); - *(.eh_fram) + *(.eh_frame) . = ALIGN (16); + *(.gnu.linkonce.t*) + /* * C++ constructors */ @@ -110,18 +112,14 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; + + _rodata_start = . ; + *(.rodata) + *(.gnu.linkonce.r*) + _erodata = ALIGN( 0x10 ) ; + etext = ALIGN(0x10); _etext = .; - __CTOR_LIST__ = .; - LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) - *(.ctors) - LONG(0) - __CTOR_END__ = .; - __DTOR_LIST__ = .; - LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) - *(.dtors) - LONG(0) - __DTOR_END__ = .; *(.lit) *(.shdata) _endtext = .; @@ -140,7 +138,8 @@ SECTIONS _data_start = .; _sdata = . ; *(.data) - CONSTRUCTORS + *(.gnu.linkonce.d*) + *(.gcc_except_table) edata = ALIGN(0x10); _edata = .; } > ram -- cgit v1.2.3