Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a61d058b
Commit
a61d058b
authored
Aug 10, 2014
by
doko@ubuntu.com
Browse files
Options
Browse Files
Download
Plain Diff
- Merge 3.4
parents
be1cd50e
3b48af01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
Modules/_ctypes/libffi.diff
Modules/_ctypes/libffi.diff
+23
-0
Modules/_ctypes/libffi/src/arm/ffi.c
Modules/_ctypes/libffi/src/arm/ffi.c
+3
-3
No files found.
Modules/_ctypes/libffi.diff
View file @
a61d058b
...
...
@@ -184,3 +184,26 @@ diff -urN libffi-3.1/src/dlmalloc.c libffi/src/dlmalloc.c
set_lock(m, locked);
}
return (mspace)m;
diff -urN libffi-3.1/src/arm/ffi.c libffi/src/arm/ffi.c
--- libffi-3.1/src/arm/ffi.c Sat Aug 09 23:52:34 2014 +0200
+++ libffi/src/arm/ffi.c Sat Aug 09 23:58:38 2014 +0200
@@ -154,9 +154,6 @@
int ffi_prep_args_VFP(char *stack, extended_cif *ecif, float *vfp_space)
{
- // make sure we are using FFI_VFP
- FFI_ASSERT(ecif->cif->abi == FFI_VFP);
-
register unsigned int i, vi = 0;
register void **p_argv;
register char *argp, *regp, *eo_regp;
@@ -165,6 +162,9 @@
char done_with_regs = 0;
char is_vfp_type;
+ // make sure we are using FFI_VFP
+ FFI_ASSERT(ecif->cif->abi == FFI_VFP);
+
/* the first 4 words on the stack are used for values passed in core
* registers. */
regp = stack;
Modules/_ctypes/libffi/src/arm/ffi.c
View file @
a61d058b
...
...
@@ -154,9 +154,6 @@ int ffi_prep_args_SYSV(char *stack, extended_cif *ecif, float *vfp_space)
int
ffi_prep_args_VFP
(
char
*
stack
,
extended_cif
*
ecif
,
float
*
vfp_space
)
{
// make sure we are using FFI_VFP
FFI_ASSERT
(
ecif
->
cif
->
abi
==
FFI_VFP
);
register
unsigned
int
i
,
vi
=
0
;
register
void
**
p_argv
;
register
char
*
argp
,
*
regp
,
*
eo_regp
;
...
...
@@ -165,6 +162,9 @@ int ffi_prep_args_VFP(char *stack, extended_cif *ecif, float *vfp_space)
char
done_with_regs
=
0
;
char
is_vfp_type
;
// make sure we are using FFI_VFP
FFI_ASSERT
(
ecif
->
cif
->
abi
==
FFI_VFP
);
/* the first 4 words on the stack are used for values passed in core
* registers. */
regp
=
stack
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment