[lld] [llvm] [docs] Update release notes for apx reloc (PR #118575)

Feng Zou via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 17:38:52 PST 2024


https://github.com/fzou1 created https://github.com/llvm/llvm-project/pull/118575

None

>From d945c7b30ccbb3398ba09bdcc7e041814d971b89 Mon Sep 17 00:00:00 2001
From: Feng Zou <feng.zou at intel.com>
Date: Wed, 27 Nov 2024 12:27:28 +0800
Subject: [PATCH] [docs] Update release notes for relocation types supported

---
 lld/docs/ReleaseNotes.rst | 5 +++++
 llvm/docs/ReleaseNotes.md | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst
index e8b27aaf840585..b8eda14e593bd1 100644
--- a/lld/docs/ReleaseNotes.rst
+++ b/lld/docs/ReleaseNotes.rst
@@ -35,6 +35,11 @@ ELF Improvements
   globally changing the semantics of section matching. It also independently
   increases the expressive power of linker scripts.
   (`#95323 <https://github.com/llvm/llvm-project/pull/95323>`_)
+* Supported relocation types for X86_64 target:
+  * ``R_X86_64_CODE_4_GOTPCRELX`` (`#109783 <https://github.com/llvm/llvm-project/pull/109783>`_ and `#116737 <https://github.com/llvm/llvm-project/pull/116737>`_)
+  * ``R_X86_64_CODE_4_GOTTPOFF`` (`#116634 <https://github.com/llvm/llvm-project/pull/116634>`_)
+  * ``R_X86_64_CODE_4_GOTPC32_TLSDESC`` (`#116909 <https://github.com/llvm/llvm-project/pull/116909>`_)
+  * ``R_X86_64_CODE_6_GOTTPOFF``  (`#117675 <https://github.com/llvm/llvm-project/pull/117675>`_)
 
 Breaking changes
 ----------------
diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index dd68d5296376f6..cc531bd5e860f8 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -254,6 +254,13 @@ Changes to the X86 Backend
 
 * Supported ``-mcpu=diamondrapids``
 
+* Supported emitting relocation types for X86_64 target:
+  * `R_X86_64_CODE_4_GOTPCRELX`
+  * `R_X86_64_CODE_4_GOTTPOFF`
+  * `R_X86_64_CODE_4_GOTPC32_TLSDESC`
+  * `R_X86_64_CODE_6_GOTTPOFF`
+
+
 Changes to the OCaml bindings
 -----------------------------
 



More information about the llvm-commits mailing list