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
a4cb3cfb
Commit
a4cb3cfb
authored
Oct 18, 2004
by
desrt
Browse files
[project @ 2004-10-18 02:16:34 by desrt]
trivial changes to correct a build-breaker that only affects linux/powerpc
parent
a3e01707
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/nativeGen/PositionIndependentCode.hs
View file @
a4cb3cfb
...
...
@@ -55,6 +55,10 @@ import CLabel ( CLabel, pprCLabel,
dynamicLinkerLabelInfo
,
mkPicBaseLabel
,
labelDynamic
,
externallyVisibleCLabel
)
#
if
powerpc_TARGET_ARCH
&&
linux_TARGET_OS
import
CLabel
(
mkForeignLabel
)
#
endif
import
MachRegs
import
MachInstrs
import
NCGMonad
(
NatM
,
getNewRegNat
,
getNewLabelNat
)
...
...
@@ -391,7 +395,7 @@ pprGotDeclaration = vcat [
pprImportedSymbol
importedLbl
|
Just
(
SymbolPtr
,
lbl
)
<-
dynamicLinkerLabelInfo
importedLbl
vcat
[
=
vcat
[
ptext
SLIT
(
".section
\"
.got2
\"
,
\"
aw
\"
"
),
ptext
SLIT
(
".LC_"
)
<>
pprCLabel_asm
lbl
<>
char
':'
,
ptext
SLIT
(
"
\t
.long"
)
<+>
pprCLabel_asm
lbl
...
...
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