This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] IPA: Fix build problem on !HAVE_GETAUXVAL
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: koriakin at 0x04 dot net (Marcin KoÅcielnicki)
- Cc: gdb-patches at sourceware dot org, koriakin at 0x04 dot net (Marcin KoÅcielnicki)
- Date: Sun, 3 Apr 2016 18:20:29 +0200 (CEST)
- Subject: Re: [PATCH] IPA: Fix build problem on !HAVE_GETAUXVAL
- Authentication-results: sourceware.org; auth=none
> 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