[PATCH 2/4] libgcc: Remove dbase member from struct unw_eh_callback_data if NULL

Jakub Jelinek jakub@redhat.com
Thu Nov 18 14:33:22 GMT 2021

On Wed, Nov 03, 2021 at 05:28:41PM +0100, Florian Weimer wrote:
> Only i386 and nios2 need this member at present.

Only i386, nios2, frv and bfin to be precise.

> libgcc/ChangeLog
> 	* unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
> 	(struct unw_eh_callback_data): Make dbase member conditional.
> 	(unw_eh_callback_data_dbase): New function.
> 	(base_from_cb_data): Simplify for the non-dbase case.
> 	(_Unwind_IteratePhdrCallback): Adjust.
> 	(_Unwind_Find_FDE): Likewise.



More information about the Gcc-patches mailing list