Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
97afd5df
Commit
97afd5df
authored
Mar 13, 1997
by
sof
Browse files
[project @ 1997-03-13 07:57:25 by sof]
Andre\'s AIX fix for const
parent
9a1d788d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/includes/SMClosures.lh
View file @
97afd5df
...
...
@@ -1067,7 +1067,11 @@ closures indexed by literal characters. As with @CONST@ closures,
#define CHARLIKE_CLOSURE_NoNONPTRS(closure) (1L)
/* Array of static charlike closures */
#ifndef aix_TARGET_OS /* AIX gives link errors with consts in this file (RO assembler section) */
extern const W_ CHARLIKE_closures[];
#else
extern W_ CHARLIKE_closures[];
#endif
/* Macro to retrieve static charlike closure */
#define CHARLIKE_CLOSURE(the_char) \
...
...
ghc/includes/SMInfoTables.lh
View file @
97afd5df
...
...
@@ -1746,7 +1746,11 @@ during a return.
/* Declare the phantom info table vectors (just Bool at the moment) */
#ifndef COMPILING_GHC
#ifndef aix_TARGET_OS /* AIX gives link errors with this as a const (RO assembler section) */
EXTDATA_RO(PrelBase_Bool_itblvtbl);
#else
extern W_ PrelBase_Bool_itblvtbl[];
#endif
#endif
\end{code}
...
...
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