* read.c (emit_expr): Fix computation of mask.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 15 Jan 1994 17:33:16 +0000 (17:33 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 15 Jan 1994 17:33:16 +0000 (17:33 +0000)
gas/ChangeLog
gas/read.c

index f7daf4f012745b87959a361ddd4f442600080be6..5fce51bb073851b9b634e1ead1fceacd5fddd23c 100644 (file)
@@ -1,3 +1,8 @@
+Sat Jan 15 09:20:55 1994  Doug Evans  (dje@canuck.cygnus.com)
+
+       * read.c (emit_expr): Fix computation of mask.
+       * config/obj-elf.c (obj_elf_section): Fix loop termination test.
+
 Thu Jan 13 16:15:15 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
 
        * ecoff.c (ecoff_set_gp_prolog_size): New function.
index 42bc75d4cc85fa4ad644cf693bf46a83096afdbc..3f0a94ff437fa029c08fbec507c4f25925e4e892 100644 (file)
@@ -356,7 +356,7 @@ read_a_source_file (name)
           * If input_line_pointer [-1] == '\n' then we just
           * scanned another line: so bump line counters.
           */
-         if (is_end_of_line[input_line_pointer[-1]])
+         if (is_end_of_line[(unsigned char) input_line_pointer[-1]])
            {
              if (input_line_pointer[-1] == '\n')
                bump_line_counters ();
@@ -1712,7 +1712,7 @@ emit_expr (exp, nbytes)
       if (nbytes >= sizeof (valueT))
        mask = 0;
       else
-       mask = ~0 << (BITS_PER_CHAR * nbytes);  /* Don't store these bits. */
+       mask = ~(valueT) 0 << (BITS_PER_CHAR * nbytes); /* Don't store these bits. */
 
       unmask = ~mask;          /* Do store these bits. */
 
This page took 0.031633 seconds and 4 git commands to generate.