aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-04-27 17:26:09 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-04-27 17:26:09 +0000
commitef72a554d982f439fb9be357386681c1d4fb475c (patch)
tree5eeb461c5d93df2c31c6101172f9b670cd529201 /bfd/configure.in
parente78f4312c58a798df3fe09566a1f714eaf61294a (diff)
downloadgdb-ef72a554d982f439fb9be357386681c1d4fb475c.zip
gdb-ef72a554d982f439fb9be357386681c1d4fb475c.tar.gz
gdb-ef72a554d982f439fb9be357386681c1d4fb475c.tar.bz2
2010-04-27 Kai Tietz <kai.tietz@onevision.com>
* pe-x86_64.c (TARGET_UNDERSCORE): Set value dependent to USE_MINGW64_LEADING_UNDERSCORES. * pei-x86_64.c (TARGET_UNDERSCORE): Likewise. * config.bfd: Change underscoring default for x64 mingw to false. * coffcode.h (coff_write_relocs): Add check that dereferenced sym_ptr_ptr isn't NULL. * config.in (USE_MINGW64_LEADING_UNDERSCORES): New. * configure: Regenerated. * configure.in: Add option '--enable-leading-mingw64-underscores' and define config.in variable USE_MINGW64_LEADING_UNDERSCORES.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index eb9d7e7..6f05505 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -75,6 +75,14 @@ if test $use_secureplt = true; then
[Define if we should default to creating read-only plt entries])
fi
+AC_ARG_ENABLE(leading-mingw64-underscores,
+ AS_HELP_STRING([--enable-leading-mingw64-underscores],
+ [Enable leading underscores on 64 bit mingw targets]),
+ [],[])
+AS_IF([ test x"$enable_leading_mingw64_underscores" = xyes ],
+ [AC_DEFINE(USE_MINGW64_LEADING_UNDERSCORES, 1,
+ [Define if we should use leading underscore on 64 bit mingw targets])])
+
DEBUGDIR=${libdir}/debug
AC_ARG_WITH(separate-debug-dir,
AS_HELP_STRING([--with-separate-debug-dir=DIR],