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:
4cc7006
)
Fix word size and alignment for OpenBSD/mips64(el)
author
Jasper Lievisse Adriaanse
<jasper@openbsd.org>
Sat, 27 Jun 2015 13:21:29 +0000
(13:21 +0000)
committer
Ivan Maidanski
<ivmai@mail.ru>
Wed, 15 May 2019 08:21:44 +0000
(11:21 +0300)
* include/private/gcconfig.h [MIPS && OPENBSD] (CPP_WORDSZ): Define
macro; add comment.
* include/private/gcconfig.h [MIPS && OPENBSD] (ALIGNMENT): Define to 8
(instead of 4).
include/private/gcconfig.h
patch
|
blob
|
history
diff --git
a/include/private/gcconfig.h
b/include/private/gcconfig.h
index
4e7e444
..
cf4ebc9
100644
(file)
--- a/
include/private/gcconfig.h
+++ b/
include/private/gcconfig.h
@@
-1850,7
+1850,8
@@
EXTERN_C_BEGIN
# endif
# ifdef OPENBSD
# define OS_TYPE "OPENBSD"
-# define ALIGNMENT 4
+# define CPP_WORDSZ 64 /* all OpenBSD/mips platforms are 64-bit */
+# define ALIGNMENT 8
# ifndef GC_OPENBSD_THREADS
EXTERN_C_END
# include <sys/param.h>