diff options
author | Rafael Auler <rafaelauler@gmail.com> | 2014-10-08 22:38:10 +0000 |
---|---|---|
committer | Rafael Auler <rafaelauler@gmail.com> | 2014-10-08 22:38:10 +0000 |
commit | 776293660ec78301aa3f93f06ebfc8d2c343ef15 (patch) | |
tree | fdfb322b63377acb5f10a3c95c2c560556a68955 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | aa5add859d85e09cc5be7c53ec42c2820f9d148d (diff) | |
download | bcm5719-llvm-776293660ec78301aa3f93f06ebfc8d2c343ef15.tar.gz bcm5719-llvm-776293660ec78301aa3f93f06ebfc8d2c343ef15.zip |
[ELF] Fix inclusion of weak symbols in the dynamic symbol table
This commit implements in the X86_64 ELF lld backend yet another feature that
was only available in the MIPS backend. However, this patch changes generic ELF
classes to make it trivial for other ELF backends to use this logic too. When
creating a dynamic executable that has dynamic relocations against weak
undefined symbols, these symbols must be exported to the dynamic symbol table
to seek a possible resolution at run time.
A common use case is the __gmon_start__ weak glibc undefined symbol.
Reviewer: shankarke
http://reviews.llvm.org/D5571
llvm-svn: 219349
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
0 files changed, 0 insertions, 0 deletions