aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.ac
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-03-28 16:53:32 +1030
committerAlan Modra <amodra@gmail.com>2019-03-28 17:10:31 +1030
commit242a115951fe55e62036bac555017eb817ca1aa6 (patch)
treec7e676c00296cd37ed77da28fa4b43d43e835887 /bfd/configure.ac
parent96a86c01d119372f4af5aff2501d3104e6c1a8e3 (diff)
downloadgdb-242a115951fe55e62036bac555017eb817ca1aa6.zip
gdb-242a115951fe55e62036bac555017eb817ca1aa6.tar.gz
gdb-242a115951fe55e62036bac555017eb817ca1aa6.tar.bz2
PR24392, Clang warning Wtautological-constant-out-of-range-compare
PR 24392 * configure.ac: Invoke AC_CHECK_SIZEOF(int). * configure: Regenerate. * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic workaround with SIZEOF_LONG vs. SIZEOF_INT check. * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise. * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise. * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
Diffstat (limited to 'bfd/configure.ac')
-rw-r--r--bfd/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 5f02c41..4cd946d 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -189,6 +189,7 @@ AC_TYPE_LONG_DOUBLE
AC_CHECK_TYPES([long long], [AC_CHECK_SIZEOF(long long)])
AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(long)
+AC_CHECK_SIZEOF(int)
if test "x${ac_cv_sizeof_void_p}" = "x8"; then
host64=true