[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in gas
From: |
gpgreen |
Subject: |
Bug in gas |
Date: |
Thu, 11 May 2000 21:11:36 -0700 |
Hello,
I found a bug in gas in the file app.c. I am using an avr target compiled on
a linux host. The bug is that line separators in an assembly source file do
not work. A patch to fix this is:
--- binutils-2.9.5.0.13/gas/app.c Mon Jul 19 09:46:51 1999
+++ binutils-2.9.5.0.13.save/gas/app.c Thu May 11 20:31:28 2000
@@ -989,7 +989,7 @@
case LEX_IS_LINE_SEPARATOR:
state = 0;
- PUT (ch);
+ PUT ('\n');
break;
#ifdef TC_V850
I wasn't able to duplicate this bug on an i386 (the only other platform I
have) due to i386 not having a line separator.
Versions:
GNU assembler 2.9.5
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of avr'.
Patch applied: binutils-2.9.5.0.13-avr-patch-1.1 (attached)
[2106] [~/embedded] $ gcc --version
2.95.2
System used:
Linux Mandrake 7.0
Thanks,
--
Greg Green
e-mail: address@hidden
http://www.olywa.net/gpgreen/
binutils-2.9.5.0.13-avr-patch-1.1.gz
Description: Binary data