Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/ia64/elf.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
rev | line source |
---|---|
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
1 /* Definitions for embedded ia64-elf target. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
3 Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 This file is part of GCC. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
6 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
7 GCC is free software; you can redistribute it and/or modify it under |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
8 the terms of the GNU General Public License as published by the Free |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
9 Software Foundation; either version 3, or (at your option) any later |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 version. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
15 for more details. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 Under Section 7 of GPL version 3, you are granted additional |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 permissions described in the GCC Runtime Library Exception, version |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
19 3.1, as published by the Free Software Foundation. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
20 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
21 You should have received a copy of the GNU General Public License and |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
22 a copy of the GCC Runtime Library Exception along with this program; |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
23 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
24 <http://www.gnu.org/licenses/>. */ |
0 | 25 |
26 /* This macro is a C statement to print on `stderr' a string describing the | |
27 particular machine description choice. */ | |
28 | |
29 #define TARGET_VERSION fprintf (stderr, " (IA-64) ELF"); | |
30 | |
31 /* A C string constant that tells the GCC driver program options to pass to | |
32 the assembler. It can also specify how to translate options you give to GNU | |
33 CC into options for GCC to pass to the assembler. */ | |
34 | |
35 #if ((TARGET_CPU_DEFAULT | TARGET_DEFAULT) & MASK_GNU_AS) != 0 | |
36 /* GNU AS. */ | |
37 #undef ASM_EXTRA_SPEC | |
38 #define ASM_EXTRA_SPEC \ | |
39 "%{mno-gnu-as:-N so} %{!mno-gnu-as:-x}" | |
40 #else | |
41 /* Intel ias. */ | |
42 #undef ASM_SPEC | |
43 #define ASM_SPEC \ | |
44 "%{!mgnu-as:-N so} %{mgnu-as:-x} %{mconstant-gp:-M const_gp}\ | |
45 %{mauto-pic:-M no_plabel}" | |
46 #endif | |
47 | |
48 /* A C string constant that tells the GCC driver program options to pass to | |
49 the linker. It can also specify how to translate options you give to GCC | |
50 into options for GCC to pass to the linker. */ | |
51 | |
52 /* The Intel linker does not support dynamic linking, so we need -dn. | |
53 The Intel linker gives annoying messages unless -N so is used. */ | |
54 #if ((TARGET_CPU_DEFAULT | TARGET_DEFAULT) & MASK_GNU_LD) != 0 | |
55 /* GNU LD. */ | |
56 #define LINK_SPEC "%{mno-gnu-ld:-dn -N so}" | |
57 #else | |
58 /* Intel ild. */ | |
59 #define LINK_SPEC "%{!mgnu-ld:-dn -N so}" | |
60 #endif | |
61 | |
62 /* svr4.h links with crti.o/crtn.o, but elfos.h does not. We override elfos.h | |
63 so that we can use the standard ELF Unix method. */ | |
64 #undef ENDFILE_SPEC | |
65 #define ENDFILE_SPEC "crtend.o%s crtn.o%s" | |
66 | |
67 #undef STARTFILE_SPEC | |
68 #define STARTFILE_SPEC "%{!shared: \ | |
69 %{!symbolic: \ | |
70 %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\ | |
71 crti.o%s crtbegin.o%s" | |
72 | |
73 /* End of elf.h */ |