From add0545d820f261e9969c650908c79aeeafe3e17 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 6 Oct 1999 18:05:39 +0000 Subject: Added sections as required by C++ and ELF. --- c/src/lib/libbsp/powerpc/score603e/startup/linkcmds | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/score603e') diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds b/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds index 9b452bc0c0..b3e5b6231b 100644 --- a/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds @@ -53,13 +53,14 @@ SECTIONS .text : { *(.text) + *(.gnu.linkonce.t.*) *(.descriptors) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) } >RAM .init : { *(.init) } >RAM .fini : { *(.fini) } >RAM - .rodata : { *(.rodata) } >RAM + .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM .rodata1 : { *(.rodata1) } >RAM _etext = .; PROVIDE (etext = .); @@ -86,6 +87,7 @@ SECTIONS .data : { *(.data) + *(.gnu.linkonce.d.*) CONSTRUCTORS } >RAM PROVIDE (__EXCEPT_START__ = .); -- cgit v1.2.3