This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] IPA: Fix build problem on !HAVE_GETAUXVAL
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sun, 03 Apr 2016 12:58:45 -0400
- Subject: [binutils-gdb] IPA: Fix build problem on !HAVE_GETAUXVAL
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT d0a9981f372e636508b9a235017f2aba565e435d ***
Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: d0a9981f372e636508b9a235017f2aba565e435d
IPA: Fix build problem on !HAVE_GETAUXVAL
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.