diff options
author | Peter Smith <peter.smith@linaro.org> | 2016-10-20 09:59:26 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2016-10-20 09:59:26 +0000 |
commit | d648603415b76a9d78be6400ae89dee61098dbdb (patch) | |
tree | d3e11da6aa43f8abb6fc5de5f46600fb3283f920 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | db35fdf70f08d6f644ef2679b8e79af59e710f16 (diff) | |
download | llvm-d648603415b76a9d78be6400ae89dee61098dbdb.zip llvm-d648603415b76a9d78be6400ae89dee61098dbdb.tar.gz llvm-d648603415b76a9d78be6400ae89dee61098dbdb.tar.bz2 |
[ELF] Allow relative exceptions relocations in shared libraries
The R_ARM_PREL31 and R_ARM_NONE relocations should not be faulted in
shared libraries. In the case of R_ARM_NONE, we have moved the TLS
relaxation hint instruction to R_TLSDESC_CALL so that R_HINT can be used
without side-effects. In the case of R_ARM_PREL31 we permit it to be used
against PLT entries as the personality routines are imported when used in
shared libraries.
Differential Revision: https://reviews.llvm.org/D25721
llvm-svn: 284710
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions