This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]