diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2014-07-25 11:01:45 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2014-07-25 11:01:45 +0200 |
commit | f54860ea9624d03dbcf06b5f804159f8d8bc536d (patch) | |
tree | d7d5d4d81809ca5f4bd8839cbfa27640a11ecbeb /libffi | |
parent | b2505143369334866ed98d69f08033068b24de34 (diff) | |
download | gcc-f54860ea9624d03dbcf06b5f804159f8d8bc536d.zip gcc-f54860ea9624d03dbcf06b5f804159f8d8bc536d.tar.gz gcc-f54860ea9624d03dbcf06b5f804159f8d8bc536d.tar.bz2 |
ffi.c: Do not include stdlib.h.
* src/alpha/ffi.c: Do not include stdlib.h.
(ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort.
From-SVN: r213049
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 f5fdccb..a2db366 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 192f691..cf0a730 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; |