wolfgang 2003/10/08 02:42:36 PDT
Modified files:
ghc/rts Linker.c LinkerInternals.h
Log:
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.
Revision Changes Path
1.136 +114 -6 fptools/ghc/rts/Linker.c
1.7 +7 -1 fptools/ghc/rts/LinkerInternals.h
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc