aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/openbsd64.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2005-01-24 22:31:52 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-01-24 21:31:52 +0000
commit81b47219535814188c5f40f9efb448c1cad02b92 (patch)
treef4a1de7b7f72acabcce6c83aa64761c788d9deec /gcc/config/sparc/openbsd64.h
parent3a2f1f06651ace284325fa449acf5babffd91a3e (diff)
downloadgcc-81b47219535814188c5f40f9efb448c1cad02b92.zip
gcc-81b47219535814188c5f40f9efb448c1cad02b92.tar.gz
gcc-81b47219535814188c5f40f9efb448c1cad02b92.tar.bz2
re PR bootstrap/19364 (embedded sparc does not bootstrap)
PR bootstrap/19364 * config.gcc (sparc-*-elf*): Remove sol2.h, sparc/sol2.h and sparc/elf.h, add sparc/sp-elf.h. (sparc-*-rtems*): Likewise. (sparclite-*-elf*): Remove sol2.h, sparc/sol2.h, sparc/elf.h and tm-dwarf2.h, add sparc/sp-elf.h. (sparc86x-*-elf): Likewise. (sparc64-*-elf*): Remove sol2.h, sparc/sol2.h and tm-dwarf2.h. * config/sparc/liteelf.h (TARGET_SUB_OS_CPP_BUILTINS): Rename into TARGET_OS_CPP_BUILTINS. * config/sparc/sp86x-elf (TARGET_SUB_OS_CPP_BUILTINS): Likewise. * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. Undefine it. * config/sparc/openbsd64.h (NO_IMPLICIT_EXTERN_C): Undefine. * config/sparc/sp64-elf.h (NO_IMPLICIT_EXTERN_C): New macro. (SWITCH_TAKES_ARG): Likewise. (LOCAL_LABEL_PREFIX): Likewise. (ASM_GENERATE_INTERNAL_LABEL): Likewise. (TARGET_N_FORMAT_TYPES): Delete. (TARGET_FORMAT_TYPES): Likewise. (ASM_DECLARE_FUNCTION_SIZE): Likewise. * config/sparc/elf.h: Delete. * config/sparc/sp-elf.h: New file. From-SVN: r94185
Diffstat (limited to 'gcc/config/sparc/openbsd64.h')
-rw-r--r--gcc/config/sparc/openbsd64.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/sparc/openbsd64.h b/gcc/config/sparc/openbsd64.h
index e13c886..4801525 100644
--- a/gcc/config/sparc/openbsd64.h
+++ b/gcc/config/sparc/openbsd64.h
@@ -1,5 +1,5 @@
/* Configuration file for sparc64 OpenBSD target.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2005 Free Software Foundation, Inc.
This file is part of GCC.
@@ -51,6 +51,9 @@ Boston, MA 02111-1307, USA. */
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
+/* Inherited from sp64-elf. */
+#undef NO_IMPLICIT_EXTERN_C
+
#undef ASM_SPEC
#define ASM_SPEC "\
%{v:-V} -s %{fpic|fPIC|fpie|fPIE:-K PIC} \