From: David O'Brien Date: Fri, 1 Nov 2002 22:21:31 +0000 (+0000) Subject: freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__. X-Git-Tag: releases/gcc-3.2.1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0a82d932d993a80386138f8c732f850dbc246be;p=thirdparty%2Fgcc.git freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__. 2002-11-01 David O'Brien * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__. Add comment. Approved by: Mark Mitchell Message-ID: <15490000.1036182355@warlock.codesourcery.com> From-SVN: r58731 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ee80175b474..f7b390f88bbb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-01 David O'Brien + + * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__. + Add comment. + 2002-11-01 David O'Brien * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h index 67f17d036aa0..8c641368e6b6 100644 --- a/gcc/config/sparc/freebsd.h +++ b/gcc/config/sparc/freebsd.h @@ -18,11 +18,13 @@ You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* FreeBSD needs's the platform name (sparc64) defined. */ +/* FreeBSD needs's the platform name (sparc64) defined. + 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__" +#define CPP_CPU64_DEFAULT_SPEC "-D__sparc64__ -D__sparc_v9__ -D__arch64__" +/* Because we include sparc/sysv4.h. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES FBSD_CPP_PREDEFINES