aboutsummaryrefslogtreecommitdiff
path: root/libffi/configure.host
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2004-08-30 15:43:03 +0000
committerAnthony Green <green@gcc.gnu.org>2004-08-30 15:43:03 +0000
commit88d8c771f98c83763f2ee41e5046417795a97eac (patch)
treea36cbe1ac1d0a30e257ceffcce0d0b8b21e90faa /libffi/configure.host
parent8dc2b10365a3d9def1a6e0412db0cc0177cfad6d (diff)
Makefile.am: Add frv support.
2004-08-30 Anthony Green <green@redhat.com> * Makefile.am: Add frv support. * Makefile.in, testsuite/Makefile.in: Rebuilt. * configure.ac: Read configure.host. * configure, aclocal.m4: Rebuilt. * configure.host: New file. frv-elf needs libgloss. * include/ffi.h.in: Force ffi_closure to have a nice big (8) alignment. This is needed to frv and should harm the others. * include/ffi_common.h (ALIGN_DOWN): New macro. * src/frv/ffi.c, src/frv/ffitarget.h, src/frv/eabi.S: New files. From-SVN: r86779
Diffstat (limited to 'libffi/configure.host')
-rw-r--r--libffi/configure.host11
1 files changed, 11 insertions, 0 deletions
diff --git a/libffi/configure.host b/libffi/configure.host
new file mode 100644
index 00000000000..f52457b39fd
--- /dev/null
+++ b/libffi/configure.host
@@ -0,0 +1,11 @@
+# configure.host
+#
+# This shell script handles all host based configuration for libffi.
+#
+
+# THIS TABLE IS SORTED. KEEP IT THAT WAY.
+case "${host}" in
+ frv*-elf)
+ LDFLAGS=`echo $LDFLAGS | sed "s/\-B[^ ]*libgloss\/frv\///"`\ -B`pwd`/../libgloss/frv/
+ ;;
+esac