summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa-hpux.opt
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-22 22:42:51 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-22 22:42:51 +0000
commitd09dbe0a437b37b0042058dc2d63ab815fe3af46 (patch)
tree49d63a6f66695967bb4c29a86117bad9b47d2486 /gcc/config/pa/pa-hpux.opt
parent177dbc5b231beb5711da30c75a7995dd1a5be534 (diff)
downloadgcc-d09dbe0a437b37b0042058dc2d63ab815fe3af46.tar.gz
* config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry.
(munix=93): Use Var. * config/pa/pa-hpux1010.opt (munix=95): Use Var. * config/pa/pa-hpux1111.opt (munix=98): Use Var. * config/pa/pa-opts.h: New. * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. (pa_handle_option): Don't assert that global structures are in use. Access target_flags via opts pointer. Don't handle OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or OPT_munix_98 here. (pa_option_override): Handle deferred OPT_mfixed_range_. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa-hpux.opt')
-rw-r--r--gcc/config/pa/pa-hpux.opt6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-hpux.opt b/gcc/config/pa/pa-hpux.opt
index eaed8be2d97..ddbb68f03eb 100644
--- a/gcc/config/pa/pa-hpux.opt
+++ b/gcc/config/pa/pa-hpux.opt
@@ -18,12 +18,16 @@
; along with GCC; see the file COPYING3. If not see
; <http://www.gnu.org/licenses/>.
+; The UNIX standard to use for predefines and linking.
+Variable
+int flag_pa_unix = TARGET_HPUX_11_11 ? 1998 : TARGET_HPUX_10_10 ? 1995 : 1993
+
msio
Target RejectNegative Mask(SIO) MaskExists
Generate cpp defines for server IO
munix=93
-Target RejectNegative
+Target RejectNegative Var(flag_pa_unix, 1993)
Specify UNIX standard for predefines and linking
mwsio