aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1994-01-19 00:16:03 +0000
committerSteve Chamberlain <sac@cygnus>1994-01-19 00:16:03 +0000
commitec0bcbbaa11ea9207ae00dc142d3b6e41556d2a0 (patch)
treeb0d146a633ff40fdbbea65ac3ff5a121228e68ef /gas
parent19302e449a76098c24dad0f868e4535c227205af (diff)
downloadgdb-ec0bcbbaa11ea9207ae00dc142d3b6e41556d2a0.zip
gdb-ec0bcbbaa11ea9207ae00dc142d3b6e41556d2a0.tar.gz
gdb-ec0bcbbaa11ea9207ae00dc142d3b6e41556d2a0.tar.bz2
* config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
C_FCN assume .val has been set to .
Diffstat (limited to 'gas')
-rw-r--r--gas/config/obj-coffbfd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index 2e42c14..b648bb2 100644
--- a/gas/config/obj-coffbfd.c
+++ b/gas/config/obj-coffbfd.c
@@ -897,6 +897,7 @@ DEFUN (obj_coff_def, (what),
unsigned int dim_index;
+
static void
obj_coff_endef (ignore)
int ignore;
@@ -945,6 +946,9 @@ obj_coff_endef (ignore)
SF_SET_PROCESS (last_line_symbol);
function_lineoff = -1;
}
+ /* Value is always set to . */
+ def_symbol_in_progress->sy_frag = frag_now;
+ S_SET_VALUE (def_symbol_in_progress, (valueT) frag_now_fix ());
break;
#ifdef C_AUTOARG
@@ -1474,7 +1478,7 @@ DEFUN_VOID (yank_symbols)
(long) (S_GET_VALUE (symbolP) -
S_GET_VALUE (last_functionP)));
SA_SET_SYM_ENDNDX (last_functionP, symbol_number);
- last_functionP = (symbolS *) 0;
+ last_functionP = (symbolS *) 0;
}
}
}
@@ -2303,6 +2307,8 @@ obj_coff_lcomm (ignore)
char *p;
symbolS *symbolP;
+ s_lcomm(0);
+ return;
name = input_line_pointer;
c = get_symbol_end ();