This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add support for the Win32 hook prologue (try 3)
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.
.align X, 0xcc works though, the question is if its any better than the other
multi-byte nops as generates - I have to check that.