Sync freebsd7 support with gcc33.

This commit is contained in:
David E. O'Brien 2005-11-09 17:26:36 +00:00
parent f7e6a15a88
commit 4253eb6583
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147738
3 changed files with 25 additions and 26 deletions

View File

@ -82,6 +82,7 @@ MAN7= fsf-funding.7 gfdl.7 gpl.7
pre-configure:
cd ${SRCDIR} ; contrib/gcc_update --touch
@${LN} -sf ${FILESDIR}/freebsd7.h ${SRCDIR}/gcc/config
@${RM} -f ${SRCDIR}/gcc/*/*.info*
@${MKDIR} ${CONFIGURE_WRKSRC}
@${REINPLACE_CMD} -e 's/elf_x86_64/elf_x86_64_fbsd/g' \

View File

@ -0,0 +1,24 @@
/* FreeBSD version number setting for FreeBSD 6.x systems.
Copyright (C) 2001 Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#define FBSD_MAJOR 7
/* $FreeBSD$ */

View File

@ -1,26 +0,0 @@
--- /dev/null Sat Aug 13 10:11:00 2005
+++ gcc/config/freebsd7.h Sat Aug 13 10:11:42 2005
@@ -0,0 +1,23 @@
+/* FreeBSD version number setting for FreeBSD 6.x systems.
+ Copyright (C) 2001 Free Software Foundation, Inc.
+ Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+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, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+#define FBSD_MAJOR 7
+