summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-15 22:01:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-15 22:01:04 +0000
commit8e0dcadec548ebd6d2f581c3bcc46d70e147a793 (patch)
tree829cbc25e454a3c3a5109688f3210f29b5c680ca /c/src/lib/libbsp/i386/pc386/startup/linkcmds
parentDirectives -> services. (diff)
downloadrtems-8e0dcadec548ebd6d2f581c3bcc46d70e147a793.tar.bz2
Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to make C++
exceptions work on the pc386 BSP with i386-elf. This patch also included changes to the i386-rtemself egcs configuration.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/startup/linkcmds')
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/linkcmds7
1 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/linkcmds b/c/src/lib/libbsp/i386/pc386/startup/linkcmds
index 5dd7a675a3..712c5cfae4 100644
--- a/c/src/lib/libbsp/i386/pc386/startup/linkcmds
+++ b/c/src/lib/libbsp/i386/pc386/startup/linkcmds
@@ -67,7 +67,12 @@ SECTIONS
_etext = ALIGN( 0x10 ) ;
}
- .data ADDR( .text ) + SIZEOF( .text ):
+ .init :
+ { *( .init ) } = 0x9090
+ .fini :
+ { *( .fini ) } = 0x9090
+
+ .data ADDR( .fini ) + SIZEOF( .fini ):
{
_data_start = . ;
*(.data)