From d51b49793f701db6b1853f3dc305866af94dcff7 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 22 Oct 2010 18:12:40 +0000 Subject: Update gcc's auto-host.h header for binutils 2.17: turn on HAVE_COMDAT_GROUP, HAVE_GAS_WEAKREF and HAVE_LD_SYSROOT. --- gnu/usr.bin/cc/cc_tools/auto-host.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/usr.bin/cc') diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h index 0ed3e97..60dde77 100644 --- a/gnu/usr.bin/cc/cc_tools/auto-host.h +++ b/gnu/usr.bin/cc/cc_tools/auto-host.h @@ -327,7 +327,7 @@ /* Define 0/1 if your assembler and linker support COMDAT groups. */ #ifndef USED_FOR_TARGET -#define HAVE_COMDAT_GROUP 0 +#define HAVE_COMDAT_GROUP 1 #endif @@ -783,7 +783,7 @@ /* Define if your assembler supports .weakref. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_GAS_WEAKREF */ +#define HAVE_GAS_WEAKREF 1 #endif @@ -916,7 +916,7 @@ /* Define if your linker supports --sysroot. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_LD_SYSROOT */ +#define HAVE_LD_SYSROOT 1 #endif -- cgit v1.1 From 05c8f273115f40d8517058524c349d3efeb3ca67 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 22 Oct 2010 20:43:37 +0000 Subject: In case of powerpc64, enable HAVE_LD_NO_DOT_SYMS in gcc's auto-host.h. Requested by: nwhitehorn --- gnu/usr.bin/cc/cc_tools/auto-host.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin/cc') diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h index 60dde77..bb22230 100644 --- a/gnu/usr.bin/cc/cc_tools/auto-host.h +++ b/gnu/usr.bin/cc/cc_tools/auto-host.h @@ -891,7 +891,9 @@ /* Define if your PowerPC64 linker only needs function descriptor syms. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_LD_NO_DOT_SYMS */ +# ifdef __powerpc64_ +# define HAVE_LD_NO_DOT_SYMS 1 +# endif #endif -- cgit v1.1 From b355314642d1e24edf4e05d08b793f8b9ea76458 Mon Sep 17 00:00:00 2001 From: dim Date: Sun, 14 Nov 2010 20:47:30 +0000 Subject: Sync: merge r215273 through r215318 from ^/head. --- gnu/usr.bin/cc/Makefile.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.bin/cc') diff --git a/gnu/usr.bin/cc/Makefile.tgt b/gnu/usr.bin/cc/Makefile.tgt index a1e6d08..f0f15d1 100644 --- a/gnu/usr.bin/cc/Makefile.tgt +++ b/gnu/usr.bin/cc/Makefile.tgt @@ -4,7 +4,7 @@ # MACHINE_CPUARCH, but there's no easy way to export make functions... .if defined(TARGET_ARCH) -TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/} +TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/:C/powerpc64/powerpc/} .else TARGET_CPUARCH=${MACHINE_CPUARCH} .endif -- cgit v1.1 From 79e78b2c61c034f70491270cd04b4c5672a6c0c7 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 18 Nov 2010 18:30:03 +0000 Subject: Sync: merge r215396 through r215463 from ^/head. --- gnu/usr.bin/cc/cc_tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.bin/cc') diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 1ba2300..4d6de02 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -307,7 +307,7 @@ GENSRCS+= gcov-iov.h # Multilib config file multilib.h: -.if ${TARGET_ARCH} == "powerpc64" +.if ${TARGET_ARCH} == "powerpc64" || ${TARGET_ARCH} == "amd64" echo 'static const char *const multilib_raw[] = { \ ". !m64 !m32;", \ "64:../lib m64 !m32;", \ -- cgit v1.1 From ad01c620333d05c430d583ee40647e396be1ab91 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Thu, 9 Dec 2010 17:39:40 +0000 Subject: Fix a missing underscore. --- gnu/usr.bin/cc/cc_tools/auto-host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.bin/cc') diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h index bb22230..a3a235c 100644 --- a/gnu/usr.bin/cc/cc_tools/auto-host.h +++ b/gnu/usr.bin/cc/cc_tools/auto-host.h @@ -891,7 +891,7 @@ /* Define if your PowerPC64 linker only needs function descriptor syms. */ #ifndef USED_FOR_TARGET -# ifdef __powerpc64_ +# ifdef __powerpc64__ # define HAVE_LD_NO_DOT_SYMS 1 # endif #endif -- cgit v1.1