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
6109092d
Commit
6109092d
authored
Jan 17, 2007
by
Mike Stump
Committed by
Mike Stump
Jan 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* os_dep.c: Fix i686-apple-darwin9 builds.
From-SVN: r120874
parent
4eb3e795
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
boehm-gc/ChangeLog
+4
-0
boehm-gc/os_dep.c
+10
-1
No files found.
boehm-gc/ChangeLog
View file @
6109092d
2007-01-17 Mike Stump <mrs@apple.com>
* os_dep.c: Fix i686-apple-darwin9 builds.
2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
* aclocal.m4: Regenerate to use multi.m4.
* aclocal.m4: Regenerate to use multi.m4.
...
...
boehm-gc/os_dep.c
View file @
6109092d
...
@@ -3405,6 +3405,15 @@ extern kern_return_t exception_raise_state_identity(
...
@@ -3405,6 +3405,15 @@ extern kern_return_t exception_raise_state_identity(
#define MAX_EXCEPTION_PORTS 16
#define MAX_EXCEPTION_PORTS 16
#if defined (HAS_PPC_THREAD_STATE___R0) || \
defined (HAS_PPC_THREAD_STATE64___R0) || \
defined (HAS_X86_THREAD_STATE32___EAX) || \
defined (HAS_X86_THREAD_STATE64___RAX)
# define THREAD_FLD(x) __ ## x
#else
# define THREAD_FLD(x) x
#endif
static
struct
{
static
struct
{
mach_msg_type_number_t
count
;
mach_msg_type_number_t
count
;
exception_mask_t
masks
[
MAX_EXCEPTION_PORTS
];
exception_mask_t
masks
[
MAX_EXCEPTION_PORTS
];
...
@@ -3846,7 +3855,7 @@ catch_exception_raise(
...
@@ -3846,7 +3855,7 @@ catch_exception_raise(
#if defined(POWERPC)
#if defined(POWERPC)
addr
=
(
char
*
)
exc_state
.
dar
;
addr
=
(
char
*
)
exc_state
.
dar
;
#elif defined (I386) || defined (X86_64)
#elif defined (I386) || defined (X86_64)
addr
=
(
char
*
)
exc_state
.
faultvaddr
;
addr
=
(
char
*
)
exc_state
.
THREAD_FLD
(
faultvaddr
)
;
#else
#else
# error FIXME for non POWERPC/I386
# error FIXME for non POWERPC/I386
#endif
#endif
...
...
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