what is TC_RELOC_MANGLE?

Nick Clifton nickc@redhat.com
Wed Aug 17 17:49:00 GMT 2005


Hi Christian,

> $ find . -type f | xargs grep -i tc_reloc_mangle

Just an aside here.  Why do you do that rather than:

   grep -r -i tc_reloc_mangle .

Is it faster ?

> It doesn't seem to be used anymore, and I wanted to provide a patch to
> remove it, but in gas/config/tc-sh.c I find a snippet
> 
>     case BFD_RELOC_SH_USES:
>       /* Pass the value into sh_coff_reloc_mangle.  */
>       fixP->fx_addnumber = val;
>       break;
> 
> Don't know how to fix the comment for this :-)

May I suggest:

	/* Pass the value into sh_reloc().  */

Cheers
   Nick




More information about the Binutils mailing list