diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-10 10:46:17 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-10 11:05:07 +1030 |
commit | 6b5e16ffd3e8886fa3fb90d63e3200fcc373848e (patch) | |
tree | 37607be13de9a44bbaabf29c15e9668bca45a4d2 /bfd/cpu-arm.c | |
parent | 384f368958f2a5bb083660e58e5f8a010e6ad429 (diff) | |
download | fsf-binutils-gdb-6b5e16ffd3e8886fa3fb90d63e3200fcc373848e.zip fsf-binutils-gdb-6b5e16ffd3e8886fa3fb90d63e3200fcc373848e.tar.gz fsf-binutils-gdb-6b5e16ffd3e8886fa3fb90d63e3200fcc373848e.tar.bz2 |
PR25648, objcopy SIGSEGV in ihex_write_record
ihex_set_section_contents sorts records stored on the tdata.ihex_data
list by address, but ihex_write_object_contents went too far in
assuming they were not overlapping. This patch fixes the problem by
not assuming anything about addresses in ihex_write_object_contents.
PR 25648
* ihex.c (ihex_write_object_contents): Don't assume ordering of
addresses here. Remove dead code.
Diffstat (limited to 'bfd/cpu-arm.c')
0 files changed, 0 insertions, 0 deletions