diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-18 14:41:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-18 14:41:15 +0000 |
commit | a863c500ccbc6bc222ccd7a6424712b6eafb9215 (patch) | |
tree | cc5d119a40a470576670ebfb38e68b5c507ced81 /c/src/lib/libbsp/i386/pc386 | |
parent | New file. (diff) | |
download | rtems-a863c500ccbc6bc222ccd7a6424712b6eafb9215.tar.bz2 |
Updates from Pedro Romano.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/startup/linkcmds | 16 |
1 files changed, 10 insertions, 6 deletions
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 = . ; |