gas symbol struct field renaming
authorAlan Modra <amodra@gmail.com>
Fri, 21 Aug 2020 03:31:37 +0000 (13:01 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 21 Aug 2020 09:09:23 +0000 (18:39 +0930)
commit3c0d9d71db89b5b55ae7f6cb180f4f548efa4bef
tree260d593298eac65b1a7d00d6e564996d03d13fb3
parente01e1cee39777b6278ff01502742347247e8dfd7
gas symbol struct field renaming

Get rid of sy_ prefix, and some unused fields.

* symbols.c (struct symbol_flags): Rename sy_volatile to volatil,
and remove sy_ from other field names.  Update throughout.
(struct symbol): Remove sy_ from field names.  Delete unused
TARGET_SYMBOL_FIELDS.  Update throughout file.  Move after..
(struct local_symbol): ..here.  Remove lsy_ from field names.
Delete unused TC_LOCAL_SYMFIELD_TYPE.  Update throughout file.
(local_symbol_resolved_p, local_symbol_mark_resolved): Delete.
Expand uses throughout file.
(local_symbol_get_frag, local_symbol_set_frag): Likewise.
(symbol_new): Move symbol_table_frozen test to..
(symbol_append): ..here, and..
(symbol_insert): ..here.
(resolve_symbol_value, symbol_relc_make_expr): White space fixes.
(HANDLE_XADD_OPT1, HANDLE_XADD_OPT2): Likewise.
* config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Update.
gas/ChangeLog
gas/config/obj-coff.h
gas/symbols.c