PR25648, objcopy SIGSEGV in ihex_write_record
authorAlan Modra <amodra@gmail.com>
Tue, 10 Mar 2020 00:16:17 +0000 (10:46 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 10 Mar 2020 00:35:07 +0000 (11:05 +1030)
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.


No differences found
This page took 0.02373 seconds and 4 git commands to generate.