diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-10-12 08:45:49 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-10-12 08:45:49 +0000 |
commit | 9902404797153b548894cf20588b30af65e05cca (patch) | |
tree | 3581572585c79ab1812ee0abc54842ca01495672 /gas | |
parent | 0bc1509110922c2712e2c1f85856ac15426de94c (diff) | |
download | gdb-9902404797153b548894cf20588b30af65e05cca.zip gdb-9902404797153b548894cf20588b30af65e05cca.tar.gz gdb-9902404797153b548894cf20588b30af65e05cca.tar.bz2 |
more null/empty string fixups
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 14 | ||||
-rw-r--r-- | gas/config/tc-a29k.c | 2 | ||||
-rw-r--r-- | gas/config/tc-h8500.c | 2 | ||||
-rw-r--r-- | gas/config/tc-m88k.c | 2 |
4 files changed, 16 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index bdd48ab..f2fe304 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,4 +1,16 @@ - Mon Oct 11 16:46:31 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) +Tue Oct 12 03:33:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * config/tc-i960.c (md_begin): Use null pointer, not empty string, + as initial "return" value in case hashing isn't needed. + + * config/tc-a29k.c (md_atof): Return null, not empty string, on + success. + * config/tc-h8300.c (md_atof), config/tc-h8500.c (md_atof), + config/tc-hppa.c (md_atof), config/tc-i860.c (md_atof), + config/tc-i960.c (md_atof), config/tc-m88k.c (md_atof), + config/tc-ns32k.c (md_atof), config/tc-sh.c (md_atof): Ditto. + +Mon Oct 11 16:46:31 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) fix for pr 3571 * config/tc-h8300.c (get_specific): Special action if 8 bit diff --git a/gas/config/tc-a29k.c b/gas/config/tc-a29k.c index 72b61f7..288779b 100644 --- a/gas/config/tc-a29k.c +++ b/gas/config/tc-a29k.c @@ -766,7 +766,7 @@ md_atof (type, litP, sizeP) md_number_to_chars (litP, (valueT) (*wordP++), sizeof (LITTLENUM_TYPE)); litP += sizeof (LITTLENUM_TYPE); } - return ""; + return 0; } /* diff --git a/gas/config/tc-h8500.c b/gas/config/tc-h8500.c index 0210436..651b173 100644 --- a/gas/config/tc-h8500.c +++ b/gas/config/tc-h8500.c @@ -1230,7 +1230,7 @@ md_atof (type, litP, sizeP) md_number_to_chars (litP, (long) (*wordP++), sizeof (LITTLENUM_TYPE)); litP += sizeof (LITTLENUM_TYPE); } - return ""; /* Someone should teach Dean about null pointers */ + return 0; } int diff --git a/gas/config/tc-m88k.c b/gas/config/tc-m88k.c index 961c418..84ba823 100644 --- a/gas/config/tc-m88k.c +++ b/gas/config/tc-m88k.c @@ -1117,7 +1117,7 @@ md_atof (type, litP, sizeP) md_number_to_chars (litP, (long) (*wordP++), sizeof (LITTLENUM_TYPE)); litP += sizeof (LITTLENUM_TYPE); } - return ""; /* Someone should teach Dean about null pointers */ + return 0; } int md_short_jump_size = 4; |