Tweaks to make these files live beside our hacked config.

This commit is contained in:
David E. O'Brien 2002-06-21 22:54:24 +00:00
parent 2ded288c88
commit 6c8ce4b3c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98599
2 changed files with 15 additions and 9 deletions

View File

@ -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} \

View File

@ -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. */