aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc7
-rw-r--r--gcc/config/hpux11.opt30
3 files changed, 40 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c77a5f7..da0a108 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-30 Joseph Myers <joseph@codesourcery.com>
+
+ * config/hpux11.opt: New.
+ * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
+ ia64*-*-hpux*): Use hpux11.opt.
+
2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net>
* config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 83fd10d..c465810 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1091,7 +1091,7 @@ hppa*64*-*-hpux11*)
;;
esac
extra_options="${extra_options} pa/pa-hpux.opt \
- pa/pa-hpux1010.opt pa/pa64-hpux.opt"
+ pa/pa-hpux1010.opt pa/pa64-hpux.opt hpux11.opt"
need_64bit_hwint=yes
tmake_file="pa/t-pa64 pa/t-pa-hpux pa/t-hpux-shlib"
# Set the libgcc version number
@@ -1127,7 +1127,8 @@ hppa[12]*-*-hpux11*)
esac
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h \
pa/pa-hpux.h pa/pa-hpux1010.h pa/pa-hpux11.h"
- extra_options="${extra_options} pa/pa-hpux.opt pa/pa-hpux1010.opt"
+ extra_options="${extra_options} pa/pa-hpux.opt pa/pa-hpux1010.opt \
+ hpux11.opt"
case ${target} in
*-*-hpux11.[1-9]*)
tm_file="${tm_file} pa/pa-hpux1111.h"
@@ -1592,7 +1593,7 @@ ia64*-*-hpux*)
use_collect2=no
c_target_objs="ia64-c.o"
cxx_target_objs="ia64-c.o"
- extra_options="${extra_options} ia64/ilp32.opt"
+ extra_options="${extra_options} ia64/ilp32.opt hpux11.opt"
use_gcc_stdint=wrap
tm_file="${tm_file} hpux-stdint.h"
;;
diff --git a/gcc/config/hpux11.opt b/gcc/config/hpux11.opt
new file mode 100644
index 0000000..7b572a4
--- /dev/null
+++ b/gcc/config/hpux11.opt
@@ -0,0 +1,30 @@
+; HP-UX 11 options.
+
+; Copyright (C) 2011
+; Free Software Foundation, Inc.
+;
+; This file is part of GCC.
+;
+; GCC is free software; you can redistribute it and/or modify it under
+; the terms of the GNU General Public License as published by the Free
+; Software Foundation; either version 3, or (at your option) any later
+; version.
+;
+; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+; WARRANTY; without even the implied warranty of MERCHANTABILITY or
+; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+; for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with GCC; see the file COPYING3. If not see
+; <http://www.gnu.org/licenses/>.
+
+; See the GCC internals manual (options.texi) for a description of
+; this file's format.
+
+; Please try to keep this file in ASCII collating order.
+
+mt
+Driver RejectNegative
+
+; This comment is to ensure we retain the blank line above.