From 8e0dcadec548ebd6d2f581c3bcc46d70e147a793 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 15 Jun 1999 22:01:04 +0000 Subject: Patch from Rosimildo DaSilva to make C++ exceptions work on the pc386 BSP with i386-elf. This patch also included changes to the i386-rtemself egcs configuration. --- c/src/lib/libbsp/i386/pc386/bsp_specs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/i386/pc386/bsp_specs') diff --git a/c/src/lib/libbsp/i386/pc386/bsp_specs b/c/src/lib/libbsp/i386/pc386/bsp_specs index 61dac86b53..4411a8f01d 100644 --- a/c/src/lib/libbsp/i386/pc386/bsp_specs +++ b/c/src/lib/libbsp/i386/pc386/bsp_specs @@ -7,6 +7,9 @@ *cpp: %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded) +*endfile: +crtend.o%s crtn.o%s + *lib: %{!qrtems: %(old_lib)} %{qrtems: --start-group \ %{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \ @@ -15,7 +18,7 @@ *startfile: %{!qrtems: %(old_startfile)} %{qrtems: \ -%{!qrtems_debug: start.o%s} \ +%{!qrtems_debug: start.o%s crti.o%s crtbegin.o%s} \ %{qrtems_debug: start_g.o%s}} *link: -- cgit v1.2.3