Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2010 18:21:26 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r216567 - projects/binutils-2.17/gnu/usr.bin/cc/cc_tools
Message-ID:  <201012191821.oBJILQuG009244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sun Dec 19 18:21:25 2010
New Revision: 216567
URL: http://svn.freebsd.org/changeset/base/216567

Log:
  We can't use platform-specific #ifdefs in auto-host.h, because they will
  not be defined when building a cross-compiler. These two seem harmless
  if globally defined, so define them unconditionally.

Modified:
  projects/binutils-2.17/gnu/usr.bin/cc/cc_tools/auto-host.h

Modified: projects/binutils-2.17/gnu/usr.bin/cc/cc_tools/auto-host.h
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/cc/cc_tools/auto-host.h	Sun Dec 19 18:07:10 2010	(r216566)
+++ projects/binutils-2.17/gnu/usr.bin/cc/cc_tools/auto-host.h	Sun Dec 19 18:21:25 2010	(r216567)
@@ -267,9 +267,7 @@
 
 /* Define if your assembler supports -relax option. */
 #ifndef USED_FOR_TARGET
-# ifdef __sparc64__
-#  define HAVE_AS_RELAX_OPTION 1
-# endif
+#define HAVE_AS_RELAX_OPTION 1
 #endif
 
 
@@ -891,9 +889,7 @@
 
 /* Define if your PowerPC64 linker only needs function descriptor syms. */
 #ifndef USED_FOR_TARGET
-# ifdef __powerpc64__
-#  define HAVE_LD_NO_DOT_SYMS 1
-# endif
+#define HAVE_LD_NO_DOT_SYMS 1
 #endif
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012191821.oBJILQuG009244>