diff options
author | Matthieu Longo <matthieu.longo@arm.com> | 2024-11-28 23:21:05 +0000 |
---|---|---|
committer | Matthieu Longo <matthieu.longo@arm.com> | 2024-12-02 15:18:40 +0000 |
commit | d364a2ddb4bfe3680f03dd24b724a867e35ee372 (patch) | |
tree | c1e89be5316fb250a2ac36738ae0d22108e047b8 /gdb/testsuite/gdb.python | |
parent | 946b753836b65ef5785e488e6b1527bb78d62694 (diff) | |
download | binutils-d364a2ddb4bfe3680f03dd24b724a867e35ee372.zip binutils-d364a2ddb4bfe3680f03dd24b724a867e35ee372.tar.gz binutils-d364a2ddb4bfe3680f03dd24b724a867e35ee372.tar.bz2 |
aarch64: refactoring _bfd_aarch64_elf_check_bti_report
Before this patch, warnings were reported normally, and errors
(introduced by a previous patch adding '-z bti-report' option)
were logged as error but were not provoking a link failure.
The root of the issue was a misuse of _bfd_error_handler to
report the errors.
Replacing _bfd_error_handler by info->callbacks->einfo, with the
addition of the formatter '%X' for errors fixed the issue.
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions