[clang] [PS5][Driver] Pass layout metrics to the linker (PR #114435)

Paul T Robinson via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 31 20:31:03 PDT 2024


================
@@ -295,6 +302,9 @@ void tools::PS5cpu::Linker::ConstructJob(Compilation &C, const JobAction &JA,
   if (Shared)
     CmdArgs.push_back("--shared");
 
+  if (!Relocatable && !Shared && !PIE)
----------------
pogo59 wrote:

Does this want to consider `Static` as well? Just wondering, no opinion either way.

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


More information about the cfe-commits mailing list