[RFA] gas patch: make MIPS_STABS_ELF actually work
Daniel Jacobowitz
dmj+@andrew.cmu.edu
Fri Jun 29 16:11:00 GMT 2001
In H.J.'s binutils tree, he never readded the patch to enable COFF targets
on mips*-*-linux. Because of this, his tools get OBJ_PROCESS_STAB from
obj-elf.h, which starts with "if (ECOFF_DEBUGGING)". In the CVS tree,
however, COFF targets are enabled, so we go through obj-multi.h. This will
call ecoff_stab unconditionally through the vector.
Is this patch OK?
2001-06-29 Daniel Jacobowitz <drow@mvista.com>
* ecoff.c (ecoff_stab): Return immediately if !ECOFF_DEBUGGING.
--- ecoff.c.orig Fri Jun 29 16:08:00 2001
+++ ecoff.c Fri Jun 29 16:08:19 2001
@@ -3477,6 +3477,9 @@
symint_t indx;
localsym_t *hold = NULL;
+ if (! ECOFF_DEBUGGING)
+ return;
+
ecoff_debugging_seen = 1;
/* We don't handle .stabd. */
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
More information about the Binutils
mailing list