summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2-fde-glibc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/unwind-dw2-fde-glibc.c')
-rw-r--r--gcc/unwind-dw2-fde-glibc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/unwind-dw2-fde-glibc.c b/gcc/unwind-dw2-fde-glibc.c
index fbd4291f944..71fbf6144da 100644
--- a/gcc/unwind-dw2-fde-glibc.c
+++ b/gcc/unwind-dw2-fde-glibc.c
@@ -52,7 +52,7 @@
&& (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
-static fde * _Unwind_Find_registered_FDE (void *pc, struct dwarf_eh_bases *bases);
+static const fde * _Unwind_Find_registered_FDE (void *pc, struct dwarf_eh_bases *bases);
#define _Unwind_Find_FDE _Unwind_Find_registered_FDE
#include "unwind-dw2-fde.c"
@@ -68,7 +68,7 @@ struct unw_eh_callback_data
void *tbase;
void *dbase;
void *func;
- fde *ret;
+ const fde *ret;
};
struct unw_eh_frame_hdr
@@ -261,11 +261,11 @@ _Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
return 1;
}
-fde *
+const fde *
_Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
{
struct unw_eh_callback_data data;
- fde *ret;
+ const fde *ret;
ret = _Unwind_Find_registered_FDE (pc, bases);
if (ret != NULL)