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]

Re: unsupported reloc 11 against global symbol


>> Finally, my question is whether our assembler code is buggy
>> (although the bfd linker could deal with it), whether this is a
>> missing gold feature or a whether this is a gold bug.
>
> First, since relocations are per-cpu, you'll need to tell us which CPU
> type you are working on.

Looks like it may be SPARC -- reloc 11 is R_SPARC_13, which is not
supported by gold. I'd say that a conditional branch to a global
symbol is not something we expect a compiler to generate. Try putting
a local label immediately after the global and use that for the target
of the bne instruction.

-cary


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