Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/ia64/t-hpux @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
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 # Copyright (C) 2001, 2002, 2003, 2004, 2005, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 # 2006 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
|
3 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 # 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
|
5 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
6 # GCC is free software; you can redistribute it and/or modify |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
7 # it under the terms of the GNU General Public License as published by |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
8 # the Free Software Foundation; either version 3, or (at your option) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
9 # any later version. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 # GCC is distributed in the hope that it will be useful, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 # GNU General Public License 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
|
15 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 # You should have received a copy of 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
|
17 # along with GCC; see the file COPYING3. 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
|
18 # <http://www.gnu.org/licenses/>. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
19 |
0 | 20 # We need multilib support for HPUX's ILP32 & LP64 modes. |
21 | |
22 LIBGCC = stmp-multilib | |
23 INSTALL_LIBGCC = install-multilib | |
24 | |
25 MULTILIB_OPTIONS = milp32/mlp64 | |
26 MULTILIB_DIRNAMES = hpux32 hpux64 | |
27 MULTILIB_MATCHES = | |
28 | |
29 # On HP-UX we do not want _fixtfdi, _fixunstfdi, or _floatditf from | |
30 # LIB1ASMSRC. These functions map the 128 bit conversion function names | |
31 # to 80 bit conversions and were done for Linux backwards compatibility. | |
32 | |
33 LIB1ASMFUNCS := $(filter-out _fixtfdi _fixunstfdi _floatditf,$(LIB1ASMFUNCS)) | |
34 | |
35 # Support routines for HP-UX 128 bit floats. | |
36 | |
37 LIB2FUNCS_EXTRA=quadlib.c $(srcdir)/config/floatunsitf.c | |
38 | |
39 quadlib.c: $(srcdir)/config/ia64/quadlib.c | |
40 cat $(srcdir)/config/ia64/quadlib.c > quadlib.c | |
41 | |
42 # We get an undefined main when building a cross compiler because our | |
43 # linkspec has "-u main" and we want that for linking but it makes | |
44 # LIBGCC1_TEST fail because it uses -nostdlib -nostartup. | |
45 | |
46 LIBGCC1_TEST = | |
47 | |
48 # We do not want to include the EH stuff that linux uses, we want to use | |
49 # the HP-UX libunwind library. | |
50 | |
51 T_CFLAGS += -DUSE_LIBUNWIND_EXCEPTIONS | |
52 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
53 LIB2ADDEH = $(srcdir)/unwind-c.c |
0 | 54 |
55 SHLIB_EXT = .so | |
56 # Must include -lunwind in the link, so that libgcc_s.so has the necessary | |
57 # DT_NEEDED entry for libunwind. | |
58 SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ | |
59 -Wl,+h,@shlib_base_name@.so.0 \ | |
60 -o @multilib_dir@/@shlib_base_name@.so @multilib_flags@ \ | |
61 @shlib_objs@ -lunwind -lc && \ | |
62 rm -f @multilib_dir@/@shlib_base_name@.so.0 && \ | |
63 $(LN_S) @shlib_base_name@.so @multilib_dir@/@shlib_base_name@.so.0 | |
64 # $(slibdir) double quoted to protect it from expansion while building | |
65 # libgcc.mk. We want this delayed until actual install time. | |
66 SHLIB_INSTALL = \ | |
67 $$(mkinstalldirs) $$(DESTDIR)$$(slibdir)@shlib_slibdir_qual@; \ | |
68 $(INSTALL_DATA) @multilib_dir@/@shlib_base_name@.so \ | |
69 $$(DESTDIR)$$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so.0; \ | |
70 rm -f $$(DESTDIR)$$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so; \ | |
71 $(LN_S) @shlib_base_name@.so.0 \ | |
72 $$(DESTDIR)$$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so; \ | |
73 chmod +x $$(DESTDIR)$$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so | |
74 | |
75 SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk |