[all-commits] [llvm/llvm-project] 4d6c4c: [LLD][ELF] Add support for PT_GNU_PROPERTY

Peter Smith via All-commits all-commits at lists.llvm.org
Thu Dec 5 02:07:38 PST 2019


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

  Changed paths:
    M lld/ELF/Writer.cpp
    M lld/test/ELF/aarch64-feature-bti.s
    M lld/test/ELF/aarch64-feature-btipac.s
    M lld/test/ELF/aarch64-feature-pac.s
    M lld/test/ELF/aarch64-ifunc-bti.s
    A lld/test/ELF/pt-gnu-property.s

  Log Message:
  -----------
  [LLD][ELF] Add support for PT_GNU_PROPERTY

The PT_GNU_PROPERTY program header describes the location of the
.note.gnu.property SHT_NOTES section. The linux kernel uses this program
header to find the .note.gnu.property section rather than parsing.
Executables that have properties that the kernel needs to act on that don't
have the PT_GNU_PROPERTY program header will not boot.

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




More information about the All-commits mailing list