diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-08-24 22:10:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-08-24 22:10:14 +0000 |
commit | fd4f335ccf03ff9d946693dd7a6298601bed5799 (patch) | |
tree | 131c07e3758359a135fa0c5dd5e3bb305556975e /gas | |
parent | a2a1a548c752684ea944c38ce94e388ba9d095c4 (diff) | |
download | gdb-fd4f335ccf03ff9d946693dd7a6298601bed5799.zip gdb-fd4f335ccf03ff9d946693dd7a6298601bed5799.tar.gz gdb-fd4f335ccf03ff9d946693dd7a6298601bed5799.tar.bz2 |
* 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.
With these changes, Alpha gas will work with mips-tfile.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-alpha.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index dd08ba1..33265ae 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 95fe55e..9d6dcc4 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -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; |