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
fc28e435
Commit
fc28e435
authored
Aug 06, 2010
by
Oliver Kiddle
Committed by
Anthony Green
Aug 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable build with sun compiler
From-SVN: r162933
parent
f2e994f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
libffi/ChangeLog
+5
-0
libffi/src/x86/ffitarget.h
+3
-3
No files found.
libffi/ChangeLog
View file @
fc28e435
...
...
@@ -49,6 +49,11 @@
* src/arm/sysv.S (__ARM_ARCH__): Define for processor
__ARM_ARCH_7EM__.
2010-01-15 Oliver Kiddle <okiddle@yahoo.co.uk>
* src/x86/ffitarget.h (ffi_abi): Check for __i386 and __amd64 for
Sun Studio compiler compatibility.
2010-01-12 Conrad Irwin <conrad.irwin@gmail.com>
* doc/libffi.texi: Add closure example.
...
...
libffi/src/x86/ffitarget.h
View file @
fc28e435
/* -----------------------------------------------------------------*-C-*-
ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc.
ffitarget.h - Copyright (c) 1996-2003
, 2010
Red Hat, Inc.
Copyright (C) 2008 Free Software Foundation, Inc.
Target configuration macros for x86 and x86-64.
...
...
@@ -74,10 +74,10 @@ typedef enum ffi_abi {
#else
/* ---- Intel x86 and AMD x86-64 - */
#if !defined(X86_WIN32) && (defined(__i386__) || defined(__x86_64__))
#if !defined(X86_WIN32) && (defined(__i386__) || defined(__x86_64__)
|| defined(__i386) || defined(__amd64)
)
FFI_SYSV
,
FFI_UNIX64
,
/* Unix variants all use the same ABI for x86-64 */
#if
def __i386__
#if
defined(__i386__) || defined(__i386)
FFI_DEFAULT_ABI
=
FFI_SYSV
,
#else
FFI_DEFAULT_ABI
=
FFI_UNIX64
,
...
...
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