diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-02 15:25:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-02 15:25:24 +0000 |
commit | ac384b98f51462ac1c42b6e172bd99dbc1562dc4 (patch) | |
tree | ce1954a76be844a327d4905d7ffc6144584c35db | |
parent | Now correctly does deep copy. (diff) | |
download | rtems-ac384b98f51462ac1c42b6e172bd99dbc1562dc4.tar.bz2 |
Added more sections to pick up all of the new C++ sections.
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startup/linkcmds | 23 |
1 files 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 |