This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ELFPPC32 / final link failed: Bad value
- From: Simon Vallet <linux-ppc at castalie dot org>
- To: binutils at sourceware dot org
- Date: Thu, 18 Jan 2007 21:35:40 +0100
- Subject: ELFPPC32 / final link failed: Bad value
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