2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-alpha.c (s_alpha_end): Don't crash if there is no matching .ent.
This commit is contained in:
parent
77f091ddb5
commit
b80901c73f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-12-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
|
||||
matching .ent.
|
||||
|
||||
2003-12-04 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* tc.h (md_pcrel_from): Don't declare if defined as a macro.
|
||||
|
|
|
@ -4494,7 +4494,7 @@ s_alpha_end (dummy)
|
|||
as_warn (_(".end directive names different symbol than .ent"));
|
||||
|
||||
/* Create an expression to calculate the size of the function. */
|
||||
if (sym)
|
||||
if (sym && cur_frame_data)
|
||||
{
|
||||
OBJ_SYMFIELD_TYPE *obj = symbol_get_obj (sym);
|
||||
expressionS *exp = xmalloc (sizeof (expressionS));
|
||||
|
|
Loading…
Reference in a new issue