diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-04-30 01:15:17 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-04-30 01:15:17 +0000 |
commit | a85efd985c74716429b69cebbac1a5f438fd45d1 (patch) | |
tree | 50a919ea3166bf28411c317dab86696f14c7a852 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
parent | 47cf2affbdb8a8152b84965134282581692baace (diff) | |
download | bcm5719-llvm-a85efd985c74716429b69cebbac1a5f438fd45d1.tar.gz bcm5719-llvm-a85efd985c74716429b69cebbac1a5f438fd45d1.zip |
Don't create dynamic relocations to ro segments.
These would just crash at runtime.
If we ever decide to support rw text segments this should make it easier
to implement as there is now a single point where we notice the problem.
I have tested this with a freebsd buildworld. It found a non pic
assembly file being linked into a .so,. With that fixed, buildworld
finished.
llvm-svn: 268149
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
0 files changed, 0 insertions, 0 deletions