Re: [PATCH] IPA: Fix build problem on !HAVE_GETAUXVAL

Ulrich Weigand
2016-04-03T16:26:50Z

> These files need AT_PHDR, which is defined in elf.h. If HAVE_GETAUXVAL
> is set, it's implicitely included by sys/auxv.h. Include it manually
> for the opposite case.
>
> gdb/gdbserver/ChangeLog:
>
> * linux-aarch64-ipa.c: Add <elf.h> include.
> * linux-ppc-ipa.c: Add <elf.h> include.
> * linux-s390-ipa.c: Add <elf.h> include.
> ---
> Here's a fix. Does that sound right?

This is OK.

Thanks,
Ulrich

--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com