[ emit_relocs=yes ]
)
+AC_ARG_ENABLE(emit_ctor_dtor,
+ AS_HELP_STRING([--enable-emit-ctor-dtor], [manually create ctor/dtor list]),
+ [ emit_ctor_dtor=$enableval ],
+ [ emit_ctor_dtor=no ]
+)
+
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
])
fi
+SYMBOL_PREFIX=
+case $target in
+ bfin*)
+ SYMBOL_PREFIX=_
+ ;;
+esac
+
dnl Make sure we resolve system symbols before libiberty/libbfd ones.
dnl Otherwise, things like getopt get screwed up because the system headers
dnl redirect some functions to the system symbols, but other local symbols
AC_SUBST(binutils_ldscript_dir)
AC_SUBST(got_check)
AC_SUBST(emit_relocs)
+AC_SUBST(emit_ctor_dtor)
+AC_SUBST(SYMBOL_PREFIX)
-AC_OUTPUT(Makefile ld-elf2flt)
+AC_OUTPUT(Makefile ld-elf2flt elf2flt.ld)