]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2011-06-24 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Fri, 24 Jun 2011 15:44:41 +0000 (15:44 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 24 Jun 2011 15:44:41 +0000 (15:44 +0000)
PR gas/11625
* config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.

gas/ChangeLog
gas/config/obj-evax.c

index fb03665c9f8d4d3965d1ac4f4bf76676928b6f2e..f9acda19f743c3ace1430550a6cca2cceb78071f 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-24  Tristan Gingold  <gingold@adacore.com>
+
+       PR gas/11625
+       * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
+
 2011-06-24  Tristan Gingold  <gingold@adacore.com>
 
        * config/tc-alpha.c (add_to_link_pool): Remove useless offset
index 13fdf3ad5dc9b89990713c76b8b9eebec8d1eba2..a52b8963ffe6f34d447685e1c2897b2c563470be 100644 (file)
@@ -125,7 +125,10 @@ evax_frob_symbol (symbolS *sym, int *punt)
             O_symbol and we hope the equated symbol is still there.  */
          sym = symbol_get_value_expression (sym)->X_add_symbol;
          if (sym == NULL)
-           abort ();
+            {
+              as_bad (_("no entry symbol for global function '%s'"), symname);
+              return;
+            }
          symbol = symbol_get_bfdsym (sym);
          udata->enbsym
            = ((struct evax_private_udata_struct *)symbol->udata.p)->enbsym;
@@ -150,7 +153,7 @@ evax_frob_file_before_adjust (void)
     {
       if (S_GET_SEGMENT (l->fixp->fx_addsy) == alpha_link_section)
        {
-         symbolS * entry_sym;
+         symbolS *entry_sym;
          fixS *fixpentry, *fixppdesc, *fixtail;
 
          fixtail = seginfo->fix_tail;