[all-commits] [llvm/llvm-project] 665f91: [ELF] Reimplement unknown -z options using the isC...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jan 21 18:16:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 665f913e4509e3e4f531aa4a4ebe92ec2ea5c23f
      https://github.com/llvm/llvm-project/commit/665f913e4509e3e4f531aa4a4ebe92ec2ea5c23f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/common-page.s
    M lld/test/ELF/driver.test

  Log Message:
  -----------
  [ELF] Reimplement unknown -z options using the isClaimed bit

Maintaining the long list of known -z options
(https://reviews.llvm.org/D48621) turns out to be cumbersome. Go the
D48433 route instead.

max-page-size/common-page-size are claimed when `target` is available.

Inspired by: https://reviews.llvm.org/D48433




More information about the All-commits mailing list