beos.em qsort predicate tidy
authorAlan Modra <amodra@gmail.com>
Fri, 6 Sep 2019 02:53:41 +0000 (12:23 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 6 Sep 2019 03:25:37 +0000 (12:55 +0930)
commitf5c3a9e3055224d8ed8140d48c96465294839e95
tree0e20f57b81079c94d9a11dcda841b6ddce7f348e
parentb16c44debcf8a446e94e161e328169f5c8d5d811
beos.em qsort predicate tidy

lang_input_section_type** is better than lang_statement_union_type**
here since that is in fact the type passed to the qsort predicate,
and I think it's worth factoring out the common indirections.

* emultempl/beos.em (sort_by_file_name): Use appropriate
intermediary variables.
(sort_by_section_name): Likewise.
ld/ChangeLog
ld/emultempl/beos.em