[ELF] Set ctx.internalFile for PPC64 _savegpr[01]_{14..31} and _restgpr[01]_{14..31}. NFC
Ensure that every InputFile has a non-null file so that we enforce this
in the future.
GitOrigin-RevId: 456c239d775e10a68c65cd9d461bb47e651ccbe5
diff --git a/ELF/Arch/PPC64.cpp b/ELF/Arch/PPC64.cpp
index 657332d..3188772 100644
--- a/ELF/Arch/PPC64.cpp
+++ b/ELF/Arch/PPC64.cpp
@@ -286,7 +286,7 @@
// The full section content has the extent of [begin, end). We drop unused
// instructions and write [first,end).
auto *sec = make<InputSection>(
- nullptr, SHF_ALLOC, SHT_PROGBITS, 4,
+ ctx.internalFile, SHF_ALLOC, SHT_PROGBITS, 4,
ArrayRef(reinterpret_cast<uint8_t *>(buf.data() + first),
4 * (buf.size() - first)),
".text");