Add support for the Win32 hook prologue (try 3)

Dave Korn dave.korn.cygwin@googlemail.com
Sat Sep 12 12:55:00 GMT 2009


Stefan Dösinger wrote:

> My understanding is that gcc doesn't know about the exact byte position, as it 
> only outputs assembler statements. As such, any special alignment function 
> can only output a ".align X" statements, which will lead to the same final 
> result.

  ".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.

    cheers,
      DaveK




More information about the Gcc-patches mailing list