ELFPPC32 / final link failed: Bad value

Simon Vallet linux-ppc@castalie.org
Thu Jan 18 20:35:00 GMT 2007


Hi,

I'm currently trying to map a Mach-O object to an ELF32 one to port a
binary-only driver to Linux/PPC.

The resulting object used to link to a .ko without too much problems,
but after having fixed (?) some relocation handling bugs in the mapper,
this is what I get when I try to link the resulting object:

ld: final link failed: Bad value

I have little doubt that the generated ELF object is somehow incorrect,
but I can't find a way to make ld more verbose about the "Bad value" in
question (the only options in the documentation seemed to be the
--warn* options, and they didn't detail the problem either)

Any hint ?

Simon



More information about the Binutils mailing list