[clang] [PS5][Driver] Supply libraries and CRT objects to the linker (PR #115497)

2024-11-14 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd closed https://github.com/llvm/llvm-project/pull/115497 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PS5][Driver] Pass user search paths to linker before implict ones (PR #119875)

2024-12-13 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd updated https://github.com/llvm/llvm-project/pull/119875 >From a089ea0865504e39fd93320504c6572c04be2b19 Mon Sep 17 00:00:00 2001 From: Edd Dawson Date: Fri, 13 Dec 2024 12:45:45 + Subject: [PATCH 1/2] [PS5][Driver] Pass user search paths to linker before

[clang] [PS5][Driver] Pass user search paths to linker before implict ones (PR #119875)

2024-12-13 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd created https://github.com/llvm/llvm-project/pull/119875 Responsibility for setting up implicit library search paths was recently transferred to the PS5 driver (llvm#109796). Prior to this, SIE private patches in lld performed this function. During the transi

[clang] [PS4/PS5][Driver] Observe /target/lib for libraries (PR #123350)

2025-01-22 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd closed https://github.com/llvm/llvm-project/pull/123350 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PS5][Driver] Don't link with --build-id when -static (PR #123930)

2025-01-22 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd closed https://github.com/llvm/llvm-project/pull/123930 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PS5][Driver] Don't link with --build-id when -static (PR #123930)

2025-01-22 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd created https://github.com/llvm/llvm-project/pull/123930 Users of the PlayStation SDK aren't given the means to create or run static executables. Uses of `-static` are limited a few specialized cases within SIE. A `--build-id` isn't wanted in those cases. SI

[clang] [PS4/PS5][Driver] Observe /target/lib for libraries (PR #123350)

2025-01-21 Thread Edd Dawson via cfe-commits
@@ -174,25 +174,26 @@ // Test implicit library search paths are supplied to the linker, after any // search paths specified by the user. /target/lib is implicitly -// added if it exists and no --sysroot is specified. CRT objects are found -// there. "." is always implicitly ad

[clang] [PS4/PS5][Driver] Observe /target/lib for libraries (PR #123350)

2025-01-17 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd edited https://github.com/llvm/llvm-project/pull/123350 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PS4/PS5][Driver] Observe /target/lib for libraries (PR #123350)

2025-01-17 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd created https://github.com/llvm/llvm-project/pull/123350 On PS5, if a custom --sysroot is supplied, /target/lib should be added to the library search paths (this already occurs if the default --sysroot is not overridden). Until now, this has been hardcoded as

<    1   2