diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-09 20:26:33 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-09 20:26:33 +0000 |
| commit | c39e5d64b31995c3afde62759fd4de1db909ac6e (patch) | |
| tree | 257f8fcfd12f0feb8eda6f7ada45b7530422c376 /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | |
| parent | d497d36083f05abf50f00942223f703ea344d503 (diff) | |
| download | bcm5719-llvm-c39e5d64b31995c3afde62759fd4de1db909ac6e.tar.gz bcm5719-llvm-c39e5d64b31995c3afde62759fd4de1db909ac6e.zip | |
ELF: Discard .gnu.linkonce.* sections.
The linkonce feature is a sort of proto-comdat. As far as I am aware no
compiler produces linkonce sections anymore, but some glibc i386 object
files contain definitions of symbol "__x86.get_pc_thunk.bx" in linkonce
sections. Drop those sections to avoid duplicate symbol errors.
This is glibc PR20543, we should remove this hack once that has been
fixed for a while.
Fixes PR31215.
Differential Revision: https://reviews.llvm.org/D28430
llvm-svn: 291474
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions

