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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 29 12:41:40 PST 2023


MaskRay added a comment.

OK. If this doesn't add `-Tdata=` driver options, I'm fine with it.
But why is default `-Tdata` added in the first place?

Most linker scripts are added as `-Wl,-T,a.lds` (`-Wl,` values are opaque to the driver), so the driver cannot really know whether a linker script is used.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142595



More information about the cfe-commits mailing list