[LLVMdev] MCFixup for distance from instruction to end of .text section

Tom Stellard tom at stellard.net
Sat Jul 12 14:52:45 PDT 2014


Hi,

I would like to use a MCFixup to encode the distance in number of bytes
from an instruction to the end of the .text section.  Is there an
existing MCFixup type I can use for this?  If not, does anyone have any
suggestions for how to add a new MCFixup type that will do this?

Thanks,
Tom



More information about the llvm-dev mailing list