This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what is TC_RELOC_MANGLE?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]