This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Indicate dependency on personality routines for ARM EHABI
Julian Brown <julian@codesourcery.com> writes:
> Perhaps it should be, and I tried it with that initially. The reason
> it isn't is because elsewhere in tc-arm.c:md_apply_fix3 BFD_RELOC_NONE
> seems to be used as an error indicator:-
>
> case BFD_RELOC_NONE:
> default:
> as_bad_where (fixP->fx_file, fixP->fx_line,
> _("bad relocation fixup type (%d)"), fixP->fx_r_type);
>
> ...which was being triggered when that relocation type was requested
> with fix_new(), I think. Is there another way around that?
That seems to be a use strictly internal to tc-arm.c, so I would
expect that it can be handled differently in that file. For example,
perhaps you could use BFD_RELOC_UNUSED, or perhaps you could add a
field to the reloc field of struct arm_it.
Ian