Howto special MIPS relocation?
Eric Christopher
echristo@redhat.com
Wed Jul 3 13:22:00 GMT 2002
On Wed, 03 Jul 2002 11:44:05 -0700, Francisco Rodriguez wrote:
> 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?
Should probably ask this question on the binutils list, since that's
where it would apply.
binutils@sources.redhat.com
Thanks.
-eric
--
I will not carve gods
More information about the Gcc
mailing list