MIPS: elf2ecoff: Rewrite main processing loop to switch.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 2 Feb 2015 00:01:46 +0000 (01:01 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 4 Feb 2015 13:42:06 +0000 (14:42 +0100)
commit06a40ed1866ebedf336bcea90300785cc682d1c3
treebcbe5d1db72d975bcdd7339b33f7e9c10e808c5e
parent39148e94e3e1f0477ce8ed3fda00123722681f3a
MIPS: elf2ecoff: Rewrite main processing loop to switch.

The if construct was getting hard to read and would be getting even more
complex with the next bug fix.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/elf2ecoff.c