This is the mail archive of the binutils@sources.redhat.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]

Fix for COFF debug symbols


Hi guys,
Some debug symbols in the BFD version of obj_coff_endef aren't being marked with the 
debug flag when they should. Here is a fix:

2000-08-11  Mark Elbrecht  <snowball3@bigfoot.com>

	* config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
	  flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
	  C_MOU, and C_EOS.

Index: src/gas/config/obj-coff.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-coff.c,v
retrieving revision 1.32
diff -c -p -r1.32 obj-coff.c
*** obj-coff.c	2000/07/24 17:50:35	1.32
--- obj-coff.c	2000/08/11 23:02:29
*************** obj_coff_endef (ignore)
*** 732,745 ****
      case C_ARG:
      case C_REGPARM:
      case C_FIELD:
-       SF_SET_DEBUG (def_symbol_in_progress);
-       S_SET_SEGMENT (def_symbol_in_progress, absolute_section);
-       break;
- 
      case C_MOS:
      case C_MOE:
      case C_MOU:
      case C_EOS:
        S_SET_SEGMENT (def_symbol_in_progress, absolute_section);
        break;
  
--- 732,742 ----
      case C_ARG:
      case C_REGPARM:
      case C_FIELD:
      case C_MOS:
      case C_MOE:
      case C_MOU:
      case C_EOS:
+       SF_SET_DEBUG (def_symbol_in_progress);
        S_SET_SEGMENT (def_symbol_in_progress, absolute_section);
        break;
  


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