[PATCH] [ELFYAML] Support mips64 relocation record format in yaml2obj/obj2yaml

Sean Silva chisophugis at gmail.com
Sat Jan 24 06:14:19 PST 2015


Random: Could you please link that document into
http://llvm.org/docs/CompilerWriterInfo.html#linux alongside the other
processor supplement documents?

On Fri, Jan 23, 2015 at 6:18 AM, Simon Atanasyan <simon at atanasyan.com>
wrote:

> Hi silvas,
>
> 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.
>
>
> http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf
> page 40
>
> 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.
>
> http://reviews.llvm.org/D7136
>
> Files:
>   include/llvm/Object/ELFTypes.h
>   include/llvm/Object/ELFYAML.h
>   include/llvm/Support/ELF.h
>   lib/Object/ELFYAML.cpp
>   test/Object/Mips/elf-mips64-rel.yaml
>   tools/yaml2obj/yaml2elf.cpp
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150124/30a7eef6/attachment.html>


More information about the llvm-commits mailing list