Commit Graph
162 Commits
Author SHA1 Message Date
John Törnblom 5b73e745cb cosmetics 2026-06-21 22:13:14 +02:00
John Törnblom 9fe9f78db6 cosmetics 2026-06-21 22:07:17 +02:00
Aleksei Kulaev c1e0b74f25 Fix program path issue during lld invocation 2026-06-21 21:31:42 +02:00
John Törnblom 6bd9c1b64f toolchain: improve support for objective-c 2026-05-19 22:28:10 +02:00
illusiony 64e25e8359 CMake: add PAYLOAD_DEPLOY 2026-05-12 18:30:07 +02:00
rrooij d74499b738 Omit PIE when -r is present
The options are incompatible with each other. Ran into this
when cross compiling some projects.
2026-04-17 18:47:44 +02:00
John Törnblom a967354f25 deploy: add support for URIs (file://, http:// and https://) 2026-02-12 23:06:13 +01:00
John Törnblom 9deeac8bba cosmetics 2026-02-02 23:23:54 +01:00
John Törnblom 87d19cde89 prospero-nid: implement in python to simplify binary distribution 2026-02-02 23:00:01 +01:00
John Törnblom 3485018172 cosmetics 2026-02-02 22:08:19 +01:00
John Törnblom 767cf36d1f add support for llvm-21 2026-02-01 14:12:47 +01:00
John Törnblom 51f96a350a lld: fix compatibility with older versions of ld.lld 2025-12-20 16:46:18 +01:00
John Törnblom b8504c125b lld: allow overriding default linker script 2025-12-20 12:31:11 +01:00
John Törnblom 6541cd1754 lld: disable -pie when --static is used 2025-12-20 12:29:52 +01:00
John Törnblom b5e3004271 make a couple of shell scripts work on macos 2025-10-18 14:38:04 +02:00
John Törnblom e7080848f5 llvm-config: pass args to llvm-config if LLVM_CONFIG is set 2025-10-17 22:36:55 +02:00
John Törnblom 07ea97804c meson: improve shell compatibility 2025-10-17 18:56:42 +02:00
John Törnblom d915ad81e9 cosmetics 2025-10-17 18:55:48 +02:00
buzzer-re 3b028e7139 fix cmake-bin-wrapper script for macOS shell, libcxx is compiled normally 2025-10-01 19:21:41 +02:00
John Törnblom b60dc4ff2d deploy: make port argument optional (and default to 9021) 2025-08-28 14:13:01 +02:00
John Törnblom b3f1da4ba2 lld: enforce mulated-tls when using lto 2025-08-07 22:55:09 +02:00
John Törnblom 9d14d05c58 prospero-deploy: only read from /dev/stdin if interactive mode (-i) is enabled 2025-07-15 23:31:59 +02:00
John Törnblom 8f11be6d8c prospero-deploy: redirect stdin to the payload 2025-07-15 20:09:19 +02:00
John Törnblom 5d736fede9 cmake: fix lto linking 2025-07-12 15:04:28 +02:00
John Törnblom a45a154697 lld: ensure --hash-style is the last argument 2025-06-29 16:30:09 +02:00
John Törnblom a28f7db2f3 lld: ensure GNU hash style in symbol tables 2025-06-29 16:09:46 +02:00
John Törnblom d3c96387c6 crt: remove dependencies to mdbg
NOTE: .text & .rodata sections become writable, and sceKernelSpawn is left unpatched
2025-05-30 11:09:42 +02:00
John Törnblom 9110994e06 linker: reduce file size of payloads with a large .bss section
fixes https://github.com/ps5-payload-dev/sdk/issues/28
2025-05-20 19:41:03 +02:00
Matt Vanek aec7d28a01 prospero.sh: Use make instead of gmake.
Fixes building on Arch (which lacks gmake symlink)
2025-05-17 11:04:36 +02:00
John Törnblom 2c96fbe6e8 win: set CMAKE_LINKER to prospero-lld.exe 2025-03-19 20:33:39 +01:00
John Törnblom 6dcc22301b cmake: add more paths to default tools 2025-03-19 20:30:51 +01:00
John Törnblom 0e649b5cd0 cmake: set CMAKE_STRIP 2025-03-19 20:02:36 +01:00
John Törnblom 79a20b46b4 define --sysroot when invoking clang and clang++ 2025-03-19 19:47:33 +01:00
John Törnblom 22f299fa71 initial support for llvm-20 2025-03-19 19:47:25 +01:00
John Törnblom 388e0aacae Revert "cmake: set CMAKE_INSTALL_LIBDIR"
This reverts commit 035e196cd5.
2025-03-18 20:47:31 +01:00
John Törnblom bd52c39d14 Revert "drop the PS5_SYSROOT env var, its name is missleading" 2025-03-18 19:10:50 +01:00
John Törnblom 6a05f2f168 cosmetics 2025-03-18 01:33:22 +01:00
John Törnblom 035e196cd5 cmake: set CMAKE_INSTALL_LIBDIR 2025-03-18 01:33:14 +01:00
John Törnblom 71774e40d7 drop the PS5_SYSROOT env var, its name is missleading 2025-03-18 00:40:56 +01:00
John Törnblom a93aa0f220 host: fix prospero-trip when it's copied rather thank symbolically linked 2025-03-15 18:03:44 +01:00
John Törnblom 4b1ceaa9dd rtld: improve support for init/fini functions 2025-01-28 20:28:35 +01:00
John Törnblom 3cd8345ecd lld: drop --export-dynamic flag, some elf loaders seems to crash with it 2025-01-05 14:22:29 +01:00
John Törnblom 117da81e22 crt: export symbols for a nicer stack trace 2025-01-04 15:39:23 +01:00
John Törnblom a7a133f698 cosmetics 2025-01-04 14:43:36 +01:00
John Törnblom 5627019b03 cosmetics 2025-01-03 10:33:24 +01:00
John Törnblom cfc5c3df02 cosmetics 2025-01-02 19:13:24 +01:00
John Törnblom 7ab9a42371 cosmetics 2024-12-31 18:45:32 +01:00
John Törnblom 74804c5bd9 rtld: add rudimentary support for procedure linkage tables (plt) 2024-12-27 21:24:56 +01:00
John Törnblom ae4ed3db5b crt: add custom signal handler that prints an informative stack trace 2024-12-27 21:22:33 +01:00
John Törnblom 3776903b2e fix win scripts 2024-12-21 13:27:13 +01:00