8000 packages:mold: add version 2.39.0 by egtvedt · Pull Request #2354 · crosstool-ng/crosstool-ng · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

packages:mold: add version 2.39.0 #2354

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

egtvedt
Copy link
Contributor
@egtvedt egtvedt commented May 6, 2025

Add newly released mold version 2.39.0 from upstream https://github.com/rui314/mold

2.39.0
New Features

  • [ARM32] Support for 32-bit big-endian ARM has been added. Although running ARM32 in big-endian mode is very rare, the processor does technically support both little- and big-endian modes, and we now support both.

  • There are two variants of big-endian mode for ARM32: BE32 and BE8. BE32 is now obsolete and uses big-endian format for both instructions and data. In BE8, instructions are always in little-endian (i.e., the same as little-endian ARM32), while only the data is in big-endian. mold supports only BE8 output.

Bug Fixes and Compatibility Improvements

  • Fixed a spurious --no-allow-shlib-undefined error.

  • [ARM][PPC] Fixed a regression introduced in 2.38.0 that mold could crash when linking a large program.

  • Previously, --default-symver didn't set versions to symbols if the symbols were marked as global: in a version script. Now, --default-symver correctly version all symbols with the soname of the output file.

  • [RISC-V] Fixed an issue where mold reported an error on R_RISCV_32 when the target was 64-bit RISC-V.

  • [RISC-V] Fixed an issue where a call to an weak undefined symbol within the same shared library was mistakenly turned into an infinite loop. Now, such calls are promoted to a function call through the PLT entry.

  • Fixed an issue that mold falls into an infinite loop in a rare occasion when computing an address of the program header.

Add newly released mold version 2.39.0 from upstream
https://github.com/rui314/mold

2.39.0
New Features
- [ARM32] Support for 32-bit big-endian ARM has been added. Although
  running ARM32 in big-endian mode is very rare, the processor does
  technically support both little- and big-endian modes, and we now
  support both.

- There are two variants of big-endian mode for ARM32: BE32 and BE8.
  BE32 is now obsolete and uses big-endian format for both instructions
  and data. In BE8, instructions are always in little-endian (i.e., the
  same as little-endian ARM32), while only the data is in big-endian.
  mold supports only BE8 output.

Bug Fixes and Compatibility Improvements
- Fixed a spurious --no-allow-shlib-undefined error.

- [ARM][PPC] Fixed a regression introduced in 2.38.0 that mold could
  crash when linking a large program.

- Previously, --default-symver didn't set versions to symbols if the
  symbols were marked as global: in a version script. Now,
  --default-symver correctly version all symbols with the soname of the
  output file.

- [RISC-V] Fixed an issue where mold reported an error on R_RISCV_32
  when the target was 64-bit RISC-V.

- [RISC-V] Fixed an issue where a call to an weak undefined symbol
  within the same shared library was mistakenly turned into an infinite
  loop. Now, such calls are promoted to a function call through the PLT
  entry.

- Fixed an issue that mold falls into an infinite loop in a rare
  occasion when computing an address of the program header.

Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
@egtvedt egtvedt force-pushed the mold-add-2.39.0 branch from 0f645d5 to 923aaec Compare May 6, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0