Get rid of BFD_VMA_FMT

Remove the BFD_VMA_FMT defines in bfd.h and configure support.

	* bfd-in.h (BFD_VMA_FMT): Don't define.
	* configure.ac (BFD_INT64_FMT): Remove configure test.
	* configure.com: Likewise.
	* Makefile.in: Regenerate.
	* bfd-in2.h: Regenerate.
	* configure: Regenerate.
This commit is contained in:
Alan Modra
2022-08-04 12:49:03 +09:30
parent 29136be7df
commit 4900c4e60c
6 changed files with 2 additions and 69 deletions

View File

@ -248,18 +248,6 @@ if test $bfd_cv_hidden = yes; then
[Define if your compiler supports hidden visibility.])
fi
AC_CACHE_CHECK([printf int64_t format], [bfd_cv_int64_fmt],
for style in I64 ll l; do
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#define __STDC_FORMAT_MACROS 1
#include <stdio.h>
#include <inttypes.h>
extern char PRId64_probe[sizeof PRId64 == sizeof "${style}d" ? 1 : -1];
]])], [bfd_cv_int64_fmt=${style}], [])]
done)
BFD_INT64_FMT=\"$bfd_cv_int64_fmt\"
AC_SUBST(BFD_INT64_FMT)
# Check if linker supports --as-needed and --no-as-needed options
AC_CACHE_CHECK(linker --as-needed support, bfd_cv_ld_as_needed,
[bfd_cv_ld_as_needed=no