summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-12-31 07:42:54 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-12-31 07:42:54 +0000
commitedb61167e5a5fe439d0f31801172f9ba8912a5b7 (patch)
tree578c9b531bcbedde550d429bf65155826d9589ae /llvm/test
parent7672eb84af7f57e9f40778b7df59a1bb41f4f8be (diff)
downloadbcm5719-llvm-edb61167e5a5fe439d0f31801172f9ba8912a5b7.tar.gz
bcm5719-llvm-edb61167e5a5fe439d0f31801172f9ba8912a5b7.zip
[ELF] - Add missing dynamic tags when producing output with IRelative relocations only.
This is "Bug 35751 - .dynamic relocation entries omitted if output contains only IFUNC relocations" We have InX::RelaPlt and InX::RelaIPlt synthetic sections for PLT relocations. They are usually live in rela.plt section. Problem appears when InX::RelaPlt section is empty. In that case we did not produce normal set of dynamic tags required, because logic was written in the way assuming we always have non-IRelative relocations in rela.plt. Patch fixes the issue. Differential revision: https://reviews.llvm.org/D41592 llvm-svn: 321600
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud