more null/empty string fixups
authorKen Raeburn <raeburn@cygnus>
Tue, 12 Oct 1993 08:45:49 +0000 (08:45 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 12 Oct 1993 08:45:49 +0000 (08:45 +0000)
gas/ChangeLog
gas/config/tc-a29k.c
gas/config/tc-h8500.c
gas/config/tc-m88k.c

index bdd48abd86f4ec2ce5c375953bfec46024a2eb3b..f2fe3048b3391aac75b24b123cabea4b05f9d8cc 100644 (file)
@@ -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
index 72b61f78b82a84f1df98ff1bea4eee4d5140b347..288779b7e9c5fe02ffec6685b60b0c55e2f096a6 100644 (file)
@@ -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;
 }
 
 /*
index 021043603f334916d24226cf67cd99076e9ca535..651b1733d7d0ad7d3a2c6749d8b2cfd54b7a37be 100644 (file)
@@ -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
index 961c418ff42797fd7921c9642442baaea37a8e7b..84ba82372bee6f141dbd56ffefa9351196e38113 100644 (file)
@@ -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;
This page took 0.033182 seconds and 4 git commands to generate.