Commit fa939355 authored by dons's avatar dons
Browse files

[project @ 2004-10-08 07:23:40 by dons]

For platforms with no PIC method defined, use
LabelAccessStyle of AccessDirectly, in howToAccessLabel.
This seems to keep the ncg working on OpenBSD.

Is this the correct default, Wolfgang?
parent 08253784
......@@ -243,7 +243,12 @@ howToAccessLabel isJump lbl
| otherwise = AccessViaSymbolPtr
#else
howToAccessLabel = panic "PositionIndependentCode.howToAccessLabel"
--
-- all other platforms
--
howToAccessLabel _ _
| not opt_PIC = AccessDirectly
| otherwise = panic "howToAccessLabel: PIC not defined for this platform"
#endif
-- -------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment