diff options
author | Alan Modra <amodra@gmail.com> | 2001-05-25 01:59:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-05-25 01:59:43 +0000 |
commit | ce34c3732aa131c4796f9bfdd397e6a7bd5aa50b (patch) | |
tree | 26ed2e4ff7f7b25dd2c336c4772a5a040cf032ff /gas/read.c | |
parent | ac55707e4a23c79aaea24d86c515af136af8092d (diff) | |
download | gdb-ce34c3732aa131c4796f9bfdd397e6a7bd5aa50b.zip gdb-ce34c3732aa131c4796f9bfdd397e6a7bd5aa50b.tar.gz gdb-ce34c3732aa131c4796f9bfdd397e6a7bd5aa50b.tar.bz2 |
Revert last patch.
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -3151,7 +3151,6 @@ pseudo_set (symbolP) symbolS *symbolP; { expressionS exp; - segT seg; #if (defined (OBJ_AOUT) || defined (OBJ_BOUT)) && ! defined (BFD_ASSEMBLER) int ext; #endif /* OBJ_AOUT or OBJ_BOUT */ @@ -3161,7 +3160,7 @@ pseudo_set (symbolP) ext = S_IS_EXTERNAL (symbolP); #endif /* OBJ_AOUT or OBJ_BOUT */ - seg = expression (&exp); + (void) expression (&exp); if (exp.X_op == O_illegal) as_bad (_("illegal expression; zero assumed")); @@ -3237,9 +3236,9 @@ pseudo_set (symbolP) break; default: - /* The value is some complex expression. */ + /* The value is some complex expression. + FIXME: Should we set the segment to anything? */ symbol_set_value_expression (symbolP, &exp); - S_SET_SEGMENT (symbolP, seg); break; } } |