diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-25 09:01:45 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-25 09:01:45 +0000 |
commit | ab6e5665c356663d99a529db9e38bd79cecc8c35 (patch) | |
tree | d7d5d4d81809ca5f4bd8839cbfa27640a11ecbeb /libffi | |
parent | 4237b215bbb0c0a5b8795bad99857c2f00501bb1 (diff) | |
download | gcc-ab6e5665c356663d99a529db9e38bd79cecc8c35.tar.gz |
* src/alpha/ffi.c: Do not include stdlib.h.
(ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 5 | ||||
-rw-r--r-- | libffi/src/alpha/ffi.c | 3 |
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; |