[PATCH] D61477: [ELF] -z combreloc: sort dynamic relocations by (!is_relative,symbol_index,r_offset)

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 11:51:01 PDT 2019


mcgrathr added a comment.

Sorting R_*_RELATIVE relocs first and setting REL(A)COUNT is a format requirement, period.  It's not a debatable question of optimization.

The multi-level sorting behavior here makes lld consistent with the GNU linkers, which it is not today.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61477/new/

https://reviews.llvm.org/D61477





More information about the llvm-commits mailing list