[PATCH] Indicate dependency on personality routines for ARM EHABI

Julian Brown julian@codesourcery.com
Wed Feb 9 21:48:00 GMT 2005


Richard Earnshaw wrote:
> On Wed, 2005-02-09 at 17:09, Julian Brown wrote:
> 
>>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?
> 
> 
> Hmm, that's an abuse of RELOC_NONE.  It would probably be best to change
> them to BFD_RELOC_UNUSED, then you could use BFD_RELOC_NONE for it's
> proper purpose.

OK, thanks Richard & Ian! I'll rework it then re-send.

Cheers,

Julian

-- 
Julian Brown
CodeSourcery, LLC



More information about the Binutils mailing list