[Bug gas/11507] altmacro: wrong string interpretation

2010-04-24 Thread theorizer at freemail dot hu

--- Additional Comments From theorizer at freemail dot hu  2010-04-24 17:11 
---
Great, thanks. I checked your fix with 2.20.51.20100424. It seems working now.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11507

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/11507] altmacro: wrong string interpretation

2010-04-20 Thread nickc at redhat dot com

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-04-20 
15:55 ---
Subject: Bug 11507

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2010-04-20 15:54:49

Modified files:
gas: ChangeLog macro.c 
gas/testsuite  : ChangeLog 
Added files:
gas/testsuite/gas/macros: altmacro.d altmacro.s 

Log message:
PR gas/11507
* macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
altmacro mode if found inside a quoted string.

* gas/macros/altmacro.s: New test.
* gas/macros/altmacro.d: Expected output.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4133&r2=1.4134
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/macro.c.diff?cvsroot=src&r1=1.51&r2=1.52
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1656&r2=1.1657
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/macros/altmacro.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/macros/altmacro.s.diff?cvsroot=src&r1=NONE&r2=1.1


--- Additional Comments From nickc at redhat dot com  2010-04-20 15:56 
---
Hi Theorizer,

  Thanks for reporting this problem.  It turned out to be a bug in the parser
when the LOCAL keyword is found inside a quoted string.  I have checked in a
copy of the uploaded patch to fix this, and to add a test to the GAS testsuite
to make sure that the problem does not resurface.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11507

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/11507] altmacro: wrong string interpretation

2010-04-20 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-04-20 15:53 
---
Created an attachment (id=4737)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4737&action=view)
Fix parsing of LOCAL inside a string


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11507

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils