diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-12-24 19:02:10 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-12-24 19:02:10 +0000 |
commit | a9c490b71dbf1bc3f657527e2a268448529cdfd4 (patch) | |
tree | 83ededb3a0666900291a448a393728f8543293ba /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 0742090e3d70475d439cc06e07e86b9254400ce1 (diff) | |
download | llvm-a9c490b71dbf1bc3f657527e2a268448529cdfd4.zip llvm-a9c490b71dbf1bc3f657527e2a268448529cdfd4.tar.gz llvm-a9c490b71dbf1bc3f657527e2a268448529cdfd4.tar.bz2 |
Allow relocations in rw sections to create plt entries.
If a relocation cannot be implemented by the dynamic linker and the
section is rw, allow creating a plt entry to use as the function
address as if the section was ro.
This matches bfd and gold. It also matches our behavior with -z
notext.
llvm-svn: 321430
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions