* ecoff.c (ecoff_symbol_new_hook): Don't add a new file if we
authorIan Lance Taylor <ian@airs.com>
Wed, 24 Aug 1994 22:10:14 +0000 (22:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 24 Aug 1994 22:10:14 +0000 (22:10 +0000)
haven't seen any input files yet.
* config/tc-alpha.c (md_begin): Just call symbol_create, rather
than calling symbol_new and then removing the symbol from the
list.
With these changes, Alpha gas will work with mips-tfile.

gas/ChangeLog
gas/config/tc-alpha.c

index dd08ba15cbbcf0f9ab0119385eca920fb55b0ef8..33265ae5c8488decd86832b47fe6cda46a49bd65 100644 (file)
@@ -1,5 +1,11 @@
 Wed Aug 24 12:46:08 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
 
+       * ecoff.c (ecoff_symbol_new_hook): Don't add a new file if we
+       haven't seen any input files yet.
+       * config/tc-alpha.c (md_begin): Just call symbol_create, rather
+       than calling symbol_new and then removing the symbol from the
+       list.
+
        * as.c (main): Move a inside the #if 0 block which uses it.
        * ecoff.c (current_stabs_filename): Make const.
        * frags.h (frag_align_pattern): Declare.
index 95fe55ea9cb0c2ce1addf298d899ca06cc6e73f3..9d6dcc46b491c80698cd4b871ceba74879915c97 100644 (file)
@@ -593,8 +593,7 @@ md_begin ()
   create_lita_section ();
   /* For handling the GP, create a symbol that won't be output in the
      symbol table.  We'll edit it out of relocs later.  */
-  gp = symbol_new ("<GP value>", lita_sec, 0x8000, &zero_address_frag);
-  symbol_remove (gp, &symbol_rootP, &symbol_lastP);
+  gp = symbol_create ("<GP value>", lita_sec, 0x8000, &zero_address_frag);
 }
 
 int optnum = 1;