This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 6/7] Merge of gcc patches


Patch 6.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany

Attachment: 0006-ChangeLog
Description: Text document

>From f23173472d9d81fb18fdbc6ad8687ea7f26ce3d0 Mon Sep 17 00:00:00 2001
From: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 25 Jul 2014 09:01:45 +0000
Subject: [PATCH 6/7] * src/alpha/ffi.c: Do not include stdlib.h.
 (ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort.

---
 src/alpha/ffi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/alpha/ffi.c b/src/alpha/ffi.c
index 192f691..cf0a730 100644
--- a/src/alpha/ffi.c
+++ b/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;
-- 
1.8.4.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]