summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-07-09 20:08:55 +0000
committerRui Ueyama <ruiu@google.com>2018-07-09 20:08:55 +0000
commit11479daf2f0652d3e11f308a0810cc44da04f31d (patch)
tree91d2ca0810a77852a15d7477dc1b9eb9d4a55d10 /llvm/test/Bitcode
parent7139dea6d9734792675ee8befa97a401f0a5cd07 (diff)
downloadbcm5719-llvm-11479daf2f0652d3e11f308a0810cc44da04f31d.tar.gz
bcm5719-llvm-11479daf2f0652d3e11f308a0810cc44da04f31d.zip
lld: add experimental support for SHT_RELR sections.
Patch by Rahul Chaudhry! This change adds experimental support for SHT_RELR sections, proposed here: https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg Pass '--pack-dyn-relocs=relr' to enable generation of SHT_RELR section and DT_RELR, DT_RELRSZ, and DT_RELRENT dynamic tags. Definitions for the new ELF section type and dynamic array tags, as well as the encoding used in the new section are all under discussion and are subject to change. Use with caution! Pass '--use-android-relr-tags' with '--pack-dyn-relocs=relr' to use SHT_ANDROID_RELR section type instead of SHT_RELR, as well as DT_ANDROID_RELR* dynamic tags instead of DT_RELR*. The generated section contents are identical. '--pack-dyn-relocs=android+relr --use-android-relr-tags' enables both '--pack-dyn-relocs=android' and '--pack-dyn-relocs=relr': lld will encode the relative relocations in a SHT_ANDROID_RELR section, and pack the rest of the dynamic relocations in a SHT_ANDROID_REL(A) section. Differential Revision: https://reviews.llvm.org/D48247 llvm-svn: 336594
Diffstat (limited to 'llvm/test/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud