[llvm-dev] ELF relocations

Hassan ELMADI via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 12 16:32:13 PDT 2018


Hi,
In the include/llvm/Support/ELFRelocs directory, there is a bunch of .def files defining enums that are to be included in ELF.h. For example, in ARM.def, there is this record:

ELF_RELOC(R_ARM_PC24,                   0x01)

What does 'R_ARM_PC24' mean and where does the value 0x01 come from?
I'm trying to define a backend for a custom cpu and I have to provide a .def file but I don't know what these records mean.
Best,

Hassan Elmadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181012/7aaf7b86/attachment.html>


More information about the llvm-dev mailing list