OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [alpha/] [freebsd.h] - Blame information for rev 294

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format
2
   Copyright (C) 2000, 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
3
   Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
4
 
5
This file is part of GCC.
6
 
7
GCC is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 3, or (at your option)
10
any later version.
11
 
12
GCC is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with GCC; see the file COPYING3.  If not see
19
<http://www.gnu.org/licenses/>.  */
20
 
21
 
22
#undef  SUBTARGET_EXTRA_SPECS
23
#define SUBTARGET_EXTRA_SPECS \
24
  { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
25
 
26
/* Provide a CPP_SPEC appropriate for FreeBSD/alpha.  Besides the
27
   dealing with the GCC option `-posix', we must deal with the Alpha's
28
   FP issues.  */
29
 
30
#undef  CPP_SPEC
31
#define CPP_SPEC "%(cpp_subtarget) %{posix:-D_POSIX_SOURCE}"
32
 
33
#define LINK_SPEC "%{G*} %{relax:-relax}                                \
34
  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)}             \
35
  %{Wl,*:%*}                                                            \
36
  %{assert*} %{R*} %{rpath*} %{defsym*}                                 \
37
  %{shared:-Bshareable %{h*} %{soname*}}                                \
38
  %{!shared:                                                            \
39
    %{!static:                                                          \
40
      %{rdynamic:-export-dynamic}                                       \
41
      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }}       \
42
    %{static:-Bstatic}}                                                 \
43
  %{symbolic:-Bsymbolic}"
44
 
45
 
46
/************************[  Target stuff  ]***********************************/
47
 
48
/* Define the actual types of some ANSI-mandated types.
49
   Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
50
   c-common.c, and config/<arch>/<arch>.h.  */
51
 
52
/* alpha.h gets this wrong for FreeBSD.  We use the GCC defaults instead.  */
53
#undef WCHAR_TYPE
54
 
55
#undef  WCHAR_TYPE_SIZE
56
#define WCHAR_TYPE_SIZE 32
57
 
58
#undef  TARGET_VERSION
59
#define TARGET_VERSION fprintf (stderr, " (FreeBSD/alpha ELF)");
60
 
61
#define TARGET_ELF      1
62
 
63
#undef  TARGET_DEFAULT
64
#define TARGET_DEFAULT  (MASK_FPREGS | MASK_GAS)
65
 
66
#undef HAS_INIT_SECTION
67
 
68
/* Show that we need a GP when profiling.  */
69
#undef  TARGET_PROFILING_NEEDS_GP
70
#define TARGET_PROFILING_NEEDS_GP 1
71
 
72
/* This is the char to use for continuation (in case we need to turn
73
   continuation back on).  */
74
 
75
#undef  DBX_CONTIN_CHAR
76
#define DBX_CONTIN_CHAR '?'
77
 
78
/* Don't default to pcc-struct-return, we want to retain compatibility with
79
   older FreeBSD releases AND pcc-struct-return may not be reentrant.  */
80
 
81
#undef  DEFAULT_PCC_STRUCT_RETURN
82
#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.