diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2010-04-27 17:26:09 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2010-04-27 17:26:09 +0000 |
commit | ef72a554d982f439fb9be357386681c1d4fb475c (patch) | |
tree | 5eeb461c5d93df2c31c6101172f9b670cd529201 /bfd/configure | |
parent | e78f4312c58a798df3fe09566a1f714eaf61294a (diff) | |
download | gdb-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')
-rwxr-xr-x | bfd/configure | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/bfd/configure b/bfd/configure index 7d16fab..6ace16c 100755 --- a/bfd/configure +++ b/bfd/configure @@ -785,6 +785,7 @@ enable_64_bit_bfd enable_targets with_mmap enable_secureplt +enable_leading_mingw64_underscores with_separate_debug_dir enable_elf_stt_common with_pkgversion @@ -1435,6 +1436,8 @@ Optional Features: --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) --enable-targets alternative target configurations --enable-secureplt Default to creating read-only plt entries + --enable-leading-mingw64-underscores + Enable leading underscores on 64 bit mingw targets --enable-elf-stt-common Allow the generation of ELF symbols with the STT_COMMON type --enable-werror treat compile warnings as errors --enable-build-warnings enable build-time compiler warnings @@ -11402,7 +11405,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11405 "configure" +#line 11408 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11508,7 +11511,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11511 "configure" +#line 11514 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12049,6 +12052,17 @@ $as_echo "#define USE_SECUREPLT 1" >>confdefs.h fi +# Check whether --enable-leading-mingw64-underscores was given. +if test "${enable_leading_mingw64_underscores+set}" = set; then : + enableval=$enable_leading_mingw64_underscores; +fi + +if test x"$enable_leading_mingw64_underscores" = xyes ; then : + +$as_echo "#define USE_MINGW64_LEADING_UNDERSCORES 1" >>confdefs.h + +fi + DEBUGDIR=${libdir}/debug # Check whether --with-separate-debug-dir was given. |