This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Add support for the Win32 hook prologue (try 3)
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Stefan Dösinger <stefan at codeweavers dot com>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>, Kai Tietz <ktietz70 at googlemail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Sat, 12 Sep 2009 16:26:47 +0100
- Subject: Re: Add support for the Win32 hook prologue (try 3)
- References: <20090911153422.2730E73F67@caffeine.csclub.uwaterloo.ca> <200909121204.18146.stefan@codeweavers.com> <4AAB9D7E.9090602@gmail.com> <200909121522.40419.stefan@codeweavers.com>
Stefan Dösinger wrote:
> Am Saturday 12 September 2009 15:09:18 schrieb Dave Korn:
>> ".align X,0x90" or ".align X,0xcc" should work. The .align instruction
>> has optional second and third operands which are little-used; check the GAS
>> manual for the full syntax.
> align X, 0x90 doesn't work, as someone else has already posted. Gas still
> replaces e.g. 3 NOPs generated by that with one 3-byte nop.
Argh, missed that.
I think that should probably be considered a binutils bug shouldn't it? I
don't think it should relax an explicit ".align X,0x90" any more than it
should relax "dc.b 0x90,0x90,0x90" IMO.
cheers,
DaveK