From f10a96cbecd6754ca9b28e146d43141af641ca25 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 17 Oct 1994 22:07:16 +0000 Subject: [PATCH] * read.c (read_a_source_file): The second argument to as_where is unsigned int *, not int *. --- gas/ChangeLog | 13 +++++++++++++ gas/read.c | 8 ++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index becff722b27..89e8880074e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,16 @@ +Mon Oct 17 18:06:05 1994 Ian Lance Taylor + + * 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 * Makefile.in (BISON): Use bison -y, not bison. diff --git a/gas/read.c b/gas/read.c index 48739de2b11..fc2d29bcf86 100644 --- a/gas/read.c +++ b/gas/read.c @@ -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. */ -- 2.30.2