* symbols.c (copy_symbol_attributes): Convert local symbols to
authorIan Lance Taylor <ian@airs.com>
Thu, 10 Jun 1999 14:45:58 +0000 (14:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 10 Jun 1999 14:45:58 +0000 (14:45 +0000)
regular symbols.

gas/ChangeLog
gas/symbols.c

index c52cb47..30fbfb5 100644 (file)
@@ -1,3 +1,8 @@
+1999-06-10  Ian Lance Taylor  <ian@zembu.com>
+
+       * symbols.c (copy_symbol_attributes): Convert local symbols to
+       regular symbols.
+
 1999-06-10  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-arm.c (md_parse_option): Add support for ARM920 and
index 8e18632..71b8df6 100644 (file)
@@ -1611,9 +1611,9 @@ copy_symbol_attributes (dest, src)
      symbolS *dest, *src;
 {
   if (LOCAL_SYMBOL_CHECK (dest))
-    abort ();
+    dest = local_symbol_convert ((struct local_symbol *) dest);
   if (LOCAL_SYMBOL_CHECK (src))
-    abort ();
+    src = local_symbol_convert ((struct local_symbol *) src);
 
 #ifdef BFD_ASSEMBLER
   /* In an expression, transfer the settings of these flags.