From 8ffcff2ee89860dc87751d7ffd0133fe3eab99c7 Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Fri, 25 May 2012 09:24:08 +0000 Subject: =?UTF-8?q?=09PR=20ada/52362=20=09*=20config.gcc=20(i[34567]86-*-m?= =?UTF-8?q?ingw*=20|=20x86=5F64-*-mingw*):=20Set=20gas=20and=20=09gnu=5Fld?= =?UTF-8?q?=20variables=20to=20yes.=20=09*=20configure.ac=20(HAVE=5FGNU=5F?= =?UTF-8?q?LD):=20Move=20to=20after=20config.gcc=20inclusion.=20=09(HAVE?= =?UTF-8?q?=5FGNU=5FAS):=20Likewise.=20=09*=20config.in:=20Regenerate.=20?= =?UTF-8?q?=09*=20configure:=20Likewise.=20ada/=20=09*=20link.c=20(=5F=5Fg?= =?UTF-8?q?nat=5Fobject=5Ffile=5Foption):=20Set=20to=20"-Wl,@"=20for=20GNU?= =?UTF-8?q?=20linker.=20=09(=5F=5Fgnat=5Fusing=5Fgnu=5Flinker):=20Delete.?= =?UTF-8?q?=20=09*=20gnatlink.adb=20(Gnatlink):=20Declare=20Object=5FFile?= =?UTF-8?q?=5FOption=5FPtr=20here...=20=09Declare=20Object=5FFile=5FOption?= =?UTF-8?q?=20string=20constant=20and=20Using=5FGNU=5Fresponse=5Ffile=20?= =?UTF-8?q?=09boolean=20constant.=20=09(Process=5FBinder=5FFile):=20...ins?= =?UTF-8?q?tead=20of=20here.=20=C2=A0Delete=20Using=5FGNU=5FLinker,=20=09O?= =?UTF-8?q?pening=20and=20Closing=20local=20variables.=20=C2=A0Do=20not=20?= =?UTF-8?q?handle=20the=20GNU=20linker=20=09specially.=20=09(Write=5FRF):?= =?UTF-8?q?=20New=20procedure=20to=20write=20into=20the=20response=20file.?= =?UTF-8?q?=20=C2=A0Escape=20some=20=09characters=20if=20a=20GNU=20respons?= =?UTF-8?q?e=20file=20is=20used.=20=C2=A0Keep=20track=20of=20error=20statu?= =?UTF-8?q?s.=20=09Invoke=20Write=5FRF=20to=20write=20into=20the=20respons?= =?UTF-8?q?e=20file.=20=C2=A0Delete=20the=20file=20only=20=09if=20the=20li?= =?UTF-8?q?nk=20was=20successful.=20=09*=20mlib-utl.adb:=20Do=20not=20`wit?= =?UTF-8?q?h'=20package=20System.=20=09(Gcc):=20Likewise.=20=C2=A0Declare?= =?UTF-8?q?=20Object=5FFile=5FOption=20string=20constant=20and=20=09Using?= =?UTF-8?q?=5FGNU=5Fresponse=5Ffile=20boolean=20constant.=20=09(Write=5FRF?= =?UTF-8?q?):=20Take=20a=20string=20instead=20of=20address=20and=20length.?= =?UTF-8?q?=20=C2=A0Escape=20some=20=09characters=20if=20a=20GNU=20respons?= =?UTF-8?q?e=20file=20is=20used.=20=09Invoke=20Write=5FRF=20to=20write=20i?= =?UTF-8?q?nto=20the=20response=20file.=20=C2=A0Delete=20the=20file=20only?= =?UTF-8?q?=20=09if=20the=20link=20was=20successful.=20=C2=A0Do=20not=20wa?= =?UTF-8?q?rn=20if=20it=20cannot=20be=20deleted.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187874 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/configure | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'gcc/configure') diff --git a/gcc/configure b/gcc/configure index db2021ca2d4..1cd61344511 100755 --- a/gcc/configure +++ b/gcc/configure @@ -3393,13 +3393,6 @@ _ACEOF fi -gnu_ld=`if test x"$gnu_ld_flag" = x"yes"; then echo 1; else echo 0; fi` - -cat >>confdefs.h <<_ACEOF -#define HAVE_GNU_LD $gnu_ld -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default linker was specified" >&5 $as_echo_n "checking whether a default linker was specified... " >&6; } if test x"${DEFAULT_LINKER+set}" = x"set"; then @@ -3458,13 +3451,6 @@ _ACEOF fi -gnu_as=`if test x"$gas_flag" = x"yes"; then echo 1; else echo 0; fi` - -cat >>confdefs.h <<_ACEOF -#define HAVE_GNU_AS $gnu_as -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default assembler was specified" >&5 $as_echo_n "checking whether a default assembler was specified... " >&6; } if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then @@ -11165,6 +11151,20 @@ $as_echo "#define USE_LONG_LONG_FOR_WIDEST_FAST_INT 1" >>confdefs.h fi +gnu_ld_bool=`if test x"$gnu_ld" = x"yes"; then echo 1; else echo 0; fi` + +cat >>confdefs.h <<_ACEOF +#define HAVE_GNU_LD $gnu_ld_bool +_ACEOF + + +gnu_as_bool=`if test x"$gas" = x"yes"; then echo 1; else echo 0; fi` + +cat >>confdefs.h <<_ACEOF +#define HAVE_GNU_AS $gnu_as_bool +_ACEOF + + count=a for f in $host_xm_file; do count=${count}x -- cgit v1.2.1