Tidy use_complex_relocs_for
authorAlan Modra <amodra@gmail.com>
Mon, 6 May 2019 11:53:45 +0000 (21:23 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 7 May 2019 06:05:53 +0000 (15:35 +0930)
commit0f1309c8f7530b31ecc73c55e86572ff72256947
treea53de99ac45372940b596c28d81312bd37a183b3
parent26bfd82367d6ffeb1a61495ac445542e757df5b2
Tidy use_complex_relocs_for

Since I was looking at this I decided to fix the formatting, and
used an old C switch statements trick to factor out common code.

* symbols.c (use_complex_relocs_for): Formatting.  Factor out
X_add_symbol tests.
gas/ChangeLog
gas/symbols.c