summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexander Richardson <arichardson.kde@gmail.com>2017-11-20 15:37:19 +0000
committerAlexander Richardson <arichardson.kde@gmail.com>2017-11-20 15:37:19 +0000
commitf4630423127d8e83d22e65a481cf18407f722dbf (patch)
tree87c27cd5cdce2ca41704f04d79734f5037f63ec0 /clang/lib/Frontend/CompilerInvocation.cpp
parent12e3a58842a15b39c2c108bf52700f2fcf99f47d (diff)
downloadbcm5719-llvm-f4630423127d8e83d22e65a481cf18407f722dbf.tar.gz
bcm5719-llvm-f4630423127d8e83d22e65a481cf18407f722dbf.zip
[ELF][MIPS] Fix crash in LLD when linking code that needs PIC thunks
Summary: The bug triggers when the following conditions are met: - A thunk is created in a given input section S - A linker script is specified - There is at least one matcher in the linker script .text section output that does not match any of the sections in the input files, before the matcher that matches section S. The issue was found when linking the FreeBSD kernel for MIPS when built with -fPIC. Patch by Alfredo Mazzinghi. Reviewers: ruiu, psmith, atanasyan Reviewed By: ruiu Subscribers: peter.smith, emaste, sdardis, krytarowski, llvm-commits Differential Revision: https://reviews.llvm.org/D40174 llvm-svn: 318653
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud