[all-commits] [llvm/llvm-project] 03fe7a: [PS4/PS5][NFC] Split PScpu::Linker into PS4/PS5 cl...

Edd Dawson via All-commits all-commits at lists.llvm.org
Mon Jul 15 08:37:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03fe7a83ce79d43b63052e7762573b57a8c52db8
      https://github.com/llvm/llvm-project/commit/03fe7a83ce79d43b63052e7762573b57a8c52db8
  Author: Edd Dawson <edd.dawson at sony.com>
  Date:   2024-07-15 (Mon, 15 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/lib/Driver/ToolChains/PS4CPU.h
    A clang/test/Driver/ps4-linker.c
    R clang/test/Driver/ps4-ps5-linker.c
    A clang/test/Driver/ps5-linker.c

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list