diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-09-30 17:27:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-09-30 17:27:57 +0000 |
commit | 4ca5bd8b9381f8720af1c356b40d0cc4c4dcc126 (patch) | |
tree | 2db005a68296e028f17ab00a42077d3e30c12f9a /c/src/lib/libbsp/powerpc/psim/startup/linkcmds | |
parent | Patch from Ian Lance Taylor <ian@airs.com>: (diff) | |
download | rtems-4ca5bd8b9381f8720af1c356b40d0cc4c4dcc126.tar.bz2 |
Changed based on patch from pc386 linkcmds from Ian Lance Taylor
<ian@airs.com>:
The pc386 linker scripts omits .gnu.linkonce.r* sections. It's not a
big deal, but they should be treated like .rodata sections. ELF
versions of g++ generate them for static constants defined in template
classes, such as string::npos.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/linkcmds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index 72a18c487a..61b61bf5c0 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -65,7 +65,7 @@ SECTIONS } >RAM .init : { *(.init) } >RAM .fini : { *(.fini) } >RAM - .rodata : { *(.rodata) } >RAM + .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM .rodata1 : { *(.rodata1) } >RAM _etext = .; PROVIDE (etext = .); |