Line 6... |
Line 6... |
AC_CONFIG_SRCDIR([libbfd.c])
|
AC_CONFIG_SRCDIR([libbfd.c])
|
|
|
AC_CANONICAL_TARGET
|
AC_CANONICAL_TARGET
|
AC_ISC_POSIX
|
AC_ISC_POSIX
|
|
|
AM_INIT_AUTOMAKE(bfd, 2.18.50)
|
AM_INIT_AUTOMAKE(bfd, 2.20.1)
|
|
|
dnl These must be called before AM_PROG_LIBTOOL, because it may want
|
dnl These must be called before LT_INIT, because it may want
|
dnl to call AC_CHECK_PROG.
|
dnl to call AC_CHECK_PROG.
|
AC_CHECK_TOOL(AR, ar)
|
AC_CHECK_TOOL(AR, ar)
|
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
|
|
dnl Default to a non shared library. This may be overridden by the
|
dnl Default to a non shared library. This may be overridden by the
|
dnl configure option --enable-shared.
|
dnl configure option --enable-shared.
|
AM_DISABLE_SHARED
|
AC_DISABLE_SHARED
|
|
|
AC_PROG_CC
|
AC_PROG_CC
|
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
|
AC_USE_SYSTEM_EXTENSIONS
|
|
|
AC_PROG_LIBTOOL
|
LT_INIT([dlopen])
|
|
|
|
AC_PLUGINS
|
|
|
|
AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes")
|
|
|
|
if test "$plugins" = "yes"; then
|
|
if test "$enable_dlopen" != "yes" ; then
|
|
AC_MSG_ERROR([
|
|
Building BFD with plugin support requires a host that supports -ldl.])
|
|
fi
|
|
enable_targets="$enable_targets plugin"
|
|
fi
|
|
|
|
case "${target}" in
|
|
changequote(,)dnl
|
|
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
|
changequote([,])dnl
|
|
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
|
# are mutually exclusive; and without procfs support, the elf module
|
|
# cannot provide certain routines such as elfcore_write_prpsinfo
|
|
# or elfcore_write_prstatus. So unless the user explicitly requested
|
|
# large-file support through the --enable-largefile switch, disable
|
|
# large-file support in favor of procfs support.
|
|
if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
|
|
if test "$plugins" = "no"; then
|
|
enable_largefile="no"
|
|
fi
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
AC_SYS_LARGEFILE
|
|
|
AC_ARG_ENABLE(64-bit-bfd,
|
AC_ARG_ENABLE(64-bit-bfd,
|
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
|
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
|
[case "${enableval}" in
|
[case "${enableval}" in
|
yes) want64=true ;;
|
yes) want64=true ;;
|
Line 39... |
Line 72... |
;;
|
;;
|
no) enable_targets= ;;
|
no) enable_targets= ;;
|
*) enable_targets=$enableval ;;
|
*) enable_targets=$enableval ;;
|
esac])dnl
|
esac])dnl
|
|
|
AC_ARG_ENABLE(commonbfdlib,
|
|
[ --enable-commonbfdlib build shared BFD/opcodes/libiberty library],
|
|
[case "${enableval}" in
|
|
yes) commonbfdlib=true ;;
|
|
no) commonbfdlib=false ;;
|
|
*) AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
|
|
esac])dnl
|
|
|
|
AC_ARG_WITH(mmap,
|
AC_ARG_WITH(mmap,
|
[ --with-mmap try using mmap for BFD input files if available],
|
[ --with-mmap try using mmap for BFD input files if available],
|
[case "${withval}" in
|
[case "${withval}" in
|
yes) want_mmap=true ;;
|
yes) want_mmap=true ;;
|
no) want_mmap=false ;;
|
no) want_mmap=false ;;
|
Line 99... |
Line 124... |
ACX_PKGVERSION([GNU Binutils])
|
ACX_PKGVERSION([GNU Binutils])
|
ACX_BUGURL([http://www.sourceware.org/bugzilla/])
|
ACX_BUGURL([http://www.sourceware.org/bugzilla/])
|
|
|
AM_BINUTILS_WARNINGS
|
AM_BINUTILS_WARNINGS
|
|
|
AM_CONFIG_HEADER(config.h:config.in)
|
AC_CONFIG_HEADERS(config.h:config.in)
|
|
|
if test -z "$target" ; then
|
if test -z "$target" ; then
|
AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)
|
AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)
|
fi
|
fi
|
|
|
Line 116... |
Line 141... |
target64=false
|
target64=false
|
bfd_default_target_size=32
|
bfd_default_target_size=32
|
|
|
# host stuff:
|
# host stuff:
|
|
|
ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi"
|
ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru"
|
ZW_GNU_GETTEXT_SISTER_DIR
|
ZW_GNU_GETTEXT_SISTER_DIR
|
AM_PO_SUBDIRS
|
AM_PO_SUBDIRS
|
|
|
# Permit host specific settings.
|
# Permit host specific settings.
|
. ${srcdir}/configure.host
|
. ${srcdir}/configure.host
|
Line 170... |
Line 195... |
AC_SUBST(BFD_HOSTPTR_T)
|
AC_SUBST(BFD_HOSTPTR_T)
|
|
|
BFD_CC_FOR_BUILD
|
BFD_CC_FOR_BUILD
|
|
|
AC_CHECK_HEADERS(alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h)
|
AC_CHECK_HEADERS(alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h)
|
AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h)
|
AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h sys/stat.h)
|
GCC_HEADER_STDINT(bfd_stdint.h)
|
GCC_HEADER_STDINT(bfd_stdint.h)
|
AC_HEADER_TIME
|
AC_HEADER_TIME
|
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
ACX_HEADER_STRING
|
ACX_HEADER_STRING
|
AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid)
|
AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno)
|
AC_CHECK_FUNCS(strtoull)
|
AC_CHECK_FUNCS(strtoull)
|
|
|
AC_CHECK_DECLS(basename)
|
AC_CHECK_DECLS(basename)
|
AC_CHECK_DECLS(ftello)
|
AC_CHECK_DECLS(ftello)
|
AC_CHECK_DECLS(ftello64)
|
AC_CHECK_DECLS(ftello64)
|
Line 196... |
Line 221... |
AC_CHECK_DECLS(stpcpy)
|
AC_CHECK_DECLS(stpcpy)
|
AC_CHECK_DECLS(strstr)
|
AC_CHECK_DECLS(strstr)
|
AC_CHECK_DECLS(snprintf)
|
AC_CHECK_DECLS(snprintf)
|
AC_CHECK_DECLS(vsnprintf)
|
AC_CHECK_DECLS(vsnprintf)
|
|
|
|
# Link in zlib if we can. This allows us to read compressed debug sections.
|
|
# This is used only by compress.c.
|
|
AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
|
|
|
# If we are configured native, pick a core file support file.
|
# If we are configured native, pick a core file support file.
|
COREFILE=
|
COREFILE=
|
COREFLAG=
|
COREFLAG=
|
TRAD_HEADER=
|
TRAD_HEADER=
|
if test "${target}" = "${host}"; then
|
if test "${target}" = "${host}"; then
|
Line 374... |
Line 403... |
COREFILE=netbsd-core.lo
|
COREFILE=netbsd-core.lo
|
;;
|
;;
|
rs6000-*-lynx*)
|
rs6000-*-lynx*)
|
COREFILE=lynx-core.lo
|
COREFILE=lynx-core.lo
|
;;
|
;;
|
rs6000-*-aix5.* | powerpc-*-aix5.*)
|
changequote(,)dnl
|
|
rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*)
|
|
changequote([,])dnl
|
COREFILE=rs6000-core.lo
|
COREFILE=rs6000-core.lo
|
COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
|
COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
|
;;
|
;;
|
changequote(,)dnl
|
changequote(,)dnl
|
rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
|
rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
|
Line 477... |
Line 508... |
if test -n "$TRAD_HEADER"; then
|
if test -n "$TRAD_HEADER"; then
|
AC_DEFINE_UNQUOTED(TRAD_HEADER, $TRAD_HEADER,
|
AC_DEFINE_UNQUOTED(TRAD_HEADER, $TRAD_HEADER,
|
[Name of host specific header file to include in trad-core.c.])
|
[Name of host specific header file to include in trad-core.c.])
|
fi
|
fi
|
|
|
# Horrible hacks to build DLLs on Windows.
|
# Check if linker supports --as-needed and --no-as-needed options
|
WIN32LDFLAGS=
|
AC_CACHE_CHECK(linker --as-needed support, bfd_cv_ld_as_needed,
|
WIN32LIBADD=
|
[bfd_cv_ld_as_needed=no
|
case "${host}" in
|
if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
|
*-*-cygwin*)
|
bfd_cv_ld_as_needed=yes
|
|
fi
|
|
])
|
|
|
|
LT_LIB_M
|
|
|
|
# When building a shared libbfd, link against the pic version of libiberty
|
|
# so that apps that use libbfd won't need libiberty just to satisfy any
|
|
# libbfd references.
|
|
# We can't do that if a pic libiberty is unavailable since including non-pic
|
|
# code would insert text relocations into libbfd.
|
|
SHARED_LIBADD=
|
|
SHARED_LDFLAGS=
|
if test "$enable_shared" = "yes"; then
|
if test "$enable_shared" = "yes"; then
|
WIN32LDFLAGS="-no-undefined"
|
|
WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
|
|
fi
|
|
;;
|
|
*-*-linux*)
|
|
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
|
|
# libiberty.a.
|
|
case "${host}" in
|
|
mips*-*-linux*)
|
|
# Linux/MIPS uses PIC by default.
|
|
if test "$enable_shared" = "yes"; then
|
|
WIN32LIBADD="-L../libiberty -liberty"
|
|
fi
|
|
;;
|
|
*)
|
|
changequote(,)dnl
|
changequote(,)dnl
|
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
|
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
|
changequote([,])dnl
|
changequote([,])dnl
|
if test -n "$x"; then
|
if test -n "$x"; then
|
WIN32LIBADD="-L../libiberty/pic -liberty"
|
SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
|
fi
|
fi
|
|
|
|
# More hacks to build DLLs on Windows.
|
|
case "${host}" in
|
|
*-*-cygwin*)
|
|
SHARED_LDFLAGS="-no-undefined"
|
|
SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
|
;;
|
;;
|
esac
|
esac
|
;;
|
|
esac
|
if test -n "$SHARED_LIBADD"; then
|
AC_SUBST(WIN32LDFLAGS)
|
if test -n "$LIBM"; then
|
AC_SUBST(WIN32LIBADD)
|
if test x"$bfd_cv_ld_as_needed" = xyes; then
|
|
# Link against libm only when needed. Put -lc, -lm inside -Wl
|
|
# to stop libtool reordering these options.
|
|
SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
|
|
else
|
|
SHARED_LIBADD="$SHARED_LIBADD $LIBM"
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|
|
AC_SUBST(SHARED_LDFLAGS)
|
|
AC_SUBST(SHARED_LIBADD)
|
|
|
# target stuff:
|
# target stuff:
|
|
|
# Canonicalize the secondary target names.
|
# Canonicalize the secondary target names.
|
if test -n "$enable_targets" ; then
|
if test -n "$enable_targets" ; then
|
Line 592... |
Line 637... |
selarchs="$f"
|
selarchs="$f"
|
|
|
# Target backend .o files.
|
# Target backend .o files.
|
tb=
|
tb=
|
|
|
elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
|
elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo
|
|
elf-eh-frame.lo dwarf1.lo"
|
|
|
for vec in $selvecs
|
for vec in $selvecs
|
do
|
do
|
target_size=32
|
target_size=32
|
case "$vec" in
|
case "$vec" in
|
Line 624... |
Line 670... |
armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
|
armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
|
armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
|
armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
|
armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
|
armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
|
b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;;
|
b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;;
|
b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;;
|
b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;;
|
bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
|
bfd_pei_ia64_vec) tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
|
bfd_efi_bsdrv_ia32_vec) tb="$tb efi-bsdrv-ia32.lo peigen.lo cofflink.lo" ;;
|
|
bfd_efi_rtdrv_ia32_vec) tb="$tb efi-rtdrv-ia32.lo peigen.lo cofflink.lo" ;;
|
|
bfd_efi_app_x86_64_vec) tb="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
|
|
bfd_efi_bsdrv_x86_64_vec) tb="$tb efi-bsdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
|
|
bfd_efi_rtdrv_x86_64_vec) tb="$tb efi-rtdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
|
|
bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
|
|
bfd_efi_bsdrv_ia64_vec) tb="$tb efi-bsdrv-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
|
|
bfd_efi_rtdrv_ia64_vec) tb="$tb efi-rtdrv-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
|
|
bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
|
bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
|
bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
|
bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
|
bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
|
bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
|
bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
|
bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
|
bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
|
bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
|
Line 657... |
Line 695... |
bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
|
bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
|
bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
|
bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
|
bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
|
bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
|
bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
|
bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
|
bfd_elf32_frvfdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
|
bfd_elf32_frvfdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
|
|
bfd_elf32_moxie_vec) tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
|
bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
|
bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
|
bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
|
bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
|
bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
|
bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
|
bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
|
bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
|
bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;;
|
bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;;
|
bfd_elf32_i386_dragonfly_vec)
|
bfd_elf32_i386_dragonfly_vec)
|
tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
|
tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
|
bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
|
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
|
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
|
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
|
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
|
bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
|
bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
|
bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
|
bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
|
|
bfd_elf32_lm32_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
|
|
bfd_elf32_lm32fdpic_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
|
bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
|
bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
|
bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
|
bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
|
bfd_elf32_littlearm_symbian_vec)
|
bfd_elf32_littlearm_symbian_vec)
|
tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
|
tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
|
bfd_elf32_littlearm_vxworks_vec)
|
bfd_elf32_littlearm_vxworks_vec)
|
Line 697... |
Line 738... |
bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
|
bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
|
bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
|
bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
|
bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
|
bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
|
bfd_elf32_mep_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
|
bfd_elf32_mep_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
|
bfd_elf32_mep_little_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
|
bfd_elf32_mep_little_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
|
|
bfd_elf32_microblaze_vec) tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
|
bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
|
bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
|
bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
|
bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
|
bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
|
bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
|
bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
|
bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
|
bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;;
|
|
bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;;
|
bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;;
|
bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
|
bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
|
bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
|
bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
|
bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
|
bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;;
|
bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;;
|
bfd_elf32_bigscore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
|
bfd_elf32_bigscore_vec) tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
|
bfd_elf32_littlescore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
|
bfd_elf32_littlescore_vec) tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
|
# FIXME: We include cofflink.lo not because it's needed for
|
# FIXME: We include cofflink.lo not because it's needed for
|
# bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
|
# bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
|
# which needs it but does not list it. Should be fixed in right place.
|
# which needs it but does not list it. Should be fixed in right place.
|
bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
|
bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
|
bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
|
bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
|
Line 754... |
Line 795... |
bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
|
bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
|
bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
|
bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
|
bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
|
Line 770... |
Line 812... |
bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
|
bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
|
bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
|
|
bfd_elf64_l1om_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
|
|
bfd_elf64_l1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
|
bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;;
|
bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;;
|
bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
|
bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
|
bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
|
bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
|
bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
|
bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
|
bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
|
bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
|
Line 825... |
Line 869... |
m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;;
|
m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;;
|
maxqcoff_vec) tb="$tb coff-maxq.lo" ;;
|
maxqcoff_vec) tb="$tb coff-maxq.lo" ;;
|
mach_o_be_vec) tb="$tb mach-o.lo" ;;
|
mach_o_be_vec) tb="$tb mach-o.lo" ;;
|
mach_o_le_vec) tb="$tb mach-o.lo" ;;
|
mach_o_le_vec) tb="$tb mach-o.lo" ;;
|
mach_o_fat_vec) tb="$tb mach-o.lo" ;;
|
mach_o_fat_vec) tb="$tb mach-o.lo" ;;
|
|
mach_o_i386_vec) tb="$tb mach-o-i386.lo" ;;
|
mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
|
mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
|
mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
|
mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
|
mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
|
mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
|
mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
|
mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
|
mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
|
mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
|
Line 842... |
Line 887... |
pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
|
pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
|
pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
|
pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
|
pef_vec) tb="$tb pef.lo" ;;
|
pef_vec) tb="$tb pef.lo" ;;
|
pef_xlib_vec) tb="$tb pef.lo" ;;
|
pef_xlib_vec) tb="$tb pef.lo" ;;
|
pdp11_aout_vec) tb="$tb pdp11.lo" ;;
|
pdp11_aout_vec) tb="$tb pdp11.lo" ;;
|
|
plugin_vec) tb="$tb plugin.lo" ;;
|
pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
|
pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
|
ppcboot_vec) tb="$tb ppcboot.lo" ;;
|
ppcboot_vec) tb="$tb ppcboot.lo" ;;
|
riscix_vec) tb="$tb aout32.lo riscix.lo" ;;
|
riscix_vec) tb="$tb aout32.lo riscix.lo" ;;
|
rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
|
rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
|
rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
|
rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
|
Line 989... |
Line 1035... |
AC_SUBST(all_backends)
|
AC_SUBST(all_backends)
|
AC_SUBST(bfd_backends)
|
AC_SUBST(bfd_backends)
|
AC_SUBST(bfd_machines)
|
AC_SUBST(bfd_machines)
|
AC_SUBST(bfd_default_target_size)
|
AC_SUBST(bfd_default_target_size)
|
|
|
|
if test "$plugins" = "yes"; then
|
|
supports_plugins=1
|
|
else
|
|
supports_plugins=0
|
|
fi
|
|
AC_SUBST(supports_plugins)
|
|
|
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
|
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
|
# Hopefully a reasonable assumption since fseeko et.al. should be
|
# Hopefully a reasonable assumption since fseeko et.al. should be
|
# upward compatible.
|
# upward compatible.
|
Line 1051... |
Line 1104... |
-e '/BLD-POTFILES =/r po/BLD-POTFILES' \
|
-e '/BLD-POTFILES =/r po/BLD-POTFILES' \
|
-e "s,@POFILES@,$POFILES," \
|
-e "s,@POFILES@,$POFILES," \
|
-e "s,@GMOFILES@,$GMOFILES," \
|
-e "s,@GMOFILES@,$GMOFILES," \
|
po/Makefile.in > po/Makefile]],[[]])
|
po/Makefile.in > po/Makefile]],[[]])
|
|
|
dnl Required by html and install-html
|
dnl Required by html, pdf, install-pdf and install-html
|
AC_SUBST(datarootdir)
|
AC_SUBST(datarootdir)
|
AC_SUBST(docdir)
|
AC_SUBST(docdir)
|
AC_SUBST(htmldir)
|
AC_SUBST(htmldir)
|
|
AC_SUBST(pdfdir)
|
|
|
AC_OUTPUT
|
AC_OUTPUT
|
|
|