Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
3b48af01
Kaydet (Commit)
3b48af01
authored
Agu 09, 2014
tarafından
doko@ubuntu.com
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Issue #22176: Fix build failure on ARM with -Werror=declaration-after-statement
üst
6a66f155
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
libffi.diff
Modules/_ctypes/libffi.diff
+23
-0
ffi.c
Modules/_ctypes/libffi/src/arm/ffi.c
+3
-3
No files found.
Modules/_ctypes/libffi.diff
Dosyayı görüntüle @
3b48af01
...
@@ -184,3 +184,26 @@ diff -urN libffi-3.1/src/dlmalloc.c libffi/src/dlmalloc.c
...
@@ -184,3 +184,26 @@ diff -urN libffi-3.1/src/dlmalloc.c libffi/src/dlmalloc.c
set_lock(m, locked);
set_lock(m, locked);
}
}
return (mspace)m;
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
Dosyayı görüntüle @
3b48af01
...
@@ -154,9 +154,6 @@ int ffi_prep_args_SYSV(char *stack, extended_cif *ecif, float *vfp_space)
...
@@ -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
)
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
unsigned
int
i
,
vi
=
0
;
register
void
**
p_argv
;
register
void
**
p_argv
;
register
char
*
argp
,
*
regp
,
*
eo_regp
;
register
char
*
argp
,
*
regp
,
*
eo_regp
;
...
@@ -165,6 +162,9 @@ int ffi_prep_args_VFP(char *stack, extended_cif *ecif, float *vfp_space)
...
@@ -165,6 +162,9 @@ int ffi_prep_args_VFP(char *stack, extended_cif *ecif, float *vfp_space)
char
done_with_regs
=
0
;
char
done_with_regs
=
0
;
char
is_vfp_type
;
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
/* the first 4 words on the stack are used for values passed in core
* registers. */
* registers. */
regp
=
stack
;
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