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/dmv177/startup/linkcmds | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/dmv177') diff --git a/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds b/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds index 52e379d8a4..e0059e0e7c 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds @@ -48,13 +48,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 = .); @@ -81,6 +82,7 @@ SECTIONS .data : { *(.data) + *(.gnu.linkonce.d.*) CONSTRUCTORS } >RAM PROVIDE (__EXCEPT_START__ = .); -- cgit v1.2.3