Re: assertion failure with gas and broken syntax

2008-09-18 Thread Alan Modra
On Thu, Sep 18, 2008 at 07:19:15AM -0700, H.J. Lu wrote: > I think it is another form of > > http://sourceware.org/bugzilla/show_bug.cgi?id=5543 > > We fixed it in generic assembler. If we want to fix this > one in x86 backend, should we revert the fix for PR 5543? It's really a result of md_reg

[Bug gas/6878] '% found after symbol for non-H-TICK-HEX tokens

2008-09-18 Thread dj at redhat dot com
--- Additional Comments From dj at redhat dot com 2008-09-18 16:45 --- Subject: Re: '% found after symbol for non-H-TICK-HEX tokens The warning is for people who use the ' character without realizing exactly how it will work. It does not do what most people expect, unless they've care

Re: assertion failure with gas and broken syntax

2008-09-18 Thread H.J. Lu
On Thu, Sep 18, 2008 at 4:44 AM, Nick Clifton <[EMAIL PROTECTED]> wrote: > Hi Per, Hi H.J., > > H.J. - this email is in response to a x86 assembler bug report from Per that > was posted here: > > http://lists.gnu.org/archive/html/bug-binutils/2008-09/msg6.html > > I have a patch to fix the pro

[Bug gas/6878] '% found after symbol for non-H-TICK-HEX tokens

2008-09-18 Thread rep dot dot dot nop at gmail dot com
--- Additional Comments From rep dot dot dot nop at gmail dot com 2008-09-18 16:13 --- The patch disables the warning for me, yes. Shouldn't the warning only be issued if (the arch supports it and the param was given and) "H'" was seen as opposed to any occurance of "'"? thanks, --

Re: assertion failure with gas and broken syntax

2008-09-18 Thread Nick Clifton
Hi Per, Hi H.J., H.J. - this email is in response to a x86 assembler bug report from Per that was posted here: http://lists.gnu.org/archive/html/bug-binutils/2008-09/msg6.html I have a patch to fix the problem (attached) but I am not sure if you will like it. Possibly the error should

[Bug gas/6878] '% found after symbol for non-H-TICK-HEX tokens

2008-09-18 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-09-18 07:54 --- Hi Bernhard, Please could you try out the uploaded patch. I think that it will resolve the issue for you. It makes two changes - the warning message about the tick syntax is now only issued if the target suppo

[Bug gas/6878] '% found after symbol for non-H-TICK-HEX tokens

2008-09-18 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-09-18 07:52 --- Created an attachment (id=2956) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2956&action=view) Only enable tick warning message when tick syntax is supported. Do not use a line number of 0 in warning mes