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 Binutils 2.9.4.0.2


Hi,

Please try this patch on binutils 2.9.4.0.2.


-- 
H.J. Lu (hjl@gnu.org)
---
Mon Jun  7 08:05:04 1998  H.J. Lu  (hjl@gnu.org)

	* symbols (copy_symbol_attributes): Ok to copy local symbols.

Index: symbols.c
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/symbols.c,v
retrieving revision 1.2
diff -u -p -r1.2 symbols.c
--- symbols.c	1999/06/06 01:50:34	1.2
+++ symbols.c	1999/06/07 15:12:52
@@ -1621,15 +1621,11 @@ copy_symbol_attributes (dest, src)
      symbolS *dest, *src;
 {
 #ifdef BFD_ASSEMBLER
-  if (LOCAL_SYMBOL_CHECK (dest))
-    abort ();
-  if (LOCAL_SYMBOL_CHECK (src))
-    abort ();
-
   /* In an expression, transfer the settings of these flags.
      The user can override later, of course.  */
 #define COPIED_SYMFLAGS	(BSF_FUNCTION | BSF_OBJECT)
-  dest->bsym->flags |= src->bsym->flags & COPIED_SYMFLAGS;
+  if (dest->bsym && src->bsym)
+    dest->bsym->flags |= src->bsym->flags & COPIED_SYMFLAGS;
 #endif
 
 #ifdef OBJ_COPY_SYMBOL_ATTRIBUTES

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