qsort: objcopy.c section sort
authorAlan Modra <amodra@gmail.com>
Mon, 14 Oct 2019 03:24:09 +0000 (13:54 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 14 Oct 2019 06:17:13 +0000 (16:47 +1030)
commit6ce9ba7afcc64217e008d3b51f8c7ef4c496957e
tree1f2ea7a9e33a46bc58c3cfadc7a2a42ae3aafcdc
parent47f6ff2f9e679cd1f7af6fecbba5f62daf3bee95
qsort: objcopy.c section sort

* objcopy.c (compare_section_lma): Correct comment.  Dereference
section pointer earlier and lose unnecessary const.  Style fixes.
Add final sort by id.
binutils/ChangeLog
binutils/objcopy.c