This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Patch for obj-coff.c
- To: binutils@sourceware.cygnus.com, Ian Lance Taylor <ian@zembu.com>
- Subject: Patch for obj-coff.c
- From: "Mark E." <snowball3@bigfoot.com>
- Date: Fri, 30 Jul 1999 12:50:19 -0400
Hello Ian,
This patch seems to fix the debugging problem under BFD assember caused by not
creating an endndx AUX record. I believe the Win32 ports use stabs by default, so
it's no wonder no one ever noticed.
1999-07-30 Mark Elbrecht <snowball3@bigfoot.com>
* config/obj-coff.c (coff_frob_symbol): Permit set_end to be set for C_EFCN symbols.
*** config/obj-coff.c.orig Sat Jun 26 15:35:44 1999
--- config/obj-coff.c Fri Jul 30 12:43:22 1999
*************** coff_frob_symbol (symp, punt)
*** 1092,1098 ****
}
if (next_set_end != NULL
! && ! *punt)
set_end = next_set_end;
if (! *punt
--- 1092,1098 ----
}
if (next_set_end != NULL
! && ((! *punt) || (S_GET_STORAGE_CLASS (symp) == C_EFCN)))
set_end = next_set_end;
if (! *punt
---
Mark Elbrecht, snowball3@bigfoot.com
http://snowball.frogspace.net/