Added more sections to pick up all of the new C++ sections.

This commit is contained in:
Joel Sherrill
1999-08-02 15:25:24 +00:00
parent bd5278665f
commit ac384b98f5

View File

@@ -94,9 +94,11 @@ SECTIONS
*(.text) *(.text)
. = ALIGN (16); . = ALIGN (16);
*(.eh_fram) *(.eh_frame)
. = ALIGN (16); . = ALIGN (16);
*(.gnu.linkonce.t*)
/* /*
* C++ constructors * C++ constructors
*/ */
@@ -110,18 +112,14 @@ SECTIONS
*(.dtors) *(.dtors)
LONG(0) LONG(0)
__DTOR_END__ = .; __DTOR_END__ = .;
_rodata_start = . ;
*(.rodata)
*(.gnu.linkonce.r*)
_erodata = ALIGN( 0x10 ) ;
etext = ALIGN(0x10); etext = ALIGN(0x10);
_etext = .; _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) *(.lit)
*(.shdata) *(.shdata)
_endtext = .; _endtext = .;
@@ -140,7 +138,8 @@ SECTIONS
_data_start = .; _data_start = .;
_sdata = . ; _sdata = . ;
*(.data) *(.data)
CONSTRUCTORS *(.gnu.linkonce.d*)
*(.gcc_except_table)
edata = ALIGN(0x10); edata = ALIGN(0x10);
_edata = .; _edata = .;
} > ram } > ram