OSDN Git Service

* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 May 2003 03:59:19 +0000 (03:59 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 May 2003 03:59:19 +0000 (03:59 +0000)
-D__sparc__ to match system compiler convention.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67080 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sparc/freebsd.h

index c3b7101..3788d84 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-21  Loren James Rittle  <ljrittle@acm.org>
+
+       * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
+       -D__sparc__ to match system compiler convention.
+
 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero
index 1e39a27..d7d803e 100644 (file)
@@ -22,7 +22,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    Emacs needs to know if the arch is 64 or 32-bits.  */
 
 #undef  CPP_CPU64_DEFAULT_SPEC
-#define CPP_CPU64_DEFAULT_SPEC "-D__sparc64__ -D__sparc_v9__ -D__arch64__"
+#define CPP_CPU64_DEFAULT_SPEC \
+  "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__"
 
 #define LINK_SPEC "%(link_arch)                                                \
   %{!mno-relax:%{!r:-relax}}                                           \