Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7cf0b297
Commit
7cf0b297
authored
Mar 14, 1997
by
sof
Browse files
[project @ 1997-03-14 01:56:33 by sof]
AIX const changes
parent
6ed36218
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/runtime/storage/SMstatic.lc
View file @
7cf0b297
...
...
@@ -21,7 +21,10 @@ EXTDATA_RO(PrelBase_IZh_static_info);
#define INTLIKE_HDR(n) SET_STATIC_FIXED_HDR(__INTLIKE_CLOSURE(n),PrelBase_IZh_static_info,CC_DONTZuCARE), (W_) n
const W_ CHARLIKE_closures[] = {
#ifndef aix_TARGET_OS /* AIX gives link errors with consts in this file (RO assembler section) */
const
#endif
W_ CHARLIKE_closures[] = {
CHARLIKE_HDR(0),
CHARLIKE_HDR(1),
CHARLIKE_HDR(2),
...
...
@@ -280,7 +283,11 @@ const W_ CHARLIKE_closures[] = {
CHARLIKE_HDR(255)
};
static const W_ INTLIKE_closures_def[] = {
static
#ifndef aix_TARGET_OS /* AIX gives link errors with consts in this file (RO assembler section) */
const
#endif
W_ INTLIKE_closures_def[] = {
INTLIKE_HDR(-16), /* MIN_INTLIKE == -16 */
INTLIKE_HDR(-15),
INTLIKE_HDR(-14),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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