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]

what is TC_RELOC_MANGLE?


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



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