[all-commits] [llvm/llvm-project] b64c1d: [MC] set OpenBSD's ELFOSABI by default (#98158)

John Ericson via All-commits all-commits at lists.llvm.org
Thu Jul 11 06:10:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b64c1de714c50bec7493530446ebf5e540d5f96a
      https://github.com/llvm/llvm-project/commit/b64c1de714c50bec7493530446ebf5e540d5f96a
  Author: John Ericson <John.Ericson at Obsidian.Systems>
  Date:   2024-07-11 (Thu, 11 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCELFObjectWriter.h
    M llvm/test/MC/ELF/osabi.s

  Log Message:
  -----------
  [MC] set OpenBSD's ELFOSABI by default (#98158)

This matches what is done for FreeBSD.

OpenBSD has a few special program header types, and other such ELF
extensions. Setting the ELFOSABI like so will allow LLD to support them
without needlessly impacting non-OpenBSD ELFs.

Testing strategy matches 06cecdc60ec9ebfdd4d8cdb2586d201272bdf6bd.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list