Subject: CVS commit: pkgsrc/devel/mold
From: Frederic Cambus
Date: 2023-11-16 21:42:17
Message id:

Log Message:
mold: update to 2.3.3.

mold 2.3.3 contains the following bug fixes:

- --dynamic-list has different semantics for executables and DSOs.
  Previously, mold implemented only the semantics for executables, causing
  issues with libraries such as musl that used this option. mold now handles
  the option for DSOs correctly.
- Old object files often contain .ctors and .dtors sections, which hold
  function pointers for initializing and finalizing processes, respectively.
  Their roles have been superseded by .init_array and .fini_array on most
  targets. mold worked functioned correctly as long as input object files
  consistently use the old or the new sections. However, mixing object files
  that contain both types of initializers/finalizers resulted in some
  functions not being executed. This issue has been fixed.
- --defsym can cause the linker to crash if a given symbol is not defined.
  The crash bug has been fixed.
- [POWER10] On rare occasions, pointers statically initialized to functions
  could be left as null pointers. This bug has been fixed.