This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[vms/committed]: fix PR 11625 by reporting the issue instead of aborting
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Fri, 24 Jun 2011 17:44:25 +0200
- Subject: [vms/committed]: fix PR 11625 by reporting the issue instead of aborting
Hi,
Add an error message instead of aborting for PR 11625.
Committed on trunk.
Tristan.
gas/
2011-06-24 Tristan Gingold <gingold@adacore.com>
PR gas/11625
* config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
Index: gas/config/obj-evax.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-evax.c,v
retrieving revision 1.8
diff -c -r1.8 obj-evax.c
*** gas/config/obj-evax.c 31 May 2010 15:53:13 -0000 1.8
--- gas/config/obj-evax.c 24 Jun 2011 15:44:05 -0000
***************
*** 125,131 ****
O_symbol and we hope the equated symbol is still there. */
sym = symbol_get_value_expression (sym)->X_add_symbol;
if (sym == NULL)
! abort ();
symbol = symbol_get_bfdsym (sym);
udata->enbsym
= ((struct evax_private_udata_struct *)symbol->udata.p)->enbsym;
--- 125,134 ----
O_symbol and we hope the equated symbol is still there. */
sym = symbol_get_value_expression (sym)->X_add_symbol;
if (sym == NULL)
! {
! 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,156 ****
{
if (S_GET_SEGMENT (l->fixp->fx_addsy) == alpha_link_section)
{
! symbolS * entry_sym;
fixS *fixpentry, *fixppdesc, *fixtail;
fixtail = seginfo->fix_tail;
--- 153,159 ----
{
if (S_GET_SEGMENT (l->fixp->fx_addsy) == alpha_link_section)
{
! symbolS *entry_sym;
fixS *fixpentry, *fixppdesc, *fixtail;
fixtail = seginfo->fix_tail;