aboutsummaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2014-07-25 09:01:45 +0000
committerUros Bizjak <ubizjak@gmail.com>2014-07-25 09:01:45 +0000
commit96b71982134992cdf5b76b15ac5a381700ebfcce (patch)
treed7d5d4d81809ca5f4bd8839cbfa27640a11ecbeb /libffi
parent096a91a5409525fe58a0cb77572cb5f0a4ee147d (diff)
* src/alpha/ffi.c: Do not include stdlib.h.
(ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@213049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/src/alpha/ffi.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index f5fdccb36c4..a2db36614fd 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-21 Uros Bizjak <ubizjak@gmail.com>
+
+ * src/alpha/ffi.c: Do not include stdlib.h.
+ (ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort.
+
2014-07-04 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface
diff --git a/libffi/src/alpha/ffi.c b/libffi/src/alpha/ffi.c
index 192f691c4a2..cf0a730afb6 100644
--- a/libffi/src/alpha/ffi.c
+++ b/libffi/src/alpha/ffi.c
@@ -27,7 +27,6 @@
#include <ffi.h>
#include <ffi_common.h>
-#include <stdlib.h>
/* Force FFI_TYPE_LONGDOUBLE to be different than FFI_TYPE_DOUBLE;
all further uses in this file will refer to the 128-bit type. */
@@ -273,7 +272,7 @@ ffi_closure_osf_inner(ffi_closure *closure, void *rvalue, unsigned long *argp)
break;
default:
- abort ();
+ FFI_ASSERT (0);
}
argn += ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;