projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09fa451
)
Fix getcontext usage on OpenRISC/or1k
author
Manuel A. Fernandez Montecelo
<manuel.montezelo@gmail.com>
Sat, 23 Aug 2014 09:19:43 +0000
(13:19 +0400)
committer
Ivan Maidanski
<ivmai@mail.ru>
Sat, 23 Aug 2014 09:19:43 +0000
(13:19 +0400)
* include/private/gcconfig.h (NO_GETCONTEXT): Do not use getcontext(2)
on OpenRISC 1000 (or1k) as it is not implemented yet.
include/private/gcconfig.h
patch
|
blob
|
history
diff --git
a/include/private/gcconfig.h
b/include/private/gcconfig.h
index
7c1bb3f
..
549f041
100644
(file)
--- a/
include/private/gcconfig.h
+++ b/
include/private/gcconfig.h
@@
-2653,7
+2653,8
@@
#if ((defined(UNIX_LIKE) && (defined(DARWIN) || defined(HURD) \
|| defined(OPENBSD) || defined(ARM32) \
- || defined(MIPS) || defined(AVR32))) \
+ || defined(MIPS) || defined(AVR32) \
+ || defined(OR1K))) \
|| (defined(LINUX) && (defined(SPARC) || defined(M68K))) \
|| ((defined(RTEMS) || defined(PLATFORM_ANDROID)) && defined(I386))) \
&& !defined(NO_GETCONTEXT)