public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] Update declarations of _Unwind_FindFDE in unwind-dw2-fde-dip.c
@ 2022-02-28 12:08 Matthew Malcomson
0 siblings, 0 replies; only message in thread
From: Matthew Malcomson @ 2022-02-28 12:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a1797c08748cd2b762d24532e49db6a3d980bc74
commit a1797c08748cd2b762d24532e49db6a3d980bc74
Author: Matthew Malcomson <matthew.malcomson@arm.com>
Date: Tue Dec 14 09:31:20 2021 +0000
Update declarations of _Unwind_FindFDE in unwind-dw2-fde-dip.c
This file is used when compiling for linux but not when compiling for
bare-metal. Hence I did not notice the compilation errors.
Fixing them as we come across them now.
Diff:
---
libgcc/unwind-dw2-fde-dip.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c
index 31fb1548005..9f88267f675 100644
--- a/libgcc/unwind-dw2-fde-dip.c
+++ b/libgcc/unwind-dw2-fde-dip.c
@@ -90,7 +90,7 @@
# define __RELOC_POINTER(ptr, base) ((ptr) + (base))
#endif
-static const fde * _Unwind_Find_registered_FDE (void *pc, struct dwarf_eh_bases *bases);
+static const fde * _Unwind_Find_registered_FDE (_Unwind_Address pc, struct dwarf_eh_bases *bases);
#define _Unwind_Find_FDE _Unwind_Find_registered_FDE
#include "unwind-dw2-fde.c"
@@ -451,7 +451,7 @@ _Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
}
const fde *
-_Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
+_Unwind_Find_FDE (_Unwind_Address pc, struct dwarf_eh_bases *bases)
{
struct unw_eh_callback_data data;
const fde *ret;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-28 12:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28 12:08 [gcc(refs/vendors/ARM/heads/morello)] Update declarations of _Unwind_FindFDE in unwind-dw2-fde-dip.c Matthew Malcomson
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).