0001-debugedit-Add-support-for-loongarch
Mark Wielaard
mark@klomp.org
Thu Jan 12 14:48:56 GMT 2023
Hi daifan,
On Tue, 2023-01-10 at 06:21 +0000, 代凡 wrote:
> diff --git a/tools/debugedit.c b/tools/debugedit.c
> index 9cb5775..b3422d7 100644
> --- a/tools/debugedit.c
> +++ b/tools/debugedit.c
> @@ -612,6 +612,12 @@ setup_relbuf (DSO *dso, debug_section *sec, int
> *reltype)
> if (rtype != R_E2K_32_ABS)
> goto fail;
> break;
> +#endif
> +#if defined(EM_LOONGARCH) && defined(R_LARCH_32)
> + case EM_LOONGARCH:
> + if (rtype != R_LARCH_32)
> + goto fail;
> + break;
> #endif
Thanks, that looks good. Pushed.
Cheers,
Mark
More information about the Debugedit
mailing list