aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-10-17 22:07:16 +0000
committerIan Lance Taylor <ian@airs.com>1994-10-17 22:07:16 +0000
commitf10a96cbecd6754ca9b28e146d43141af641ca25 (patch)
treec4e64d50443080f0f7ab22b81aa7bd4066a26d81
parenteb4267a3f937920d9cab71a265360c290db37d97 (diff)
downloadgdb-f10a96cbecd6754ca9b28e146d43141af641ca25.zip
gdb-f10a96cbecd6754ca9b28e146d43141af641ca25.tar.gz
gdb-f10a96cbecd6754ca9b28e146d43141af641ca25.tar.bz2
* read.c (read_a_source_file): The second argument to as_where is
unsigned int *, not int *.
-rw-r--r--gas/ChangeLog13
-rw-r--r--gas/read.c8
2 files changed, 17 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index becff72..89e8880 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/read.c b/gas/read.c
index 48739de..fc2d29b 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. */