From d945c7b30ccbb3398ba09bdcc7e041814d971b89 Mon Sep 17 00:00:00 2001 From: Feng Zou 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 e8b27aaf84058..b8eda14e593bd 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 `_) +* Supported relocation types for X86_64 target: + * ``R_X86_64_CODE_4_GOTPCRELX`` (`#109783 `_ and `#116737 `_) + * ``R_X86_64_CODE_4_GOTTPOFF`` (`#116634 `_) + * ``R_X86_64_CODE_4_GOTPC32_TLSDESC`` (`#116909 `_) + * ``R_X86_64_CODE_6_GOTTPOFF`` (`#117675 `_) Breaking changes ---------------- diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md index dd68d5296376f..cc531bd5e860f 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 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 b8eda14e593bd..d69a8851facd2 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 `_) -* Supported relocation types for X86_64 target: - * ``R_X86_64_CODE_4_GOTPCRELX`` (`#109783 `_ and `#116737 `_) +* Supported relocation types for x86-64 target: + * ``R_X86_64_CODE_4_GOTPCRELX`` (`#109783 `_) (`#116737 `_) * ``R_X86_64_CODE_4_GOTTPOFF`` (`#116634 `_) * ``R_X86_64_CODE_4_GOTPC32_TLSDESC`` (`#116909 `_) * ``R_X86_64_CODE_6_GOTTPOFF`` (`#117675 `_) diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md index b15bf346f7105..8f13451ae202f 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`