Tidy tc-ppc.c XCOFF auxent access
authorAlan Modra <amodra@gmail.com>
Mon, 27 Mar 2023 06:32:15 +0000 (17:02 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 27 Mar 2023 11:28:47 +0000 (21:58 +1030)
commit943527750e9ca12837c6f63cd28f50f41bd682be
treeb981fdfc0aabac4359460887c123d5e24f85a6ee
parentf00a29e30bfbe33e1be8d174e01763e745190a4a
Tidy tc-ppc.c XCOFF auxent access

It's better not to drill down into u.auxent but instead use a pointer
to the combined_entry_type.  That way the fix_scnlen field is
available, and no one looking at the codes needs to wonder whether
coffsymbol (symbol_get_bfdsym (sym))->native[i + 1] is the same
auxent.

* config/tc-ppc.c (ppc_frob_symbol): Tidy XCOFF auxent access.
(ppc_adjust_symtab): Likewise.
gas/config/tc-ppc.c