Skip to content

Commit

Permalink
Revert "[MC] set OpenBSD's ELFOSABI by default" (#98494)
Browse files Browse the repository at this point in the history
Reverts #98158

bot is broken.
  • Loading branch information
joker-eph committed Jul 11, 2024
1 parent e8e2cff commit c026135
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions llvm/include/llvm/MC/MCELFObjectWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ class MCELFObjectTargetWriter : public MCObjectTargetWriter {
return ELF::ELFOSABI_FREEBSD;
case Triple::Solaris:
return ELF::ELFOSABI_SOLARIS;
case Triple::OpenBSD:
return ELF::ELFOSABI_OPENBSD;
default:
return ELF::ELFOSABI_NONE;
}
Expand Down
4 changes: 0 additions & 4 deletions llvm/test/MC/ELF/osabi.s
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,3 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s | llvm-readobj -h - | \
# RUN: FileCheck %s --check-prefix=FREEBSD
# FREEBSD: OS/ABI: FreeBSD

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-openbsd %s | llvm-readobj -h - | \
# RUN: FileCheck %s --check-prefix=OPENBSD
# OPENBSD: OS/ABI: OpenBSD

0 comments on commit c026135

Please sign in to comment.