summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-03-30 17:27:43 -0700
committerJosh Gao <jmgao@google.com>2016-03-31 11:41:23 -0700
commit35ee6839e1be1664809f4c691a80e09ab1661c1b (patch)
tree182fce95b23c0238212684634477e12c3fc8b3ef
parentc2884b7c65dc55af6754a1bc18761d21c39948fe (diff)
downloadgdb-35ee6839e1be1664809f4c691a80e09ab1661c1b.tar.gz
Remove gdb hack.
Change-Id: I4b5ba65af700126048ef0dfa802c08db4ef66031
-rwxr-xr-xgdb-7.11/gdb/gdbserver/configure18
1 files changed, 1 insertions, 17 deletions
diff --git a/gdb-7.11/gdb/gdbserver/configure b/gdb-7.11/gdb/gdbserver/configure
index bb01922c2..095f0ddf8 100755
--- a/gdb-7.11/gdb/gdbserver/configure
+++ b/gdb-7.11/gdb/gdbserver/configure
@@ -6734,20 +6734,7 @@ _ACEOF
fi
-case "${target}" in
- *-android*)
- # Starting with NDK version 9, <elf.h> actually includes definitions
- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes
- # <sys/exec_elf.h> which defines some of the ELF types incorrectly,
- # leading to conflicts with the defintions from <linux/elf.h>.
- # This makes it impossible for us to include both <elf.h> and
- # <linux/elf.h>, which means that, in practice, we do not have
- # access to Elf32_auxv_t and Elf64_auxv_t on this platform.
- # Therefore, do not try to auto-detect availability, as it would
- # get it wrong on this platform.
- ;;
- *)
- ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
+ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
"
if test "x$ac_cv_type_Elf32_auxv_t" = x""yes; then :
@@ -6770,9 +6757,6 @@ _ACEOF
fi
-esac
-
-
# Check whether --with-pkgversion was given.
if test "${with_pkgversion+set}" = set; then :