[clang] [llvm] [AVR] Handle flash RO data mapped to data space for newer devices (PR #146244)

Tom Vijlbrief via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 02:34:08 PDT 2025


================
@@ -651,8 +651,19 @@ void AVR::Linker::ConstructJob(Compilation &C, const JobAction &JA,
   // This is almost always required because otherwise avr-ld
   // will assume 'avr2' and warn about the program being larger
   // than the bare minimum supports.
-  if (Linker.find("avr-ld") != std::string::npos && FamilyName)
----------------
tomtor wrote:

I can remove the new linker options. A user could use `-T` and additional linker options if needed.

https://github.com/llvm/llvm-project/pull/146244


More information about the llvm-commits mailing list