diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2014-11-10 14:55:11 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2014-11-10 14:55:11 +0000 |
commit | 7a825103480edcbc0d0a4063d716b912e3ff48b3 (patch) | |
tree | 258f9b3399a8da284f465ebfacd76759d760c516 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 0abfc278f02d3ea675442c8d40f10908d6724826 (diff) | |
download | llvm-7a825103480edcbc0d0a4063d716b912e3ff48b3.zip llvm-7a825103480edcbc0d0a4063d716b912e3ff48b3.tar.gz llvm-7a825103480edcbc0d0a4063d716b912e3ff48b3.tar.bz2 |
[ELF] Fix DT_INIT_ARRAY{SZ} and DT_FINI_ARRAY{SZ}
The dynamic table was creating the entry DT_FINI_ARRAY{SZ} even when there was
no .fini_array section. The entries should be creating in the dynamic section
only if there are sections .init_array/.fini_array in the output.
Fixes the tests that checked for errroneous outputs.
llvm-svn: 221588
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions