projects
/
gc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a47801
)
Define ALIGNMENT and CPP_WORDSZ for x32
author
H.J. Lu
<hjl.tools@gmail.com>
Mon, 16 Apr 2012 16:26:07 +0000
(09:26 -0700)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 1 May 2012 14:52:17 +0000
(18:52 +0400)
* include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
(CPP_WORDSZ): Set to 32 for x32.
include/private/gcconfig.h
patch
|
blob
|
history
diff --git
a/include/private/gcconfig.h
b/include/private/gcconfig.h
index dbb41530acba61d60fa1a532a44796e993725ddc..767859c0df41c7316b8d2c0b15d5982dbc3636cf 100644
(file)
--- a/
include/private/gcconfig.h
+++ b/
include/private/gcconfig.h
@@
-2085,8
+2085,13
@@
# ifdef X86_64
# define MACH_TYPE "X86_64"
-# define ALIGNMENT 8
-# define CPP_WORDSZ 64
+# ifdef __ILP32__
+# define ALIGNMENT 4
+# define CPP_WORDSZ 32
+# else
+# define ALIGNMENT 8
+# define CPP_WORDSZ 64
+# endif
# ifndef HBLKSIZE
# define HBLKSIZE 4096
# endif