OSDN Git Service

[llvm-readobj] Add experimental support for SHT_RELR sections
authorJake Ehrlich <jakehehrlich@google.com>
Thu, 28 Jun 2018 21:07:34 +0000 (21:07 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Thu, 28 Jun 2018 21:07:34 +0000 (21:07 +0000)
commiteefdbb43aabbac2041be1b4ee0a134281be35dc8
tree748c71ffc91bb350464b59f5aae9a48fb309dd4c
parent540a311718efa575803e20a6dc045b115526b190
[llvm-readobj] Add experimental support for SHT_RELR sections

This change adds experimental support for SHT_RELR sections, proposed
here: https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg

Definitions for the new ELF section type and dynamic array tags, as well
as the encoding used in the new section are all under discussion and are
subject to change. Use with caution!

Author: rahulchaudhry

Differential Revision: https://reviews.llvm.org/D47919

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335922 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/BinaryFormat/DynamicTags.def
include/llvm/BinaryFormat/ELF.h
include/llvm/Object/ELF.h
include/llvm/Object/ELFTypes.h
lib/Object/ELF.cpp
lib/ObjectYAML/ELFYAML.cpp
test/tools/llvm-readobj/Inputs/elf-relr-relocs1.s [new file with mode: 0644]
test/tools/llvm-readobj/Inputs/elf-relr-relocs2.s [new file with mode: 0644]
test/tools/llvm-readobj/elf-relr-relocs.test [new file with mode: 0644]
tools/llvm-readobj/ELFDumper.cpp
tools/llvm-readobj/llvm-readobj.cpp
tools/llvm-readobj/llvm-readobj.h
tools/yaml2obj/yaml2elf.cpp