[PATCH v6 09/20] elf: Add _dl_audit_pltexit

Florian Weimer fweimer@redhat.com
Fri Dec 17 17:43:50 GMT 2021


* Adhemerval Zanella:

> +#if (!ELF_MACHINE_NO_RELA && !defined ELF_MACHINE_PLT_REL) \
> +    || ELF_MACHINE_NO_REL
> +# define PLTREL  ElfW(Rela)
> +#else
> +# define PLTREL  ElfW(Rel)
> +#endif

Can you move this definition into some shared header, so that
elf/dl-runtime.c and elf/dl-audit.c can use a single definition?

I have looked at the actual _dl_audit_pltexit function introduction, and
it looks okay.  But I'd review this again as part of a repost, actually
applying the patch.

Thanks,
Florian



More information about the Libc-alpha mailing list