This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for obj-coff.c


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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]