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/pe-x86_64.c | |
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/pe-x86_64.c')
-rw-r--r-- | bfd/pe-x86_64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/pe-x86_64.c b/bfd/pe-x86_64.c index bcf18b6..76fc7c7 100644 --- a/bfd/pe-x86_64.c +++ b/bfd/pe-x86_64.c @@ -28,7 +28,11 @@ #define COFF_WITH_PE #define COFF_WITH_pex64 #define PCRELOFFSET TRUE +#if defined (USE_MINGW64_LEADING_UNDERSCORES) #define TARGET_UNDERSCORE '_' +#else +#define TARGET_UNDERSCORE 0 +#endif #define COFF_LONG_SECTION_NAMES #define COFF_SUPPORT_GNU_LINKONCE #define COFF_LONG_FILENAMES |