* read.c (read_a_source_file): The second argument to as_where is
authorIan Lance Taylor <ian@airs.com>
Mon, 17 Oct 1994 22:07:16 +0000 (22:07 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 17 Oct 1994 22:07:16 +0000 (22:07 +0000)
unsigned int *, not int *.

gas/ChangeLog
gas/read.c

index becff722b2736c8fd4b0cb208a9670bd6afe283a..89e8880074e9ee7556d5753a70866dbfaf5a8764 100644 (file)
@@ -1,3 +1,16 @@
+Mon Oct 17 18:06:05 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * read.c (read_a_source_file): The second argument to as_where is
+       unsigned int *, not int *.
+
+Mon Oct 17 02:26:32 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c: Eliminate all uses of fx_addnumber.
+       (tc_gen_reloc): Simplify.  It's no longer necessary to set a
+       reloc's addend field to zero for function symbols.
+       (md_apply_fix): Simplify.  For fixups which will require a SOM
+       reloc, just clear out the necessary bits in the output file.
+
 Fri Oct 14 19:06:46 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
 
        * Makefile.in (BISON): Use bison -y, not bison.
index 48739de2b11319766c3dbbab4a0e99ace3c2aa7e..fc2d29bcf86d3e8dba21ef71d2f1ac8683577a66 100644 (file)
@@ -549,17 +549,17 @@ read_a_source_file (name)
 #ifdef OBJ_GENERATE_ASM_LINENO
                      if (generate_asm_lineno == 0)
                        {
-                         if (ecoff_no_current_file())
+                         if (ecoff_no_current_file ())
                            generate_asm_lineno = 1;
                        }
-                     else
-                       {
+                     if (generate_asm_lineno == 1)
+                       {
                          unsigned int lineno;
                          char *s;
 
                          as_where (&s, &lineno);
                          OBJ_GENERATE_ASM_LINENO (s, lineno);
-                       }
+                       }
 #endif
 
                      md_assemble (s);  /* Assemble 1 instruction. */