[all-commits] [llvm/llvm-project] 28d05d: [ELF][PPC64] Fix potentially corrupted section con...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Aug 5 15:23:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28d05d672300e51f53c73fe9a4bd053e73844247
      https://github.com/llvm/llvm-project/commit/28d05d672300e51f53c73fe9a4bd053e73844247
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M lld/ELF/SyntheticSections.cpp

  Log Message:
  -----------
  [ELF][PPC64] Fix potentially corrupted section content with empty .got

D91426 makes .got possibly empty while needed. If .got and .data have the same
address, and .got's content is written after .data, the first word of .data will
be corrupted.

The bug is not testable without D131247.




More information about the All-commits mailing list