[all-commits] [llvm/llvm-project] cf18f1: [BOLT] Read .rela.dyn in static non-pie binary (#7...

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Thu Nov 9 23:47:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf18f142c012342e2c62c12ad789b62cf5b0479f
      https://github.com/llvm/llvm-project/commit/cf18f142c012342e2c62c12ad789b62cf5b0479f
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/AArch64/ifunc.c

  Log Message:
  -----------
  [BOLT] Read .rela.dyn in static non-pie binary (#71635)

Static non-pie binary doesn't have DYNAMIC segment and BOLT skips
reading .rela.dyn section because of it. But such binaries might have
this section for example to store IFUNC relocation which is resolved
by linked-in startup files, so force reading this section for static
executables.




More information about the All-commits mailing list