[PATCH] D120045: [lld][ELF] support nested special directives in output sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 17 11:32:16 PST 2022


MaskRay added a comment.

In D120045#3329242 <https://reviews.llvm.org/D120045#3329242>, @bluca wrote:

> 

Please answer why `(READONLY)` has to be used: https://sourceware.org/pipermail/binutils/2022-February/119599.html
It's not only my complaint, but also Machael's. (I would say Alan would likely disagree as well but he usually avoids that if Nick does something.)

> One last attempt at making lld input-compatible with documented bfd features. I am willing to add (TYPE=SHT_NOTE) to the package notes metadata script even if it's only for the benefit of llvm and is not useful anywhere else, but only if the syntax is fully compatible with documented bfd syntax.

I complained about `READONLY` (https://sourceware.org/pipermail/binutils/2022-February/119796.html)

---

And a question which may render all these discussions unnecessary, why an assembler produced object file cannot be used: https://sourceware.org/pipermail/binutils/2022-February/119592.html
My feeling is that these questions were just dismissed with "Compiled object do not work and cannot possibly work sanely in this context." without a concrete example....


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120045



More information about the llvm-commits mailing list