summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
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.gcc
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.gcc')
-rw-r--r--gcc/config.gcc13
1 files changed, 9 insertions, 4 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index dfce1e8b8d1..d6c81534c59 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1017,10 +1017,15 @@ hppa*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h"
;;
-# port not yet contributed.
-#hppa*-*-openbsd*)
-# target_cpu_default="MASK_PA_11"
-# ;;
+hppa*-*-openbsd*)
+ target_cpu_default="MASK_PA_11"
+ tm_file="${tm_file} dbxelf.h elfos.h openbsd.h openbsd-stdint.h openbsd-libpthread.h \
+ pa/pa-openbsd.h pa/pa32-regs.h pa/pa32-openbsd.h"
+ tmake_file="${tmake_file} pa/t-openbsd"
+ extra_options="${extra_options} openbsd.opt"
+ gas=yes
+ gnu_ld=yes
+ ;;
hppa[12]*-*-hpux10*)
case ${target} in
hppa1.1-*-* | hppa2*-*-*)