================
@@ -613,8 +613,8 @@ void baremetal::Linker::ConstructJob(Compilation &C, const 
JobAction &JA,
     return;
   }
 
+  CmdArgs.push_back("-X");
----------------
quic-garvgupt wrote:

I made a few mistakes in the commit message and title. The intent of this PR is 
to add support for passing the -X flag across all baremetal targets. While this 
flag has historically been used only for RISC-V, its functionality can be 
beneficial for ARM and AArch64 targets as well. The primary goal of this PR is 
to gather feedback on enabling this flag universally for baremetal toolchains, 
as it can help reduce the size of the .symtab section.

Apologies if this has been brought up or  discussed in the past in some other 
patch or thread!

The removal of extraneous `-X` has been done in this PR 
https://github.com/llvm/llvm-project/pull/148855

https://github.com/llvm/llvm-project/pull/147804
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to