https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/107112
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/107410
The following discrepancies concerning `-isysroot` and `--sysroot` motivated
this change:
- The SDK directory can be specified via `-isysroot`, but `--sysroot` has no
influence over this. Yet, we check
https://github.com/playstation-edd edited
https://github.com/llvm/llvm-project/pull/107410
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/107410
>From a20158570f15b4200937650b90e07b99e230e3df Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Wed, 4 Sep 2024 12:30:11 +0100
Subject: [PATCH 1/2] [PS4,PS5][Driver] Detangle --sysroot and -isysroot
The
playstation-edd wrote:
> According to [gcc
> docs](https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html) `--sysroot`
> applies to headers and libraries, and `-isysroot` overrides it for headers
> only. This is different from the "independence" described for World 2. That
> is, if we have
@@ -323,46 +323,63 @@ toolchains::PS4PS5Base::PS4PS5Base(const Driver &D, const
llvm::Triple &Triple,
const ArgList &Args, StringRef Platform,
const char *EnvVar)
: Generic_ELF(D, Triple, Args) {
- // D
@@ -323,46 +323,63 @@ toolchains::PS4PS5Base::PS4PS5Base(const Driver &D, const
llvm::Triple &Triple,
const ArgList &Args, StringRef Platform,
const char *EnvVar)
: Generic_ELF(D, Triple, Args) {
- // D
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/107410
>From a20158570f15b4200937650b90e07b99e230e3df Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Wed, 4 Sep 2024 12:30:11 +0100
Subject: [PATCH 1/3] [PS4,PS5][Driver] Detangle --sysroot and -isysroot
The
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/107410
>From a20158570f15b4200937650b90e07b99e230e3df Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Wed, 4 Sep 2024 12:30:11 +0100
Subject: [PATCH 1/4] [PS4,PS5][Driver] Detangle --sysroot and -isysroot
The
@@ -1,42 +1,64 @@
-// Check that PS4 clang doesn't report a warning message when locating
-// system header files (either by looking at the value of SCE_ORBIS_SDK_DIR
-// or relative to the location of the compiler driver), if "-nostdinc",
-// "--sysroot" or "-isysroot" option is
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/102020
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/102901
The PS5 linker currently forces `-pie` for typical link jobs. Have the driver
pass `pie` under the same conditions. With this change we can remove our
private linker patch and also allow `-no-pie` to ha
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/100160
Some of SIE's post-mortem analysis infrastructure currently makes use of
.debug_aranges, so we'd like to ensure the section's presence in PlayStation
binaries. The simplest way to do this is to force em
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/100160
>From 3a336780b4c3596863294afc47969967dac5f9bb Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Fri, 19 Jul 2024 17:52:00 +0100
Subject: [PATCH 1/4] [PS4/PS5][Driver][DWARF] Always emit .debug_aranges for
@@ -0,0 +1,33 @@
+; This checks that .debug_aranges is always generated for the SCE debugger
playstation-edd wrote:
Done!
https://github.com/llvm/llvm-project/pull/100160
___
cfe-commits mailing list
cfe-commits@lists.
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/100160
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/100423
The driver doesn't know if LTO will occur at link time. That's determined by
the presence or absence of LLVM bitcode objects among those ingested by the
linker.
For this reason, LTO options for codegen
@@ -152,48 +152,38 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
CmdArgs.push_back(Output.getFilename());
}
- const bool UseLTO = D.isUsingLTO();
const bool UseJMC =
Args.hasFlag(options::OPT_fjmc, options::OPT_fno_jmc, fals
@@ -152,48 +152,38 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
CmdArgs.push_back(Output.getFilename());
}
- const bool UseLTO = D.isUsingLTO();
const bool UseJMC =
Args.hasFlag(options::OPT_fjmc, options::OPT_fno_jmc, fals
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/100423
>From daa53d8cf7850a4bb11a7780410b969602138565 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Wed, 24 Jul 2024 16:39:09 +0100
Subject: [PATCH 1/3] [PS4/PS5][Driver] Always pass LTO options to the linker
@@ -152,48 +152,38 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
CmdArgs.push_back(Output.getFilename());
}
- const bool UseLTO = D.isUsingLTO();
const bool UseJMC =
Args.hasFlag(options::OPT_fjmc, options::OPT_fno_jmc, fals
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/100423
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/100592
... when requested.
Upstreaming a private patch.
SIE tracker: TOOLCHAIN-16575
>From cc1cbf728c0e7aa13260af2101c0e312ae81 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 25 Jul 2024 16:58:57 +
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/100592
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/101034
It's common in SIE development environments to have the PlayStation linkers on
the %PATH%. In such cases, the driver will resolve the linker name to an
existing executable, replete with ".exe" extension
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/101202
The PS4 linker doesn't accept an empty LTO options string. Passing nothing is
also consistent with other drivers.
SIE tracker: TOOLCHAIN-16575
>From 4ee96bd211de1c1499c1860988af1f8369e20d93 Mon Sep 17
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/101202
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/99629
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/99711
…uning (#99629)"
This reverts commit 22eb290a9696e2a3fd042096c61e35eca2fcce0c.
>From 9025e82a8b7a560963160ea2a3b180fdaf3fc1d4 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Fri, 19 Jul 2024 22:36:22 +0
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/99711
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
playstation-edd wrote:
Apologies - will do. For the record, there was a failure on builder
llvm-clang-x86_64-sie-win.
https://lab.llvm.org/buildbot/#/builders/46/builds/1956
https://github.com/llvm/llvm-project/pull/99711
___
cfe-commits mailing list
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/107112
The PlayStation drivers emit warnings if it looks like SDK libraries are
missing. Until this point, the check was skipped when either -nostdlib or
-nodefaultlibs was supplied. I believe the idea is that
@@ -36,9 +35,6 @@
// RUN: env SCE_ORBIS_SDK_DIR=.. %clang -Winvalid-or-nonexistent-directory
-### -emit-ast -isysroot foo -target x86_64-scei-ps4 %s 2>&1 | FileCheck
-check-prefix=WARN-ISYSROOT -check-prefix=NO-WARN %s
// RUN: env SCE_ORBIS_SDK_DIR=.. %clang -Winvalid-or-nonex
https://github.com/playstation-edd edited
https://github.com/llvm/llvm-project/pull/107112
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd edited
https://github.com/llvm/llvm-project/pull/107112
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/98884
It has long been the case on PlayStation that the linker itself has taken on
much of the responsibility that is traditionally the domain of the C language
driver elsewhere: which linker script to use, se
playstation-edd wrote:
> If you wish to, you can add reviewers by using the "Reviewers" section on
> this page.
>
> If this is not working for you, it is probably because you do not have write
> permissions for the repository. In which case you can instead tag reviewers
> by name in a comment
playstation-edd wrote:
> Looks like you don't have write permission so I'll merge it for you.
Thanks!
https://github.com/llvm/llvm-project/pull/98884
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/102020
On PlayStation, allow users to supply -static to the linker, via the driver.
An initial step. Later changes will have the PS5 driver supply additional
options to the linker, if and when -static is passe
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/102020
>From aa97906cdf1ac08e0b5d607914c28dcb2bbc2545 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Mon, 5 Aug 2024 17:42:55 +0100
Subject: [PATCH 1/2] [PS4/PS5][Driver] Allow -static in PlayStation drivers
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/102020
>From aa97906cdf1ac08e0b5d607914c28dcb2bbc2545 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Mon, 5 Aug 2024 17:42:55 +0100
Subject: [PATCH 1/3] [PS4/PS5][Driver] Allow -static in PlayStation drivers
@@ -141,6 +141,9 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
if (Args.hasArg(options::OPT_pie))
CmdArgs.push_back("-pie");
+
playstation-edd wrote:
Oops - thanks. Removed.
https://github.com/llvm/llvm-project/pull/
@@ -141,6 +141,9 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
if (Args.hasArg(options::OPT_pie))
CmdArgs.push_back("-pie");
+
+ if (Args.hasArg(options::OPT_static))
+CmdArgs.push_back("--static");
playstation-ed
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/102901
>From 0ca2239d21cb414ce5e6fb9057d442c18f61a32e Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Mon, 12 Aug 2024 14:11:11 +0100
Subject: [PATCH 1/3] [PS5][Driver] Link main components with -pie by default
@@ -237,7 +237,10 @@ void tools::PS5cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
if (!D.SysRoot.empty())
CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
- if (Args.hasArg(options::OPT_pie))
+ // Default to PIE for non-static main com
@@ -1,3 +1,18 @@
+// Test that PIE is the default for main components
+
+// RUN: %clang --target=x86_64-scei-ps5 %s -### 2>&1 | FileCheck
--check-prefixes=CHECK-PIE %s
+
+// CHECK-PIE: {{ld(\.exe)?}}"
+// CHECK-PIE-SAME: "-pie"
+
+// RUN: %clang --target=x86_64-scei-ps5 -no-pie %
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/102901
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/105810
`x86_64-sie-ps5` is the triple we share with PS5 toolchain users who have
reason to care about such things. The vast majority of PS5 checks and tests
already use this variant. Quashing the handful of st
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/105810
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/113162
Until now, these options have been hardcoded as downstream patches in LLD. Add
them to the driver so that the private patches can be removed.
PS5 only. These implementation of these behaviours will rema
playstation-edd wrote:
@pogo59 - I recall you expressed an interest in being subscribed to such PRs.
Please do let me know if it gets tiresome!
https://github.com/llvm/llvm-project/pull/113162
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/113162
>From 0d931fb93485472e2e7263496eb6d2bc71a9ae73 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Mon, 21 Oct 2024 13:08:31 +0100
Subject: [PATCH 1/3] [PS5][Driver] Pass default -z options to PS5 linker
Un
@@ -240,11 +242,32 @@ void tools::PS5cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
CmdArgs.push_back(
Args.MakeArgString("--sysroot=" + TC.getSDKLibraryRootDir()));
- // Default to PIE for non-static executables.
- const bool PIE =
- !Args.hasA
@@ -240,11 +242,32 @@ void tools::PS5cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
CmdArgs.push_back(
Args.MakeArgString("--sysroot=" + TC.getSDKLibraryRootDir()));
- // Default to PIE for non-static executables.
- const bool PIE =
- !Args.hasA
https://github.com/playstation-edd edited
https://github.com/llvm/llvm-project/pull/113162
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/113162
>From 0d931fb93485472e2e7263496eb6d2bc71a9ae73 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Mon, 21 Oct 2024 13:08:31 +0100
Subject: [PATCH 1/2] [PS5][Driver] Pass default -z options to PS5 linker
Un
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/113162
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/114038
None
>From cb44afa8945af89dada57335eb410ba2fc802188 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Tue, 29 Oct 2024 11:52:43 +
Subject: [PATCH] [PS4/PS5][Driver] Apply clang-format to PS4CPU.cpp (N
playstation-edd wrote:
Note to self: fix typo in comment on submission ("The~se~ implementation ...").
https://github.com/llvm/llvm-project/pull/113162
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/113595
Until now, these options have been hardcoded as downstream patches in lld. Add
them to the driver so that the private patches can be removed.
PS5 only. On PS4, the proprietary linker will continue to pe
https://github.com/playstation-edd edited
https://github.com/llvm/llvm-project/pull/113595
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/114060
Until now, this has been hardcoded as a downstream patch in lld. Add it to the
driver so that the private patch can be removed.
PS5 only. On PS4, the equivalent hardcoded configuration will remain in th
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/113595
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/114546
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/115009
Until now, suppression of `DT_DEBUG` has been hardcoded as a downstream patch
in lld. This can instead be achieved by passing `-z rodynamic`. Have the driver
do this so that the private patch can be rem
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/115009
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/114435
Until now, these have been hardcoded as a downstream patches in lld. Add them
to the driver so that the private patch can be removed.
PS5 only. On PS4, the equivalent hardcoded configuration will remain
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/114546
Until now, this has been hardcoded as a downstream patch in lld. Add it to the
driver so that the private patch can be removed.
PS5 only. On PS4, the equivalent hardcoded configuration will remain in th
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/114435
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/113452
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/113452
None
>From 3552f590214267e5f81719d94c43be545e474cb3 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Wed, 23 Oct 2024 13:42:49 +0100
Subject: [PATCH] [PS5][Driver] Query `OPT_r`/`OPT_shared`/`OPT_static`
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/115497
>From 112e3e7ca9e3fd041fb0a1a0b7d97aa26740a908 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 7 Nov 2024 13:57:45 +
Subject: [PATCH 1/4] [PS5][Driver] Supply libraries and CRT objects to the
l
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/115497
Until now, these have been hardcoded as a downstream patches in lld. Add them
to the driver so that the private patches can be removed.
PS5 only. On PS4, the equivalent hardcoded configuration will rema
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/115497
>From 112e3e7ca9e3fd041fb0a1a0b7d97aa26740a908 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 7 Nov 2024 13:57:45 +
Subject: [PATCH 1/2] [PS5][Driver] Supply libraries and CRT objects to the
l
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/115497
>From 112e3e7ca9e3fd041fb0a1a0b7d97aa26740a908 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 7 Nov 2024 13:57:45 +
Subject: [PATCH 1/3] [PS5][Driver] Supply libraries and CRT objects to the
l
@@ -97,6 +97,60 @@
// Check the default library name.
// CHECK-JMC: "--push-state" "--whole-archive" "-lSceJmc_nosubmission"
"--pop-state"
+// Test that CRT objects and libraries are supplied to the linker and can be
+// omitted with -noxxx options. These switches have some i
playstation-edd wrote:
> Just to check my understanding, things like CHECK-MAIN-CRT-SAME are going to
> shift the match-position that FileCheck is looking at forwards, so that we
> have to match in the correct order, yes?
Yep!
> I get the feeling that given how much of the construct-a-job log
playstation-edd wrote:
> Does the flipped order of library-option-names in
> [100c3c2](https://github.com/llvm/llvm-project/commit/100c3c271437b3b6181a5a57381363f4b6e9e841)
> have an actual effect on behaviour? Just curious.
No effect. I accidentally flipped the order it in the initial commit
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/115497
>From 112e3e7ca9e3fd041fb0a1a0b7d97aa26740a908 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 7 Nov 2024 13:57:45 +
Subject: [PATCH 1/5] [PS5][Driver] Supply libraries and CRT objects to the
l
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/113595
>From 5c5a6f89ca752bf9d0452f486648f2608b7bc609 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 24 Oct 2024 10:15:16 +0100
Subject: [PATCH] [PS5][Driver] Update default linking options when `-r`
omi
@@ -67,19 +67,24 @@
// CHECK-NO-EXE-NOT: "--unresolved-symbols
// CHECK-NO-EXE-NOT: "-z"
-// Test that an appropriate linker script is supplied by the driver.
+// Test that an appropriate linker script is supplied by the driver, but can
+// be overridden with -T.
-
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/116074
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/116074
If a linker script is explicitly supplied, there's no benefit to supplying a
default script.
SIE tracker: TOOLCHAIN-17524
>From a843f4fcd5bc0c43ad0177cb3e284efe65676138 Mon Sep 17 00:00:00 2001
From: E
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/114060
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/114435
>From ebbb513f4f938c8d17a21b6061a815ffc7d8b004 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 31 Oct 2024 16:09:30 +
Subject: [PATCH 1/3] [PS5][Driver] Pass layout metrics to the linker
Until
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/114435
>From ebbb513f4f938c8d17a21b6061a815ffc7d8b004 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 31 Oct 2024 16:09:30 +
Subject: [PATCH 1/2] [PS5][Driver] Pass layout metrics to the linker
Until
@@ -21,6 +21,22 @@
// CHECK-NO-PIE-NOT: "-pie"
// CHECK-SHARED: "--shared"
+// Test the driver supplies an --image-base to the linker only for non-pie
+// executables.
+
+// RUN: %clang --target=x86_64-sie-ps5 -static %s -### 2>&1 | FileCheck
--check-prefixes=CHECK-BASE %s
+/
@@ -295,6 +302,9 @@ void tools::PS5cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
if (Shared)
CmdArgs.push_back("--shared");
+ if (!Relocatable && !Shared && !PIE)
playstation-edd wrote:
The intention is to supply a base for non-PIE ex
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/114435
>From ebbb513f4f938c8d17a21b6061a815ffc7d8b004 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Thu, 31 Oct 2024 16:09:30 +
Subject: [PATCH 1/4] [PS5][Driver] Pass layout metrics to the linker
Until
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/109796
>From 89ff568fda0062a89ed690cdb0267fc41a89325c Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Tue, 24 Sep 2024 13:05:39 +0100
Subject: [PATCH 1/2] [PS4,PS5][Driver] Pass `-L<...>/target/lib -L.` to link
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/109796
The proprietary PS4 linker implicitly adds `=/target/lib` and `.` as library
search paths. This behaviour was added to the PS5 linker via a downstream patch
in LLD. This really belongs in the driver, in
@@ -46,3 +46,26 @@
// CHECK-SYSROOT: {{ld(\.exe)?}}"
// CHECK-SYSROOT-SAME: "--sysroot=mysdk"
+
+// Test that "." is always added to library search paths. This is long-standing
+// behavior, unique to PlayStation toolchains.
+
+// RUN: %clang --target=x64_64-sie-ps5 %s -### 2>
@@ -46,3 +46,26 @@
// CHECK-SYSROOT: {{ld(\.exe)?}}"
// CHECK-SYSROOT-SAME: "--sysroot=mysdk"
+
+// Test that "." is always added to library search paths. This is long-standing
+// behavior, unique to PlayStation toolchains.
+
+// RUN: %clang --target=x64_64-sie-ps5 %s -### 2>
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/109796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/109980
None
>From 2a333786d415215f722796587c0a37b676d506a5 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Wed, 25 Sep 2024 14:27:43 +0100
Subject: [PATCH] [PS4,PS5][Driver] Fix typo in comment (NFC)
---
cla
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/115181
`--whole-archive` is passed to the linker to have it consume all objects within
the SIE Just My Code library, rather than just those that fulfil outstanding
references.
Prior to this change, `--no-whol
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/115181
>From c2eec3d06ad920ef2b7826fe9b76f1b45574e036 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Wed, 6 Nov 2024 16:24:46 +
Subject: [PATCH 1/2] [PS5][Driver] Restore whole-archive state when `-fjmc`
playstation-edd wrote:
> LGTM, although maybe CHECK_JMC instead of CHECK_LIB as it seems very JMC
> specific? No strong opinion.
Done - thanks.
https://github.com/llvm/llvm-project/pull/115181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/115181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/playstation-edd closed
https://github.com/llvm/llvm-project/pull/107410
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 109 matches
Mail list logo