This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix PR ada/23957


The enclosed change fixes PR ada/23957.  We need to call
assemble_external_libcall so that the personality function
is exported.

Ok for main?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2005-09-18  John David Anglin  <dave.anglin@nrc-cnrc.cg.ca>

	PR ada/23957
	* misc.c (gnat_init_gcc_eh): Call assemble_external_libcall.

Index: misc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/misc.c,v
retrieving revision 1.106
diff -u -3 -p -r1.106 misc.c
--- misc.c	4 Jul 2005 13:27:09 -0000	1.106
+++ misc.c	18 Sep 2005 22:40:30 -0000
@@ -462,6 +462,7 @@ gnat_init_gcc_eh (void)
   using_eh_for_cleanups ();
 
   eh_personality_libfunc = init_one_libfunc ("__gnat_eh_personality");
+  assemble_external_libcall (eh_personality_libfunc);
   lang_eh_type_covers = gnat_eh_type_covers;
   lang_eh_runtime_type = gnat_eh_runtime_type;
   default_init_unwind_resume_libfunc ();


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]