From a863c500ccbc6bc222ccd7a6424712b6eafb9215 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 18 May 1998 14:41:15 +0000 Subject: Updates from Pedro Romano. --- c/src/lib/libbsp/i386/pc386/startup/linkcmds | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'c/src/lib/libbsp/i386/pc386/startup/linkcmds') diff --git a/c/src/lib/libbsp/i386/pc386/startup/linkcmds b/c/src/lib/libbsp/i386/pc386/startup/linkcmds index 1e0dcc57ff..f66952b04c 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/linkcmds +++ b/c/src/lib/libbsp/i386/pc386/startup/linkcmds @@ -41,9 +41,11 @@ SECTIONS *(.text) . = ALIGN (16); - *(.eh_fram) + *(.eh_frame) . = ALIGN (16); + *(.gnu.linkonce.t*) + /* * C++ constructors */ @@ -57,20 +59,22 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; - _etext = ALIGN( 0x10 ) ; - } - .rodata ADDR( .text ) + SIZEOF( .text ): - { + _rodata_start = . ; *(.rodata) _erodata = ALIGN( 0x10 ) ; + + _etext = ALIGN( 0x10 ) ; } - .data ADDR( .rodata ) + SIZEOF( .rodata ): + .data ADDR( .text ) + SIZEOF( .text ): { _data_start = . ; *(.data) + *(.gnu.linkonce.d*) + *(.gcc_except_table) _edata = ALIGN( 0x10 ) ; } + .bss ADDR( .data ) + SIZEOF( .data ): { _bss_start = . ; -- cgit v1.2.3