diff options
author | obrien <obrien@FreeBSD.org> | 2002-06-21 22:54:24 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-06-21 22:54:24 +0000 |
commit | 29fd0bf33a43d188d5a129e68686bae8f9306a56 (patch) | |
tree | 02387a7717c84e80230730f0857d3150f484acb7 /contrib/gcc | |
parent | 3710c0eed03d018ea0d504d1adb7e66ad0926466 (diff) | |
download | FreeBSD-src-29fd0bf33a43d188d5a129e68686bae8f9306a56.zip FreeBSD-src-29fd0bf33a43d188d5a129e68686bae8f9306a56.tar.gz |
Tweaks to make these files live beside our hacked config.
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/config/i386/freebsd64.h | 12 | ||||
-rw-r--r-- | contrib/gcc/config/i386/x86-64.h | 12 |
2 files changed, 15 insertions, 9 deletions
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 <i386/freebsd.h> 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. */ |