Skip to content

ReleaseNotes: add lld/ELF notes #124508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

MaskRay
Copy link
Member

@MaskRay MaskRay commented Jan 27, 2025

No description provided.

@llvmbot llvmbot added the lld label Jan 27, 2025
@MaskRay MaskRay requested a review from smithp35 January 27, 2025 05:50
@llvmbot
Copy link
Member

llvmbot commented Jan 27, 2025

@llvm/pr-subscribers-lld

Author: Fangrui Song (MaskRay)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/124508.diff

1 Files Affected:

  • (modified) lld/docs/ReleaseNotes.rst (+23)
diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst
index 1995c80df652cb..5e07a869a09a04 100644
--- a/lld/docs/ReleaseNotes.rst
+++ b/lld/docs/ReleaseNotes.rst
@@ -29,12 +29,35 @@ ELF Improvements
 * ``-z nosectionheader`` has been implemented to omit the section header table.
   The operation is similar to ``llvm-objcopy --strip-sections``.
   (`#101286 <https://github.com/llvm/llvm-project/pull/101286>`_)
+* ``--randomize-section-padding=<seed>`` is introduced to insert random padding
+  between input sections and at the start of each segment.
+* In the tarball created due to ``--reproduce``, directories in the
+  (`#117653 <https://github.com/llvm/llvm-project/pull/117653>`_)
+  ``--dependency-file=`` argument are now stripped to fix non-existent
+  directory error when you invoke ``ld.lld @response.txt``.
+* ``--symbol-ordering-file=`` and call graph profile can now be used together.
+* When ``--call-graph-ordering-file=`` is specified, ``.llvm.call-graph-profile``
+  sections in relocatable files are no longer used.
+* In relocatable links, the ``sh_entsize`` member of a ``SHF_MERGE`` section
+  with relocations is now respected in the output.
+* Quoted symbol names can now be used in output section phdr, the LHS of
+  ``--defsym``, and ``INSERT AFTER``.
 * Section ``CLASS`` linker script syntax binds input sections to named classes,
   which are referenced later one or more times. This provides access to the
   automatic spilling mechanism of `--enable-non-contiguous-regions` without
   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>`_)
+* The ``achivename:`` syntax when matching input sections is now supported.
+  (`#119293 <https://github.com/llvm/llvm-project/pull/119293>`_)
+* To support Arm v6-M, short thunks using B.w are no longer generated.
+  (`#118111 <https://github.com/llvm/llvm-project/pull/118111>`_)
+* For AArch64, BTI-aware long branch thunks can now be created to a destination
+  function without a BTI instruction.
+  (`#108989 <https://github.com/llvm/llvm-project/pull/108989>`_)
+  (`#116402 <https://github.com/llvm/llvm-project/pull/116402>`_)
+* Relocations related to GOT and TLSDESC for the AArch64 Pointer Authentication ABI
+  are now supported.
 * 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>`_)

Copy link
Collaborator

@smithp35 smithp35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spotted a small typo, but otherwise LGTM. I'll have a check to see if there's anything else I can suggest.

@smithp35
Copy link
Collaborator

smithp35 commented Jan 27, 2025

Suggestions for addition:
Assuming it has made the release, this is a potentially breaking change for some people.

Not strictly a breaking change, but worth highlighting.

@MaskRay
Copy link
Member Author

MaskRay commented Jan 27, 2025

Suggestions for addition: Assuming it has made the release, this is a potentially breaking change for some people.

Not strictly a breaking change, but worth highlighting.

Thanks for the suggestion! Added the two items.

@MaskRay MaskRay requested a review from smithp35 January 27, 2025 18:41
@MaskRay
Copy link
Member Author

MaskRay commented Jan 28, 2025

(release/20.x will be created less one day. Likely this doesn't need more updates. Landing now.)

@MaskRay MaskRay force-pushed the users/MaskRay/spr/releasenotes-add-lldelf-notes branch from d877ff5 to 9dba29e Compare January 28, 2025 02:05
@MaskRay MaskRay merged commit ad697b2 into main Jan 28, 2025
6 of 8 checks passed
@MaskRay MaskRay deleted the users/MaskRay/spr/releasenotes-add-lldelf-notes branch January 28, 2025 02:08
github-actions bot pushed a commit to arm/arm-toolchain that referenced this pull request Jan 28, 2025
@smithp35
Copy link
Collaborator

Apologies had to leave the office before I saw the update. LGTM in post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants