Back to index

glibc  2.9
unwind-dw2-fde-glibc.c
Go to the documentation of this file.
00001 /* Dummy exception handling and frame unwind runtime interface routines.
00002    Copyright (C) 2004 Free Software Foundation, Inc.
00003 
00004    This file is part of the GNU C Library.
00005 
00006    The GNU C Library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Lesser General Public
00008    License as published by the Free Software Foundation; either
00009    version 2.1 of the License, or (at your option) any later version.
00010 
00011    The GNU C Library is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014    Lesser General Public License for more details.
00015 
00016    You should have received a copy of the GNU Lesser General Public
00017    License along with the GNU C Library; if not, write to the Free
00018    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00019    02111-1307 USA.  */
00020 
00021 /* ARM uses setjmp-longjmp exceptions.  However, previous versions of
00022    GNU libc exported some DWARF-2 exception handling support routines.
00023    They are not necessary, but older (or broken) configurations of GCC
00024    will do so.  Even though all references to these are weak, because
00025    they refer to versioned symbols, they must be provided.  */
00026 
00027 #include <stdlib.h>
00028 #include <unwind.h>
00029 #include <unwind-dw2-fde.h>
00030 
00031 /* These may be called from startup code, but don't need to do
00032    anything.  */
00033 
00034 void __register_frame_info_bases (void *a1, struct object *a2,
00035                               void *a3, void *a4)
00036 {
00037 }
00038 
00039 void __register_frame_info (void *a1, struct object *a2)
00040 {
00041 }
00042 
00043 void __register_frame (void *a1)
00044 {
00045 }
00046 
00047 void __register_frame_info_table_bases (void *a1, struct object *a2,
00048                                    void *a3, void *a4)
00049 {
00050 }
00051 
00052 void __register_frame_info_table (void *a1, struct object *a2)
00053 {
00054 }
00055 
00056 void __register_frame_table (void *a1)
00057 {
00058 }
00059 
00060 void *__deregister_frame_info (void *a1)
00061 {
00062   return NULL;
00063 }
00064 
00065 void *__deregister_frame_info_bases (void *a1)
00066 {
00067   return NULL;
00068 }
00069 
00070 void __deregister_frame (void *a1)
00071 {
00072 }
00073 
00074 /* This should not be called.  */
00075 
00076 fde *
00077 _Unwind_Find_FDE (void *a1, struct dwarf_eh_bases *a2)
00078 {
00079   abort ();
00080 }