This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add support for the Win32 hook prologue (try 3)


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]