[lld] [llvm] [docs] Update release notes for APX relocation types (PR #118575)

Feng Zou via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 19:23:00 PST 2024


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

>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 1/2] [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
 -----------------------------
 

>From 7c5eb14cbe77e001dcf51f6c644790f25e5247d7 Mon Sep 17 00:00:00 2001
From: Feng Zou <feng.zou at intel.com>
Date: Sat, 7 Dec 2024 11:22:38 +0800
Subject: [PATCH 2/2] Address comments.

---
 lld/docs/ReleaseNotes.rst | 4 ++--
 llvm/docs/ReleaseNotes.md | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst
index b8eda14e593bd1..d69a8851facd2e 100644
--- a/lld/docs/ReleaseNotes.rst
+++ b/lld/docs/ReleaseNotes.rst
@@ -35,8 +35,8 @@ 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>`_)
+* Supported relocation types for x86-64 target:
+  * ``R_X86_64_CODE_4_GOTPCRELX`` (`#109783 <https://github.com/llvm/llvm-project/pull/109783>`_) (`#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>`_)
diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index b15bf346f71055..8f13451ae202fe 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -265,7 +265,7 @@ Changes to the X86 Backend
 
 * Supported ``-mcpu=diamondrapids``
 
-* Supported emitting relocation types for X86_64 target:
+* 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`



More information about the llvm-commits mailing list