This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Howto special MIPS relocation?
- From: "Francisco Rodriguez" <prodrig at disca dot upv dot es>
- To: <gcc at gcc dot gnu dot org>
- Date: Wed, 3 Jul 2002 20:44:05 +0200
- Subject: Howto special MIPS relocation?
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
====================================================