* gasp.c (as_abort): New function.
* sb.c (sb_build): Revert yesterday's patch.
This commit is contained in:
parent
791ee51949
commit
69cc18d2f0
2 changed files with 18 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
Thu Aug 24 18:50:19 1995 Ian Lance Taylor (ian@cygnus.com)
|
Thu Aug 24 18:50:19 1995 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
|
* gasp.c (as_abort): New function.
|
||||||
|
* sb.c (sb_build): Revert yesterday's patch.
|
||||||
|
|
||||||
* Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a.
|
* Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a.
|
||||||
Just link against libiberty, not against $(LIBS).
|
Just link against libiberty, not against $(LIBS).
|
||||||
|
|
||||||
|
|
15
gas/gasp.c
15
gas/gasp.c
|
@ -3644,3 +3644,18 @@ main (argc, argv)
|
||||||
quit ();
|
quit ();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This function is used because an abort in some of the other files
|
||||||
|
may be compiled into as_abort because they include as.h. */
|
||||||
|
|
||||||
|
void
|
||||||
|
as_abort (file, line, fn)
|
||||||
|
const char *file, *fn;
|
||||||
|
int line;
|
||||||
|
{
|
||||||
|
fprintf (stderr, "Internal error, aborting at %s line %d", file, line);
|
||||||
|
if (fn)
|
||||||
|
fprintf (stderr, " in %s", fn);
|
||||||
|
fprintf (stderr, "\nPlease report this bug.\n");
|
||||||
|
exit (1);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue