OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [config/] [alpha/] [freebsd.h] - Diff between revs 282 and 338

Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 338
/* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format
/* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format
   Copyright (C) 2000, 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
   Copyright (C) 2000, 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
   Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
   Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
 
 
This file is part of GCC.
This file is part of GCC.
 
 
GCC is free software; you can redistribute it and/or modify
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
any later version.
 
 
GCC is distributed in the hope that it will be useful,
GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
GNU General Public License for more details.
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.  */
<http://www.gnu.org/licenses/>.  */
 
 
 
 
#undef  EXTRA_SPECS
#undef  EXTRA_SPECS
#define EXTRA_SPECS \
#define EXTRA_SPECS \
  { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
  { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
 
 
/* Provide a CPP_SPEC appropriate for FreeBSD/alpha -- dealing with
/* Provide a CPP_SPEC appropriate for FreeBSD/alpha -- dealing with
   the GCC option `-posix'.  */
   the GCC option `-posix'.  */
 
 
#undef  CPP_SPEC
#undef  CPP_SPEC
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
 
 
#define LINK_SPEC "%{G*} %{relax:-relax}                                \
#define LINK_SPEC "%{G*} %{relax:-relax}                                \
  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)}             \
  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)}             \
  %{Wl,*:%*}                                                            \
  %{Wl,*:%*}                                                            \
  %{assert*} %{R*} %{rpath*} %{defsym*}                                 \
  %{assert*} %{R*} %{rpath*} %{defsym*}                                 \
  %{shared:-Bshareable %{h*} %{soname*}}                                \
  %{shared:-Bshareable %{h*} %{soname*}}                                \
  %{!shared:                                                            \
  %{!shared:                                                            \
    %{!static:                                                          \
    %{!static:                                                          \
      %{rdynamic:-export-dynamic}                                       \
      %{rdynamic:-export-dynamic}                                       \
      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }}       \
      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }}       \
    %{static:-Bstatic}}                                                 \
    %{static:-Bstatic}}                                                 \
  %{symbolic:-Bsymbolic}"
  %{symbolic:-Bsymbolic}"
 
 
 
 
/************************[  Target stuff  ]***********************************/
/************************[  Target stuff  ]***********************************/
 
 
/* Define the actual types of some ANSI-mandated types.
/* Define the actual types of some ANSI-mandated types.
   Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
   Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
   c-common.c, and config/<arch>/<arch>.h.  */
   c-common.c, and config/<arch>/<arch>.h.  */
 
 
/* alpha.h gets this wrong for FreeBSD.  We use the GCC defaults instead.  */
/* alpha.h gets this wrong for FreeBSD.  We use the GCC defaults instead.  */
#undef WCHAR_TYPE
#undef WCHAR_TYPE
 
 
#undef  WCHAR_TYPE_SIZE
#undef  WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
#define WCHAR_TYPE_SIZE 32
 
 
#undef  TARGET_VERSION
#undef  TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (FreeBSD/alpha ELF)");
#define TARGET_VERSION fprintf (stderr, " (FreeBSD/alpha ELF)");
 
 
#define TARGET_ELF      1
#define TARGET_ELF      1
 
 
#undef  TARGET_DEFAULT
#undef  TARGET_DEFAULT
#define TARGET_DEFAULT  (MASK_FPREGS | MASK_GAS)
#define TARGET_DEFAULT  (MASK_FPREGS | MASK_GAS)
 
 
#undef HAS_INIT_SECTION
#undef HAS_INIT_SECTION
 
 
/* Show that we need a GP when profiling.  */
/* Show that we need a GP when profiling.  */
#undef  TARGET_PROFILING_NEEDS_GP
#undef  TARGET_PROFILING_NEEDS_GP
#define TARGET_PROFILING_NEEDS_GP 1
#define TARGET_PROFILING_NEEDS_GP 1
 
 
/* This is the char to use for continuation (in case we need to turn
/* This is the char to use for continuation (in case we need to turn
   continuation back on).  */
   continuation back on).  */
 
 
#undef  DBX_CONTIN_CHAR
#undef  DBX_CONTIN_CHAR
#define DBX_CONTIN_CHAR '?'
#define DBX_CONTIN_CHAR '?'
 
 
/* Don't default to pcc-struct-return, we want to retain compatibility with
/* Don't default to pcc-struct-return, we want to retain compatibility with
   older FreeBSD releases AND pcc-struct-return may not be reentrant.  */
   older FreeBSD releases AND pcc-struct-return may not be reentrant.  */
 
 
#undef  DEFAULT_PCC_STRUCT_RETURN
#undef  DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 0
#define DEFAULT_PCC_STRUCT_RETURN 0
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.