This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Special MIPS relocation - How to?
- From: "Francisco Rodriguez" <prodrig at disca dot upv dot es>
- To: <binutils at sources dot redhat dot com>
- Date: Wed, 3 Jul 2002 21:20:21 +0200
- Subject: 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
====================================================