<div dir="ltr">Random: Could you please link that document into <a href="http://llvm.org/docs/CompilerWriterInfo.html#linux">http://llvm.org/docs/CompilerWriterInfo.html#linux</a> alongside the other processor supplement documents?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 23, 2015 at 6:18 AM, Simon Atanasyan <span dir="ltr"><<a href="mailto:simon@atanasyan.com" target="_blank">simon@atanasyan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi silvas,<br>
<br>
MIPS64 ELF file has a very specific relocation record format. Each record might specify up to three relocation operations. So the `r_info` field in fact consists of three relocation type sub-fields and optional code of "special" symbols.<br>
<br>
<a href="http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf" target="_blank">http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf</a><br>
page 40<br>
<br>
The patch implements support of the MIPS64 relocation record format in yaml2obj/obj2yaml tools by introducing new optional Relocation fields: `Type2`, `Type3`, and `SpecSym`. These fields are recognized only if the object/YAML file relates to the MIPS64 target.<br>
<br>
<a href="http://reviews.llvm.org/D7136" target="_blank">http://reviews.llvm.org/D7136</a><br>
<br>
Files:<br>
include/llvm/Object/ELFTypes.h<br>
include/llvm/Object/ELFYAML.h<br>
include/llvm/Support/ELF.h<br>
lib/Object/ELFYAML.cpp<br>
test/Object/Mips/elf-mips64-rel.yaml<br>
tools/yaml2obj/yaml2elf.cpp<br>
<br>
EMAIL PREFERENCES<br>
<a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
</blockquote></div><br></div>