what is TC_RELOC_MANGLE?

Christian Groessler chris@groessler.org
Tue Aug 16 22:16:00 GMT 2005


Hi,

searching for it gives

$ find . -type f | xargs grep -i tc_reloc_mangle
./gas/config/tc-h8300.h:#define TC_RELOC_MANGLE(s,a,b,c) tc_reloc_mangle(a,b,c)
./gas/config/tc-h8300.h:extern void tc_reloc_mangle (struct fix *, struct internal_reloc *, bfd_vma);
./gas/config/tc-mcore.h:#define TC_RELOC_MANGLE(a,b,c) tc_reloc_mangle (a, b, c)
./gas/config/tc-sh.h:#define TC_RELOC_MANGLE(seg, fix, int, paddr) \
./gas/config/tc-z8k.c:tc_reloc_mangle (fixS *fix_ptr, struct internal_reloc *intr, bfd_vma base)
./gas/config/tc-z8k.h:#define TC_RELOC_MANGLE(s,a,b,c) tc_reloc_mangle(a,b,c)
./gas/config/tc-z8k.h:extern void tc_reloc_mangle
./gas/ChangeLog-9295:   (TC_RELOC_MANGLE): Define.
... [more gas/ChangeLog* matches]

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 :-)

regards,
chris




More information about the Binutils mailing list