From 29fd0bf33a43d188d5a129e68686bae8f9306a56 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 21 Jun 2002 22:54:24 +0000 Subject: Tweaks to make these files live beside our hacked config. --- contrib/gcc/config/i386/freebsd64.h | 12 ++++++++++++ contrib/gcc/config/i386/x86-64.h | 12 +++--------- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'contrib') diff --git a/contrib/gcc/config/i386/freebsd64.h b/contrib/gcc/config/i386/freebsd64.h index ebd6618..61eab79 100644 --- a/contrib/gcc/config/i386/freebsd64.h +++ b/contrib/gcc/config/i386/freebsd64.h @@ -19,6 +19,8 @@ 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. */ +/* $FreeBSD$ */ + #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (FreeBSD/x86-64 ELF)"); @@ -27,6 +29,16 @@ Boston, MA 02111-1307, USA. */ This is a copy of LINK_SPEC from tweaked for the x86-64 target. */ +#undef CC1_SPEC +#define CC1_SPEC "%(cc1_cpu) %{profile:-p} \ + %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ + %{maout: %{!mno-underscores: %{!munderscores: -munderscores }}}" + +#undef ASM_SPEC +#define ASM_SPEC "%{v*: -v} %{maout: %{fpic:-k} %{fPIC:-k}} \ + %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ + %{Wa,*:%*} %{m32:--32}" + #undef LINK_SPEC #define LINK_SPEC "\ %{!m32:-m elf_x86_64} \ diff --git a/contrib/gcc/config/i386/x86-64.h b/contrib/gcc/config/i386/x86-64.h index 56e4684..72b3dc7 100644 --- a/contrib/gcc/config/i386/x86-64.h +++ b/contrib/gcc/config/i386/x86-64.h @@ -19,6 +19,8 @@ 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. */ +/* $FreeBSD$ */ + #undef ASM_COMMENT_START #define ASM_COMMENT_START "#" @@ -27,7 +29,7 @@ Boston, MA 02111-1307, USA. */ (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n]) /* Output assembler code to FILE to call the profiler. */ -#define NO_PROFILE_COUNTERS +#define NO_PROFILE_COUNTERS 1 #undef FUNCTION_PROFILER #define FUNCTION_PROFILER(FILE, LABELNO) \ @@ -73,14 +75,6 @@ Boston, MA 02111-1307, USA. */ This is used to align code labels according to Intel recommendations. */ -#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ - do { \ - if ((LOG) != 0) { \ - if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ - else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ - } \ - } while (0) - /* i386 System V Release 4 uses DWARF debugging info. x86-64 ABI specifies DWARF2. */ -- cgit v1.1