This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gas can't handle prefix generated by gcc
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org, Jan Beulich <JBeulich at novell dot com>, binutils at sources dot redhat dot com
- Date: Fri, 23 Jul 2004 12:19:24 -0700
- Subject: Re: Gas can't handle prefix generated by gcc
- References: <s100c3d9.002@emea1-mh.id2.novell.com><20040723140035.GA31423@lucon.org> <87y8laboyn.fsf@codesourcery.com><20040723185839.GA4477@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> It seems that gcc uses a prefix syntax which gas doesn't handle. Does
> gcc always use " ; " as prefix separator?
Yes. It does that for cs/ds on branch hints, it does that for "rep"
on string instructions, it does that for "lock" on atomic updates.
I imagine it's never been a problem before because the length of the
prefixed instruction has never been relevant before.
zw