[PATCH] D142595: [Driver][AVR] Don't emit default '-Tdata' when '-T' is specified

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 30 19:13:47 PST 2023


MaskRay added a comment.

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.


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

https://reviews.llvm.org/D142595



More information about the cfe-commits mailing list