[all-commits] [llvm/llvm-project] 212061: [ELF] Support for PT_GNU_PROPERTY in header and tools

Peter Smith via All-commits all-commits at lists.llvm.org
Wed Dec 4 07:51:09 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2120612e46bc9c1b0826618229154b76cdf41309
      https://github.com/llvm/llvm-project/commit/2120612e46bc9c1b0826618229154b76cdf41309
  Author: Peter Smith <peter.smith at linaro.org>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    A llvm/test/tools/llvm-objdump/elf-pt-gnu-property.test
    A llvm/test/tools/llvm-readobj/elf-pt-gnu-property.test
    M llvm/test/tools/yaml2obj/ELF/program-header.yaml
    M llvm/tools/llvm-objdump/ELFDump.cpp
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [ELF] Support for PT_GNU_PROPERTY in header and tools

The PT_GNU_PROPERTY is generated by a linker to describe the
.note.gnu.property section. The Linux kernel uses this program header to
locate the .note.gnu.property section.

It is described in "The Linux gABI extension"

Include support for llvm-readelf, llvm-readobj and the yaml reader and
writers.

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




More information about the All-commits mailing list