[all-commits] [llvm/llvm-project] 251340: [lld][WebAssembly] Add support for -Bsymbolic flag

Sam Clegg via All-commits all-commits at lists.llvm.org
Mon Oct 12 17:25:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2513407d39506edf2a98f647088a9e1789f8c418
      https://github.com/llvm/llvm-project/commit/2513407d39506edf2a98f647088a9e1789f8c418
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    A lld/test/wasm/bsymbolic.s
    M lld/wasm/Config.h
    M lld/wasm/Driver.cpp
    M lld/wasm/Options.td
    M lld/wasm/Relocations.cpp
    M lld/wasm/SyntheticSections.cpp
    M lld/wasm/SyntheticSections.h
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Add support for -Bsymbolic flag

This flag works in a similar way to the ELF linker in that it
will resolve any defined symbols to their local definition with
a shared library or -pie executable.

This flag has no effect on static linking.

Differential Revision: https://reviews.llvm.org/D89152




More information about the All-commits mailing list