summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa32-openbsd.h
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-20 01:20:34 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-20 01:20:34 +0000
commit07cf7615dafa0714bf2c4fc5bd37e52c16a2e9cb (patch)
tree5934c9676457a57d510172c9e44a0545dba622bb /gcc/config/pa/pa32-openbsd.h
parentabf3cba6c0ad127ddfab9298e2d427c2e82a2721 (diff)
downloadgcc-07cf7615dafa0714bf2c4fc5bd37e52c16a2e9cb.tar.gz
libgcc/:
* config.host (hppa-*-openbsd*): New target. * config/pa/t-openbsd: New file. gcc:/ * config.gcc (hppa*-*-openbsd*): New target. * config/pa/pa-openbsd.h: New file. * config/pa/pa32-openbsd.h: New file. * config/host-openbsd.c: Update copyright year. (TRY_EXCEPT_VM_SPACE): Define for OpenBSD/hppa. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191508 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa32-openbsd.h')
-rw-r--r--gcc/config/pa/pa32-openbsd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/config/pa/pa32-openbsd.h b/gcc/config/pa/pa32-openbsd.h
new file mode 100644
index 00000000000..af8db1cc9cb
--- /dev/null
+++ b/gcc/config/pa/pa32-openbsd.h
@@ -0,0 +1,23 @@
+/* Definitions for PA_RISC with ELF-32 format
+ Copyright (C) 2000, 2002, 2004, 2006, 2007, 2010, 2011, 2012
+ 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/>. */
+
+/* Turn off various SOM crap we don't want. */
+#undef TARGET_ELF32
+#define TARGET_ELF32 1