diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-10-27 11:49:24 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-10-27 11:49:24 +0000 |
commit | 90dacc256f3ecd35464ccdc50979cf2ea5f2a3b4 (patch) | |
tree | fdafe25adc21efd99137e61a7bfc1411722ececc /llvm/tools/llvm-c-test/echo.cpp | |
parent | 3396bf07a238d2792512ec44da86e6f7993d4d7f (diff) | |
download | bcm5719-llvm-90dacc256f3ecd35464ccdc50979cf2ea5f2a3b4.tar.gz bcm5719-llvm-90dacc256f3ecd35464ccdc50979cf2ea5f2a3b4.zip |
[ELF] - Ignore non-absolute R_386_GOTPC relocation in debug sections.
This is for PR34852.
GCC 8.0 or earlier have a bug that it emits R_386_GOTPC relocations
against _GLOBAL_OFFSET_TABLE for .debug_info. The bug seems to have
been fixed in 2017: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630,
but we do not want LLD to report errors for such inputs.
In this patch we ignore such relocations.
Differential revision: https://reviews.llvm.org/D38625
llvm-svn: 316761
Diffstat (limited to 'llvm/tools/llvm-c-test/echo.cpp')
0 files changed, 0 insertions, 0 deletions