diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-06-24 15:44:41 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-06-24 15:44:41 +0000 |
commit | e3a9940106f25fd4054b6cc580b474f5eef22778 (patch) | |
tree | 862acf847248d23712c50a4befd9619f01a58162 /gas | |
parent | d120eec2956e7cb812d98be6237e5ad826cf07ec (diff) | |
download | gdb-e3a9940106f25fd4054b6cc580b474f5eef22778.zip gdb-e3a9940106f25fd4054b6cc580b474f5eef22778.tar.gz gdb-e3a9940106f25fd4054b6cc580b474f5eef22778.tar.bz2 |
2011-06-24 Tristan Gingold <gingold@adacore.com>
PR gas/11625
* config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/obj-evax.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index fb03665..f9acda1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 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 variable. Fix style. diff --git a/gas/config/obj-evax.c b/gas/config/obj-evax.c index 13fdf3a..a52b896 100644 --- a/gas/config/obj-evax.c +++ b/gas/config/obj-evax.c @@ -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; |