This is the mail archive of the binutils@sources.redhat.com 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]

Special MIPS relocation - How to?


Hello all

I want to include a new relocation for the MIPS target.
These new relocs are included in the object file when compile only (-c
option),
as reported by objdump.
So far, so good.

My problem now is, that these relocs should be resolved at link time,
but only when all other relocs have been processed. This is because
these relocs are based on the final ".text" section contents, not on
symbol addresses.

And I simply don't know how to do it.
I've only reached to tweak the bfd library so ld silently ignore my relocs
(in bfd_mips_elf_relocate_section).

Could anyone offer a hint about how to do it?

Best regards
    Francisco Rodriguez
====================================================
Francisco Rodriguez Ballester (prodrig@disca.upv.es)
Dept. DISCA, EUI - Univ. Politecnica de Valencia
c/Camino de Vera s/n, E-46022, VALENCIA (SPAIN)
tlf: +(34) 96 387 75 77 - fax: +(34) 96 387 75 79
====================================================




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