benshi001 added a comment. In D142595#4092435 <https://reviews.llvm.org/D142595#4092435>, @MaskRay wrote:
> How does avr-gcc know whether the user provides a linker script? > > I really don't like adding a default `-Tdata=` when it can interfere with > common uses of specifying a linker script. In these situations drivers not > adding default options is usually better than guessing the user intention. > If the use case is somewhat strange, we can document it. I have a question. linux-x86 has its default linker script, which can also be specified by user. How does clang driver implement that? Could you please show me where clang handle this ? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142595/new/ https://reviews.llvm.org/D142595 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits