Use autoconf check for long long in binutils
authorAlan Modra <amodra@gmail.com>
Thu, 11 Dec 2014 05:32:35 +0000 (16:02 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 11 Dec 2014 06:37:46 +0000 (17:07 +1030)
commit4c219c2e69bb66a5535645e2c83fafda1362acea
tree10dd7e49bfa50e1c721ee6b938330e0c9884960e
parent1b43a4392f2c979e77a9fef16877ec99b9cf26a3
Use autoconf check for long long in binutils

Also fix a place where %lld was wrongly used to print a dwarf_vma.

* configure.ac: Check for long long and sizes of long long and long.
* elfcomm.h (HOST_WIDEST_INT): Test HAVE_LONG_LONG in place of
__STDC_VERSION__ and __GNUC__.
* strings.c (print_strings): Likewise.
* dwarf.c (DWARF_VMA_FMT, DWARF_VMA_FMT_LONG): Likewise.
(read_debug_line_header): Use dwarf_vmatoa to print warning.
* configure: Regenerate.
* config.in: Regenerate.
binutils/ChangeLog
binutils/config.in
binutils/configure
binutils/configure.ac
binutils/dwarf.c
binutils/elfcomm.h
binutils/strings.c