2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Dec 2003 00:54:16 +0000 (00:54 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Dec 2003 00:54:16 +0000 (00:54 +0000)
* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
matching .ent.

gas/ChangeLog
gas/config/tc-alpha.c

index c53d37d573d4ba01b12e0f242ae55142e77374d9..fe8ec7653787b290fca0451dcb85249f94aaafec 100644 (file)
@@ -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.
index f39c8a003d75ade140a65041c229e3da6a50ae38..638551d59ab0e7e1e9f5b12d92b548421355dce6 100644 (file)
@@ -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));
This page took 0.031827 seconds and 4 git commands to generate.