[all-commits] [llvm/llvm-project] 0b8b86: Revert "[ELF] Split scanRelocations into scanReloc...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Dec 13 19:30:06 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b8b86e30fc5511b13b8ce28508c2b1ee645b1d6
      https://github.com/llvm/llvm-project/commit/0b8b86e30fc5511b13b8ce28508c2b1ee645b1d6
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M lld/ELF/Relocations.cpp
    M lld/ELF/Relocations.h
    M lld/ELF/Symbols.h
    M lld/ELF/Writer.cpp
    M lld/test/ELF/aarch64-ifunc-bti.s
    M lld/test/ELF/aarch64-thunk-pi.s
    M lld/test/ELF/arm-branch-undef-weak-plt-thunk.s
    M lld/test/ELF/arm-gnu-ifunc.s
    M lld/test/ELF/arm-thumb-interwork-thunk.s
    M lld/test/ELF/bsymbolic.s
    M lld/test/ELF/gnu-ifunc-i386.s
    M lld/test/ELF/ppc32-canonical-plt.s
    M lld/test/ELF/ppc32-ifunc-nonpreemptible-pic.s
    M lld/test/ELF/ppc32-reloc-got.s
    M lld/test/ELF/ppc64-ifunc.s
    M lld/test/ELF/relocation-nocopy.s
    M lld/test/ELF/riscv-reloc-got.s
    M lld/test/ELF/symver.s
    M lld/test/ELF/version-script-symver.s
    M lld/test/ELF/wrap-no-real.s
    M lld/test/ELF/wrap-plt.s
    M lld/test/ELF/x86-64-gotpc-relax-und-dso.s
    M lld/test/ELF/x86-64-plt.s
    M lld/test/ELF/x86-x32-plt.s

  Log Message:
  -----------
  Revert "[ELF] Split scanRelocations into scanRelocations/postScanRelocations"

This reverts commit fc33861d48a95aa4682ce3b6e44732e5c8bbd092.

`replaceWithDefined` should copy needsGot, otherwise an alias for a copy
relocated symbol may not have GOT entry if its needsGot was originally true.




More information about the All-commits mailing list