[PATCH] D97976: [MC] Change ELFOSABI_NONE to ELFOSABI_GNU for SHF_GNU_RETAIN

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 8 17:19:49 PST 2021


MaskRay updated this revision to Diff 329170.
MaskRay added a comment.

Delete lld check. There is now no official way to get ELFOSABI_NONE for SHF_GNU_RETAIN, so testing EI_OSABI in lld/test/ELF is not useful.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97976/new/

https://reviews.llvm.org/D97976

Files:
  lld/test/ELF/gc-sections-retain.s
  llvm/include/llvm/MC/MCObjectWriter.h
  llvm/lib/MC/ELFObjectWriter.cpp
  llvm/lib/MC/MCELFStreamer.cpp
  llvm/test/MC/ELF/section-gnu.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97976.329170.patch
Type: text/x-patch
Size: 4130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210309/4c350f8d/attachment.bin>


More information about the llvm-commits mailing list