wok-next
annotate gcc/stuff/patches/320-libffi-gnulinux.patch @ rev 21727
created recipe for vbindiff
author |
Hans-G?nter Theisgen |
date |
Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents |
|
children |
|
rev |
line source |
al@21060
|
1 diff --git a/libffi/closures.c.orig b/libffi/closures.c
|
al@21060
|
2 index 721ff00..22a699c 100644
|
al@21060
|
3 --- a/libffi/src/closures.c.orig
|
al@21060
|
4 +++ b/libffi/src/closures.c
|
al@21060
|
5 @@ -34,7 +34,7 @@
|
al@21060
|
6 #include <ffi_common.h>
|
al@21060
|
7
|
al@21060
|
8 #if !FFI_MMAP_EXEC_WRIT && !FFI_EXEC_TRAMPOLINE_TABLE
|
al@21060
|
9 -# if __gnu_linux__ && !defined(__ANDROID__)
|
al@21060
|
10 +# if __linux__ && !defined(__ANDROID__)
|
al@21060
|
11 /* This macro indicates it may be forbidden to map anonymous memory
|
al@21060
|
12 with both write and execute permission. Code compiled when this
|
al@21060
|
13 option is defined will attempt to map such pages once, but if it
|