diff options
author | Alan Modra <amodra@gmail.com> | 2014-12-11 16:02:35 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-12-11 17:07:46 +1030 |
commit | 4c219c2e69bb66a5535645e2c83fafda1362acea (patch) | |
tree | 10dd7e49bfa50e1c721ee6b938330e0c9884960e /binutils/config.in | |
parent | 1b43a4392f2c979e77a9fef16877ec99b9cf26a3 (diff) | |
download | binutils-4c219c2e69bb66a5535645e2c83fafda1362acea.zip binutils-4c219c2e69bb66a5535645e2c83fafda1362acea.tar.gz binutils-4c219c2e69bb66a5535645e2c83fafda1362acea.tar.bz2 |
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.
Diffstat (limited to 'binutils/config.in')
-rw-r--r-- | binutils/config.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/config.in b/binutils/config.in index 076f514..a0ed034 100644 --- a/binutils/config.in +++ b/binutils/config.in @@ -108,6 +108,9 @@ /* Define to 1 if you have the <locale.h> header file. */ #undef HAVE_LOCALE_H +/* Define to 1 if the system has the type `long long'. */ +#undef HAVE_LONG_LONG + /* Define if mbstate_t exists in wchar.h. */ #undef HAVE_MBSTATE_T @@ -208,6 +211,12 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION +/* The size of `long', as computed by sizeof. */ +#undef SIZEOF_LONG + +/* The size of `long long', as computed by sizeof. */ +#undef SIZEOF_LONG_LONG + /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. |