[all-commits] [llvm/llvm-project] 6c1c23: [ELF] Simplify assignFileOffsets. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Nov 28 12:48:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c1c2313d1b7bea4e9d831fe061c37735b7d4802
      https://github.com/llvm/llvm-project/commit/6c1c2313d1b7bea4e9d831fe061c37735b7d4802
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-28 (Sun, 28 Nov 2021)

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Simplify assignFileOffsets. NFC


  Commit: f9a4d9aa0309ca353de909a19b648ab34f6c0c68
      https://github.com/llvm/llvm-project/commit/f9a4d9aa0309ca353de909a19b648ab34f6c0c68
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-28 (Sun, 28 Nov 2021)

  Changed paths:
    M lld/ELF/Writer.cpp
    M lld/test/ELF/fill-trap-ppc.s
    M lld/test/ELF/fill-trap.s

  Log Message:
  -----------
  [ELF] -z separate-*: Use max-page-size instead of common-page-size for text/non-SHF_ALLOC transition and writeTrapInstr

For -z separate-code and -z separate-loadable-segments:

When RW is present, the RX to RW transition is aligned with max-page-size.
When RW is absent, the RX to non-SHF_ALLOC transition should use max-page-size as well.


Compare: https://github.com/llvm/llvm-project/compare/3495090b9bfd...f9a4d9aa0309


More information about the All-commits mailing list