public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* ARM EABI build fix
@ 2008-08-28 15:25 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-08-28 15:25 UTC (permalink / raw)
  To: libstdc++; +Cc: gcc-patches

ARM EABI libstdc++ builds fail with an undefined reference to 
__gxx_get_object_from_ambiguous_exception.  I guess this function got renamed 
to __get_object_from_ambiguous_exception somewhere along the way, and the ARM 
EABI implementation of __cxa_call_unexpected didn't get updated.

Patch below fixes this.
Tested on arm-none-eabi.
Applied as obvious to svn trunk.

Paul

2008-08-27  Paul Brook  <paul@codesourcery.com>

	* libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
	__get_object_from_ambiguous_exception.

Index: libstdc++-v3/libsupc++/eh_call.cc
===================================================================
--- libstdc++-v3/libsupc++/eh_call.cc	(revision 139624)
+++ libstdc++-v3/libsupc++/eh_call.cc	(working copy)
@@ -125,7 +125,7 @@ __cxa_call_unexpected(void* exc_obj_in)
 
       __cxa_eh_globals* globals = __cxa_get_globals_fast();
       __cxa_exception* new_xh = globals->caughtExceptions;
-      void* new_ptr = __gxx_get_object_from_ambiguous_exception (new_xh);
+      void* new_ptr = __get_object_from_ambiguous_exception (new_xh);
       const std::type_info* catch_type;
       int n;
       bool bad_exception_allowed = false;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-27 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-28 15:25 ARM EABI build fix Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).