[PATCH v3 3/9] s390: Refactor ifunc resolvers due to false debuginfo.
Florian Weimer
fweimer@redhat.com
Tue Aug 30 12:31:00 GMT 2016
On 08/24/2016 04:04 PM, Stefan Liebler wrote:
> #if defined SHARED && IS_IN (libc)
> +# define mempcpy __redirect_mempcpy
> +# define __mempcpy __redirect___mempcpy
> +/* Omit the mempcpy inline definitions because it would redefine mempcpy. */
> +# define _HAVE_STRING_ARCH_mempcpy 1
> +# include <string.h>
> +# undef mempcpy
> +# undef __mempcpy
> # include <ifunc-resolve.h>
The long-term maintainability of such #define trickery still concerns
me. What would be needed to avoid that?
(This obviously shouldn't be part of this patch sequence, I'm just curious.)
Thanks,
Florian
More information about the Libc-alpha
mailing list