From b927df46b1ceac0f03f3a6afea964fa004d799f4 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 22 Oct 2010 20:43:37 +0000 Subject: [PATCH] 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(-) diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h index 60dde77e4c9..bb222307efd 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