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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [pa/] [pa-pro-end.h] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Definitions of target machine for GNU compiler, for PRO.
2
   Copyright (C) 1996, 1997, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
3
 
4
This file is part of GCC.
5
 
6
GCC is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 3, or (at your option)
9
any later version.
10
 
11
GCC is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
GNU General Public License for more details.
15
 
16
You should have received a copy of the GNU General Public License
17
along with GCC; see the file COPYING3.  If not see
18
<http://www.gnu.org/licenses/>.  */
19
 
20
/* Make GCC agree with types.h.  */
21
#undef SIZE_TYPE
22
#undef PTRDIFF_TYPE
23
 
24
#define SIZE_TYPE "unsigned int"
25
#define PTRDIFF_TYPE "int"
26
 
27
#undef TARGET_OS_CPP_BUILTINS
28
#define TARGET_OS_CPP_BUILTINS()                \
29
  do                                            \
30
    {                                           \
31
        if (!c_dialect_cxx () && !flag_iso)     \
32
          {                                     \
33
            builtin_define ("hppa");            \
34
            builtin_define_std ("PWB");         \
35
          }                                     \
36
        builtin_define ("__pro__");             \
37
        builtin_assert ("system=pro");          \
38
    }                                           \
39
  while (0)
40
 
41
/* Like the default, except no -lg.  */
42
#undef LIB_SPEC
43
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}"
44
 
45
/* hpux8 and later have C++ compatible include files, so do not
46
   pretend they are `extern "C"'.  */
47
#define NO_IMPLICIT_EXTERN_C
48
 
49
/* We don't want a crt0.o to get linked in automatically, we want the
50
   linker script to pull it in.  */
51
#undef STARTFILE_SPEC
52
#define STARTFILE_SPEC ""
53
 
54
/* We need to override the following two macros defined in elfos.h since
55
   the .comm directive has a different syntax and it can't be used for
56
   local common symbols.  */
57
#undef ASM_OUTPUT_ALIGNED_COMMON
58
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN)              \
59
  pa_asm_output_aligned_common (FILE, NAME, SIZE, ALIGN)
60
 
61
#undef ASM_OUTPUT_ALIGNED_LOCAL
62
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN)               \
63
  pa_asm_output_aligned_local (FILE, NAME, SIZE, ALIGN)

powered by: WebSVN 2.1.0

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