Assembler could be fixed easily (I'll contribute the patch to MacPorts
cctools port) and the library is loading and working now.
So I suggest disabling the use of 64 bit instructions and registers
when targetting PowerPC Darwin 32 bit ABI can be considered working
and a patch to gcc shouldn't be necessary.
Am 04.01.2013 um 01:02 schrieb Tobias Netzel:
Found the problem:
The assembler generates a relocation of type LO14, meaning 14 bits
that represent bits 2 - 15 of the effective address (lowest two bits
are forced to zero), which is used for some types of 64 bit loads
and stores.
Unfortunately the OS X dynamic linker doesn't support that
relocation type any more beginning with 10.4. After looking at the
dyld sources It seems LO16 should be used instead.
I'll see if I can fix the assembler.
Am 01.01.2013 um 22:06 schrieb Mike Stump:
On Jan 1, 2013, at 10:03 AM, Tobias Netzel <tobias.net...@googlemail.com
> wrote:
Or do you have any other ideas?
I don't. I'd grab the .s files (compile with -save-temps) and
start stripping things out til it loads, then then last thing
stripped was the thing that broke it.