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

John Ericson via All-commits all-commits at lists.llvm.org
Thu Jul 11 14:23:03 PDT 2024


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

  Changed paths:
    M lld/test/ELF/basic-sparcv9.s
    M llvm/include/llvm/MC/MCELFObjectWriter.h
    M llvm/test/MC/ELF/osabi.s

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

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.

Take two of #98158 / b64c1de714c50bec7493530446ebf5e540d5f96a, which was
reverted in #98494 / c0261351136e4a826be697e5ebb5fa638abe7485.
Preexisting test is fixed now.



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