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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [rs6000/] [aix41.h] - Blame information for rev 827

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

Line No. Rev Author Line
1 38 julius
/* Definitions of target machine for GNU compiler,
2
   for IBM RS/6000 POWER running AIX version 4.1.
3
   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004,
4
   2005, 2007
5
   Free Software Foundation, Inc.
6
   Contributed by David Edelsohn (edelsohn@gnu.org).
7
 
8
   This file is part of GCC.
9
 
10
   GCC is free software; you can redistribute it and/or modify it
11
   under the terms of the GNU General Public License as published
12
   by the Free Software Foundation; either version 3, or (at your
13
   option) any later version.
14
 
15
   GCC is distributed in the hope that it will be useful, but WITHOUT
16
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
18
   License for more details.
19
 
20
   You should have received a copy of the GNU General Public License
21
   along with GCC; see the file COPYING3.  If not see
22
   <http://www.gnu.org/licenses/>.  */
23
 
24
#undef ASM_SPEC
25
#define ASM_SPEC "-u %(asm_cpu)"
26
 
27
#undef  ASM_DEFAULT_SPEC
28
#define ASM_DEFAULT_SPEC "-mcom"
29
 
30
#undef TARGET_OS_CPP_BUILTINS
31
#define TARGET_OS_CPP_BUILTINS()     \
32
  do                                 \
33
    {                                \
34
      TARGET_OS_AIX_CPP_BUILTINS (); \
35
    }                                \
36
  while (0)
37
 
38
#undef CPP_SPEC
39
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
40
   %{ansi: -D_ANSI_C_SOURCE}\
41
   %{mpe: -I/usr/lpp/ppe.poe/include}\
42
   %{pthread: -D_THREAD_SAFE}"
43
 
44
#undef TARGET_DEFAULT
45
#define TARGET_DEFAULT MASK_NEW_MNEMONICS
46
 
47
#undef PROCESSOR_DEFAULT
48
#define PROCESSOR_DEFAULT PROCESSOR_PPC601
49
 
50
/* Define this macro as a C expression for the initializer of an
51
   array of string to tell the driver program which options are
52
   defaults for this target and thus do not need to be handled
53
   specially when using `MULTILIB_OPTIONS'.
54
 
55
   Do not define this macro if `MULTILIB_OPTIONS' is not defined in
56
   the target makefile fragment or if none of the options listed in
57
   `MULTILIB_OPTIONS' are set by default.  *Note Target Fragment::.  */
58
 
59
#undef  MULTILIB_DEFAULTS
60
#define MULTILIB_DEFAULTS { "mcpu=common" }
61
 
62
#undef LIB_SPEC
63
#define LIB_SPEC "%{pg:-L/lib/profiled -L/usr/lib/profiled}\
64
   %{p:-L/lib/profiled -L/usr/lib/profiled} %{!shared:%{g*:-lg}}\
65
   %{mpe:-L/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
66
   %{pthread: -L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a}\
67
   %{!pthread: -lc}"
68
 
69
#undef LINK_SPEC
70
#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
71
   %{static:-bnso %(link_syscalls) } %{!shared: %{g*: %(link_libg) }}\
72
   %{shared:-bM:SRE %{!e:-bnoentry}}"
73
 
74
#undef STARTFILE_SPEC
75
#define STARTFILE_SPEC "%{!shared:\
76
   %{mpe:%{pg:/usr/lpp/ppe.poe/lib/gcrt0.o}\
77
         %{!pg:%{p:/usr/lpp/ppe.poe/lib/mcrt0.o}\
78
               %{!p:/usr/lpp/ppe.poe/lib/crt0.o}}}\
79
   %{!mpe:\
80
     %{pthread:%{pg:gcrt0_r%O%s}%{!pg:%{p:mcrt0_r%O%s}%{!p:crt0_r%O%s}}}\
81
     %{!pthread:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}}"
82
 
83
/* AIX 4 uses PowerPC nop (ori 0,0,0) instruction as call glue for PowerPC
84
   and "cror 31,31,31" for POWER architecture.  */
85
 
86
#undef RS6000_CALL_GLUE
87
#define RS6000_CALL_GLUE "{cror 31,31,31|nop}"
88
 
89
/* The IBM AIX 4.x assembler doesn't support forward references in
90
   .set directives.  We handle this by deferring the output of .set
91
   directives to the end of the compilation unit.  */
92
#define TARGET_DEFERRED_OUTPUT_DEFS(DECL,TARGET) true
93
 
94
#undef TARGET_64BIT
95
#define TARGET_64BIT 0

powered by: WebSVN 2.1.0

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