Howto special MIPS relocation?
Francisco Rodriguez
prodrig@disca.upv.es
Wed Jul 3 13:13:00 GMT 2002
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
====================================================
More information about the Gcc
mailing list