llvm-project
03fe7a83 - [PS4/PS5][NFC] Split PScpu::Linker into PS4/PS5 classes (#98884)

Commit
1 year ago
[PS4/PS5][NFC] Split PScpu::Linker into PS4/PS5 classes (#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, selection of CRT objects, and so forth. This is changing on PS5. The driver will assume responsibility for such things. However, the situation on PS4 will remain as-is. To accommodate this divergence, we must first separate how linker Jobs are created. `clang/test/Driver/ps4-linker.c` has been similarly split for related reasons. In subsequent changes, PS5-specific linking behaviour can be moved from SIE private patches in the PS5 linker to the (upstream) driver without affecting the behaviour or implementation of PS4.
Parents
Loading