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/ppcn_60x/startup/linkcmds | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/ppcn_60x') diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds index 7f4f3cf330..31077da013 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds @@ -44,13 +44,14 @@ SECTIONS .text : { *(.text) + *(.gnu.linkonce.t.*) *(.descriptors) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) } =0 .init : { *(.init) } =0 .fini : { *(.fini) } =0 - .rodata : { *(.rodata) } + .rodata : { *(.rodata) *(.gnu.linkonce.r*) } .rodata1 : { *(.rodata1) } _etext = .; PROVIDE (etext = .); @@ -78,6 +79,7 @@ SECTIONS .data : { *(.data) + *(.gnu.linkonce.d.*) CONSTRUCTORS } PROVIDE (__EXCEPT_START__ = .); -- cgit v1.2.3