[all-commits] [llvm/llvm-project] 784f57: [LLD][ELF][AArch64] .note.gnu.property sections sh...

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


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

  Changed paths:
    M lld/ELF/SyntheticSections.cpp
    A lld/test/ELF/gnu-property-align-32.s
    A lld/test/ELF/gnu-property-align.s
    M lld/test/ELF/pt-gnu-property.s

  Log Message:
  -----------
  [LLD][ELF][AArch64] .note.gnu.property sections should have alignment 8

The .note.gnu.property SHT_NOTE sections on AArch64 (a 64-bit target)
should have alignment 8 to more closely match the binutils implementation
where alignment is 4-bytes on 32-bit machines and 8-bytes on 64-bit
machines.

Previously LLD was using 4 for both 32-bit and 64-bit machines.

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




More information about the All-commits mailing list