summaryrefslogtreecommitdiff
path: root/gas/struc-symbol.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-07-05 05:49:13 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-07-05 05:49:13 +0000
commit6376e75943c956d94cb3739c1a42992118630559 (patch)
tree6d106c7520f2c6bf0cf10ea1be56f5909b20ca49 /gas/struc-symbol.h
parent507db99148d70c3df09d51f0bc06532b69c71591 (diff)
downloadbinutils-redhat-6376e75943c956d94cb3739c1a42992118630559.tar.gz
* struc-symbol.h (struct local_symbol): Rename lsy_offset to
lsy_value. Correct typos in comments. * symbols.c (local_symbol_make): Update for name change. (local_symbol_convert): Likewise. (colon): Likewise. (S_GET_VALUE): Likewise. (S_SET_VALUE): Likewise. (print_symbol_value_1): Likewise. (resolve_symbol_value): Likewise. Don't divide local sym values by OCTETS_PER_BYTE twice.
Diffstat (limited to 'gas/struc-symbol.h')
-rw-r--r--gas/struc-symbol.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/struc-symbol.h b/gas/struc-symbol.h
index 01c8b4f343..90945c433b 100644
--- a/gas/struc-symbol.h
+++ b/gas/struc-symbol.h
@@ -122,14 +122,14 @@ struct local_symbol
/* The symbol section. This also serves as a flag. If this is
reg_section, then this symbol has been converted into a regular
- symbol, and sy_sym points to it. */
+ symbol, and lsy_sym points to it. */
segT lsy_section;
/* The symbol name. */
const char *lsy_name;
/* The symbol frag or the real symbol, depending upon the value in
- sy_section. If the symbol has been fully resolved, lsy_frag is
+ lsy_section. If the symbol has been fully resolved, lsy_frag is
set to NULL. */
union
{
@@ -137,8 +137,8 @@ struct local_symbol
symbolS *lsy_sym;
} u;
- /* The offset within the frag. */
- valueT lsy_offset;
+ /* The value of the symbol. */
+ valueT lsy_value;
#ifdef TC_LOCAL_SYMFIELD_TYPE
TC_LOCAL_SYMFIELD_TYPE lsy_tc;