benshi001 wrote: I have tested with avr-gcc, it seems avr-gcc also leave such tasks to the linker, so I agree with this change. Please fix other concerns of @arsenm . https://github.com/llvm/llvm-project/pull/121498