[clang] Add necessary linker flags when -static-pie is enabled in BareMetal Toolchain (PR #147589)

Garvit Gupta via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 8 04:24:50 PDT 2025


================
@@ -203,6 +203,19 @@
 // RUN:   | FileCheck -check-prefix=CHECK-RV64-GNU-RELAX %s
 // CHECK-RV64-GNU-RELAX-NOT: "--no-relax"
 
+// Check that "-static -pie" is forwarded to linker when "-static-pie" is used
----------------
quic-garvgupt wrote:

Done

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


More information about the cfe-commits mailing list