Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (15m)  pkgsrc-2024Q1 (9d)  pkgsrc-2023Q4 (56d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (168d) 

2024-05-26 19:21:27 UTC Now

2023-01-20 18:37:30 UTC MAIN commitmail json YAML

mold: update to 1.10.0.

New features:

- mold now officially supports the --print-dependencies option to print
  out dependency information between input files. Here is a truncated
  example output when linking mold itself with the option. There are many
  use cases of the option; for example, if you want to eliminate the
  dependency to some library from your program, you can use this option
  to find out all the functions that use the library's function to fix
  them.
- [x86-64][s390x] mold now optimizes thread-local variable accesses in
  shared libraries if the library is linked with -z nodlopen. If your
  shared library is not intended to be used via dlopen(2) and your library
  frequently accesses thread-local variables, you might want to pass that
  option when linking your library.
- [arm64] mold is now able to optimize GOT load by rewriting an ADDR+LDR
  instruction pair with an ADDR+ADD if the loaded GOT value is known at
  link-time.

Bug fixes and compatibility improvements:

- mold 1.9.0 was up to 10% slower than 1.8.0 on some multicore machines.
  We fixed the performance regression and made it even faster than 1.8.0.
- Previously, mold failed to report an undefined symbol error if there's
  a weak undefined symbol of the same name. That bug resulted in producing
  a non-working executable instead of reporting a link failure. Now, mold
  correctly reports such link errors.
- mold 1.9.0 might crash with SIGSEGV if --emit-relocs is used with object
  files containing debug info. That bug has been fixed.

(fcambus)