diff options
author | Alan Modra <amodra@gmail.com> | 2005-04-09 03:48:09 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-04-09 03:48:09 +0000 |
commit | be95a9c15d32e35e7529c6a4e035e60398184b99 (patch) | |
tree | d7ed5002b1056c9a39ea4a4d0a4387bc47097a6c /gas/as.h | |
parent | f0885a038a82dccd604b3667e14dbc6bb3df4e99 (diff) | |
download | gdb-be95a9c15d32e35e7529c6a4e035e60398184b99.zip gdb-be95a9c15d32e35e7529c6a4e035e60398184b99.tar.gz gdb-be95a9c15d32e35e7529c6a4e035e60398184b99.tar.bz2 |
PR gas/827
* as.h (rs_dummy): Define.
* symbols.c (symbol_X_add_number): New function.
* symbols.h (symbol_X_add_number): Declare.
* stabs.c (aout_process_stab): Tidy symbol frag setting.
* read.c (assign_symbol): New function, split out from s_set.
Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy.
Fix COFF hacks for multi-emulation gas.
(s_set): Call assign_symbol. Remove "register" keyword.
(set_zero_frag): New function.
(pseudo_set): Always check for assignment to section syms.
Always set segment and frag of symbol, and likewise extern for
aout/bout. Handle assignment of sym=sym+/-const specially. Don't
special case exp.X_add_number non-zero for O_symbol expressions.
(equals): Use assign_symbol.
Diffstat (limited to 'gas/as.h')
-rw-r--r-- | gas/as.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -324,10 +324,13 @@ extern segT text_section, data_section, bss_section; enum _relax_state { + /* Dummy frag used by listing code. */ + rs_dummy = 0, + /* Variable chars to be repeated fr_offset times. Fr_symbol unused. Used with fr_offset == 0 for a constant length frag. */ - rs_fill = 1, + rs_fill, /* Align. The fr_offset field holds the power of 2 to which to align. The fr_var field holds the number of characters in the |