Fix problems with the AArch64 linker exposed by testing it with sanitization enabled.
authorNick Clifton <nickc@redhat.com>
Fri, 21 Aug 2020 14:32:20 +0000 (15:32 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 21 Aug 2020 14:32:20 +0000 (15:32 +0100)
commitccf61261eb8cce869ae4452de547a5f3afb074e4
tree1f084a53751b79a65fb94a37f80ef74084c76c86
parent02391b8be4fcb3366c23ed53e7e9aaeef734f78d
Fix problems with the AArch64 linker exposed by testing it with sanitization enabled.

bfd * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_scan): Only sort
the data map if there are entries in it.
(_bfd_aarch64_erratum_843419_scan): Likewise.

opcodes * aarch64-dis.c (get_sym_code_type): Return FALSE for non-ELF
symbols.
bfd/ChangeLog
bfd/elfnn-aarch64.c
opcodes/ChangeLog
opcodes/aarch64-dis.c