diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-27 17:48:58 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-27 17:48:58 +0000 |
commit | a2beb4292102f82c900b91d6eecdbed10f55276c (patch) | |
tree | e0154da3cd27e351b191a34f7b5e465075192112 /gcc/configure.ac | |
parent | a5090a34f55b9c13775844b9b70e8bc41e2aab03 (diff) | |
download | gcc-a2beb4292102f82c900b91d6eecdbed10f55276c.tar.gz |
2010-04-27 Kai Tietz <kai.tietz@onevision.com>
* collect2.c (TARGET_64BIT): Redefine to target's default.
* tlink.c: Likewise.
* config/i386/cygming.h (USER_LABEL_PREFIX): Define
dependent to TARGET_64BIT and USE_MINGW64_LEADING_UNDERSCORES.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): Use
for underscoring __USER_LABEL_PREFIX__.
* config/i386/mingw-w64.h (SUB_LINK_ENTRY): New macro.
(SUB_LINK_ENTRY32): New.
(SUB_LINK_ENTRY64): New.
(LINK_SPEC): Replace entry point spec by
SUB_LINK_ENTRY.
* config/i386/mingw32 (SUB_LINK_ENTRY32): New.
(SUB_LINK_ENTRY64): New.
(SUB_LINK_ENTRY): New.
(LINK_SPEC): Use SUB_LINK_ENTRY instead of hard-coded entry-point.
(DWARF2_UNWIND_INFO): Error out for use of dw2 unwind when
x64 target is choosen.
* config.in (USE_MINGW64_LEADING_UNDERSCORES): New.
* configure: Regenerated.
* configure.ac (leading-mingw64-underscores): Option added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158791 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 67973b1fec6..cd31f4e6db8 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1568,6 +1568,14 @@ AC_ARG_ENABLE(secureplt, [ --enable-secureplt enable -msecure-plt by default for PowerPC], [], []) +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])]) + AC_ARG_ENABLE(cld, [ --enable-cld enable -mcld by default for 32bit x86], [], [enable_cld=no]) |