diff options
| author | David O'Brien <obrien@FreeBSD.org> | 2001-11-10 01:07:17 +0000 |
|---|---|---|
| committer | David O'Brien <obrien@gcc.gnu.org> | 2001-11-10 01:07:17 +0000 |
| commit | 243a707078d20d78057fe4660a9388028db83489 (patch) | |
| tree | 577a7f314d943cdee4114f2e22033a938b8b2ced /gcc/config.gcc | |
| parent | b8e42321fb18771c9b259b8c21d683cd9acafa21 (diff) | |
| download | gcc-243a707078d20d78057fe4660a9388028db83489.zip gcc-243a707078d20d78057fe4660a9388028db83489.tar.gz gcc-243a707078d20d78057fe4660a9388028db83489.tar.bz2 | |
config.gcc: Add FreeBSD/IA-64 target.
2001-11-07 David O'Brien <obrien@FreeBSD.org>
* config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
* config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
so OS specific files and use CPP_PREDEFINES for their needs.
* config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
target headers to tm_file.
* config/ia64/aix.h (TARGET_VERSION): Likewise.
* config/ia64/hpux.h (TARGET_VERSION): Likewise.
* config/ia64/linux.h (TARGET_VERSION): Likewise.
(FUNCTION_PROFILER): Remove.
* config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
version in config/ia64/linux.h.
* config/ia64/freebsd.h: New file.
* config/freebsd.h: Tidy up.
(_USING_CONFIG_FREEBSD): Define.
(FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
(FBSD_CPP_SPEC): Define generic FreeBSD spec.
(FBSD_STARTFILE_SPEC): Likewise.
(FBSD_ENDFILE_SPEC): Likewise.
(FBSD_LIB_SPEC): Likewise.
(WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
(USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
set an ELF-improper one.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <20011109100352.A6186@redhat.com>
From-SVN: r46909
Diffstat (limited to 'gcc/config.gcc')
| -rw-r--r-- | gcc/config.gcc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 2d9f0f2..97304e2 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -337,6 +337,7 @@ case $machine in *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;; esac tmake_file=t-freebsd + xmake_file=none xm_defines=POSIX case x${enable_threads} in xno) fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h";; @@ -1531,7 +1532,7 @@ ia64*-*-aix*) target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" ;; ia64*-*-elf*) - tm_file=ia64/elf.h + tm_file="${tm_file} elfos.h ia64/sysv4.h ia64/elf.h" tmake_file="ia64/t-ia64" target_cpu_default="0" if test x$gas = xyes @@ -1544,6 +1545,12 @@ ia64*-*-elf*) fi float_format=i386 ;; +ia64*-*-freebsd*) + tm_file="${tm_file} ${fbsd_tm_file} elfos.h ia64/sysv4.h ia64/freebsd.h" + target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" + tmake_file="${tmake_file} ia64/t-ia64" + float_format=i386 + ;; ia64*-*-linux*) tm_file="${tm_file} elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h" tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc" |
