MIPS/GAS: Use a switch on relaxation type in microMIPS fixup creation
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 30 Jun 2017 23:42:19 +0000 (00:42 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Fri, 30 Jun 2017 23:42:19 +0000 (00:42 +0100)
commit834a65aadfda9755d8bd6ec76ba8b3a6d20a1beb
tree8d65445d801839f09d4dae726dceb10c241be8f1
parentbbd27b7684baf424bdaa7f0a1d39a2cd5b0d6134
MIPS/GAS: Use a switch on relaxation type in microMIPS fixup creation

Use a switch on the relaxation type rather than a chain of conditionals
in microMIPS fixup creation, improving source code structure and aiding
the compiler with code generation.

gas/
* config/tc-mips.c (md_convert_frag): Use a switch on the
microMIPS relaxation type rather than a chain of conditionals.
gas/ChangeLog
gas/config/tc-mips.c
This page took 0.031893 seconds and 4 git commands to generate.