summaryrefslogtreecommitdiffstats
path: root/libffi/configure.host
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-30 15:43:03 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-30 15:43:03 +0000
commit2e818f508e564c53e9269ba6e3048c80f71be5a0 (patch)
treea36cbe1ac1d0a30e257ceffcce0d0b8b21e90faa /libffi/configure.host
parent092b1d6f29c36a1496c539d276bc9d0e1ce66082 (diff)
downloadppe42-gcc-2e818f508e564c53e9269ba6e3048c80f71be5a0.tar.gz
ppe42-gcc-2e818f508e564c53e9269ba6e3048c80f71be5a0.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86779 138bc75d-0d04-0410-961f-82ee72b054a4
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
OpenPOWER on IntegriCloud