aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2009-04-28 15:20:07 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2009-04-28 15:20:07 +0000
commit9a17c91defe42bdd966dd30b33b171dd07f8cd00 (patch)
treeb0c0bda2d51d90b52987f96b17e6a54ae92151e0 /gcc/config.gcc
parent62e66577b28d76bd2f4e1feb01ca7bad25dde8e8 (diff)
downloadgcc-9a17c91defe42bdd966dd30b33b171dd07f8cd00.zip
gcc-9a17c91defe42bdd966dd30b33b171dd07f8cd00.tar.gz
gcc-9a17c91defe42bdd966dd30b33b171dd07f8cd00.tar.bz2
config.gcc (hppa*64*-*-hpux11*): Set use_gcc_stdint and add hpux-stdint.h to tm_file.
* config.gcc (hppa*64*-*-hpux11*): Set use_gcc_stdint and add hpux-stdint.h to tm_file. (hppa[12]*-*-hpux11*): Ditto. (ia64*-*-hpux*): Ditto. * config/hpux-stdint.h: New. * gcc/config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Set __STDC_EXT__ for all compiles. * gcc/config/pa/pa-hpux.h: Ditto. * gcc/config/pa/pa-hpux10.h: Ditto. * gcc/config/pa/pa-hpux11.h: Ditto. From-SVN: r146900
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc22
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index d4d3889..8f838df 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -975,6 +975,16 @@ hppa*64*-*-hpux11*)
;;
esac
gas=yes
+ case ${target} in
+ *-*-hpux11.[01]*)
+ use_gcc_stdint=provide
+ tm_file="${tm_file} hpux-stdint.h"
+ ;;
+ *-*-hpux11.[23]*)
+ use_gcc_stdint=wrap
+ tm_file="${tm_file} hpux-stdint.h"
+ ;;
+ esac
;;
hppa[12]*-*-hpux11*)
case ${target} in
@@ -1005,6 +1015,16 @@ hppa[12]*-*-hpux11*)
esac
use_collect2=yes
gas=yes
+ case ${target} in
+ *-*-hpux11.[01]*)
+ use_gcc_stdint=provide
+ tm_file="${tm_file} hpux-stdint.h"
+ ;;
+ *-*-hpux11.[23]*)
+ use_gcc_stdint=wrap
+ tm_file="${tm_file} hpux-stdint.h"
+ ;;
+ esac
;;
i[34567]86-*-darwin*)
need_64bit_hwint=yes
@@ -1360,6 +1380,8 @@ ia64*-*-hpux*)
c_target_objs="ia64-c.o"
cxx_target_objs="ia64-c.o"
extra_options="${extra_options} ia64/ilp32.opt"
+ use_gcc_stdint=wrap
+ tm_file="${tm_file} hpux-stdint.h"
;;
iq2000*-*-elf*)
tm_file="svr4.h elfos.h newlib-stdint.h iq2000/iq2000.h"