[PATCH] D53782: [llvm-objcopy] Don't apply --localize flags to common symbols

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 31 11:07:41 PDT 2018


rupprecht added a comment.

In https://reviews.llvm.org/D53782#1282384, @jhenderson wrote:

> LGTM.
>
> I haven't even been able to get the assembler to emit a STT_COMMON symbol. What does the assembly and command-line look like?


You need to pass in `--elf-stt-common=yes`, and AFAICT also need to be using GNU as (not sure if clang can produce STT_COMMON like this).


Repository:
  rL LLVM

https://reviews.llvm.org/D53782





More information about the llvm-commits mailing list