Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3d420bdf
Commit
3d420bdf
authored
Aug 06, 2010
by
Dan Horák
Committed by
Anthony Green
Aug 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define libffi macros carefully
From-SVN: r162945
parent
0b4b14ac
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
0 deletions
+19
-0
libffi/ChangeLog
+7
-0
libffi/include/ffi.h.in
+2
-0
libffi/src/powerpc/ffitarget.h
+6
-0
libffi/src/s390/ffitarget.h
+2
-0
libffi/src/sparc/ffitarget.h
+2
-0
No files found.
libffi/ChangeLog
View file @
3d420bdf
...
...
@@ -2,6 +2,13 @@
* src/closures.c (selinux_enabled_check): Fix strncmp usage bug.
2010-07-07 Dan Horák <dan@danny.cz>
* include/ffi.h.in: Protect #define with #ifndef.
* src/powerpc/ffitarget.h: Ditto.
* src/s390/ffitarget.h: Ditto.
* src/sparc/ffitarget.h: Ditto.
2010-07-07 Neil Roberts <neil@linux.intel.com>
* src/x86/sysv.S (ffi_call_SYSV): Align the stack pointer to
...
...
libffi/include/ffi.h.in
View file @
3d420bdf
...
...
@@ -57,7 +57,9 @@ extern "C" {
#endif
/* Specify which architecture libffi is configured for. */
#ifndef @TARGET@
#define @TARGET@
#endif
/* ---- System configuration information --------------------------------- */
...
...
libffi/src/powerpc/ffitarget.h
View file @
3d420bdf
...
...
@@ -31,12 +31,18 @@
/* ---- System specific configurations ----------------------------------- */
#if defined (POWERPC) && defined (__powerpc64__)
/* linux64 */
#ifndef POWERPC64
#define POWERPC64
#endif
#elif defined (POWERPC_DARWIN) && defined (__ppc64__)
/* Darwin */
#ifndef POWERPC64
#define POWERPC64
#endif
#elif defined (POWERPC_AIX) && defined (__64BIT__)
/* AIX64 */
#ifndef POWERPC64
#define POWERPC64
#endif
#endif
#ifndef LIBFFI_ASM
typedef
unsigned
long
ffi_arg
;
...
...
libffi/src/s390/ffitarget.h
View file @
3d420bdf
...
...
@@ -28,8 +28,10 @@
#define LIBFFI_TARGET_H
#if defined (__s390x__)
#ifndef S390X
#define S390X
#endif
#endif
/* ---- System specific configurations ----------------------------------- */
...
...
libffi/src/sparc/ffitarget.h
View file @
3d420bdf
...
...
@@ -30,8 +30,10 @@
/* ---- System specific configurations ----------------------------------- */
#if defined(__arch64__) || defined(__sparcv9)
#ifndef SPARC64
#define SPARC64
#endif
#endif
#ifndef LIBFFI_ASM
typedef
unsigned
long
ffi_arg
;
...
...
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