[PATCH] D65893: [llvm-objcopy] Allow the visibility of the start, end and size symbols created by --binary to be specified with --binary-symbol-visibility

Chris Jackson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 06:26:09 PDT 2019


chrisjackson added a comment.

> Is your GNU objcopy patched to use STV_HIDDEN or STV_PROTECTED for `_binary_a_{start,end,size}`?
> 
> `objcopy -I binary -O elf64-x86-64 a b` => Symbols in b are STV_HIDDEN/STV_PROTECTED?

No our GNU objcopy is not patched to change the visibility. This was not necessary, because, the GNU objcopy tool is only used with our old export scheme as described above.


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

https://reviews.llvm.org/D65893





More information about the llvm-commits mailing list