[llvm] [AMDGPU] Document that PAL uses Elf64_Rel relocation records (PR #73648)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 06:02:24 PST 2023


https://github.com/jayfoad created https://github.com/llvm/llvm-project/pull/73648

None

>From 1f191318002a3c2bdbab564a0f5ec8195bb7aee1 Mon Sep 17 00:00:00 2001
From: Jay Foad <jay.foad at amd.com>
Date: Tue, 28 Nov 2023 13:26:48 +0000
Subject: [PATCH] [AMDGPU] Document that PAL uses Elf64_Rel relocation records

---
 llvm/docs/AMDGPUUsage.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index 2d58ea86087e926..c910c1238294400 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -2033,7 +2033,8 @@ Kernel entry point
 Relocation Records
 ------------------
 
-AMDGPU backend generates ``Elf64_Rela`` relocation records. Supported
+The AMDGPU backend generates ``Elf64_Rela`` relocation records for
+AMDHSA or ``Elf64_Rel`` relocation records for Mesa/AMDPAL. Supported
 relocatable fields are:
 
 ``word32``



More information about the llvm-commits mailing list