aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/pa
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2012-09-20 01:20:34 +0000
committerJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2012-09-20 01:20:34 +0000
commit06bd9192b7e8c03708c53716e8a0ba188751f23b (patch)
tree5934c9676457a57d510172c9e44a0545dba622bb /libgcc/config/pa
parent424e6fae62a02abbef97702239f89140c170731f (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@191508 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config/pa')
-rw-r--r--libgcc/config/pa/t-openbsd9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgcc/config/pa/t-openbsd b/libgcc/config/pa/t-openbsd
new file mode 100644
index 00000000000..8b99068ce42
--- /dev/null
+++ b/libgcc/config/pa/t-openbsd
@@ -0,0 +1,9 @@
+#Plug millicode routines into libgcc.a We want these on both native and
+#cross compiles. We use the "64-bit" routines because the "32-bit" code
+#is broken for certain corner cases.
+LIB1ASMSRC = pa/milli64.S
+LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI _dyncall
+
+HOST_LIBGCC2_CFLAGS += -DELF=1 -DLINUX=1
+
+LIB2ADD = $(srcdir)/config/pa/fptr.c