qsort: tc-xtensa.c tidy
authorAlan Modra <amodra@gmail.com>
Tue, 15 Oct 2019 12:34:14 +0000 (23:04 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Oct 2019 00:33:34 +0000 (11:03 +1030)
commit8ef6decbc1f3a5965fff70289e2bdccae3f9aa3c
treee20a037c9de93b42f9ec7ead0a97dcbcfcadd89b
parentd9f06fca198cd11bbfd8c03e389a75f5d735b3a4
qsort: tc-xtensa.c tidy

Not much to see here, just reduce the number of calls to S_GET_VALUE
and symbol_symbolS in the comparison functions.

* config/tc-xtensa.c (xg_order_trampoline_chain_entry): Don't
call S_GET_VALUE multiple times for a symbol.  Rearrange code
so it is obvious what is the primary sort key.
(xg_order_trampoline_chain): Similarly.
gas/ChangeLog
gas/config/tc-xtensa.c