summaryrefslogtreecommitdiff
path: root/ghc/compiler/codeGen/CodeGen.lhs
diff options
context:
space:
mode:
authorwolfgang <unknown>2003-10-08 09:42:35 +0000
committerwolfgang <unknown>2003-10-08 09:42:35 +0000
commit2203c0cef25db52714de9bb33a5f3cde2d18b0f3 (patch)
treed7d9b15f532892f8b56cce6cec370a9eb9fb55d1 /ghc/compiler/codeGen/CodeGen.lhs
parent45ee5a699675235094a4f471b33f1f54670ec85a (diff)
downloadhaskell-2203c0cef25db52714de9bb33a5f3cde2d18b0f3.tar.gz
[project @ 2003-10-08 09:42:34 by wolfgang]
Mac OS X/PowerPC: Learn to cope with out-of-range relative jumps. PowerPC relative branch instructions have a 24 bit displacement field. As PPC code is always 4-byte-aligned, this yields a +-32MB range. If a particular imported symbol is outside this range, we have to redirect the jump to a short piece of new code that just loads the 32bit absolute address and jumps there.
Diffstat (limited to 'ghc/compiler/codeGen/CodeGen.lhs')
0 files changed, 0 insertions, 0 deletions