public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: Add support for the Win32 hook prologue (try 3)
       [not found]     ` <200909121522.40419.stefan@codeweavers.com>
@ 2009-09-12 15:12       ` Dave Korn
  0 siblings, 0 replies; only message in thread
From: Dave Korn @ 2009-09-12 15:12 UTC (permalink / raw)
  To: Stefan Dösinger
  Cc: Dave Korn, gcc-patches, Richard Henderson, Kai Tietz, binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-12 15:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20090911153422.2730E73F67@caffeine.csclub.uwaterloo.ca>
     [not found] ` <200909121204.18146.stefan@codeweavers.com>
     [not found]   ` <4AAB9D7E.9090602@gmail.com>
     [not found]     ` <200909121522.40419.stefan@codeweavers.com>
2009-09-12 15:12       ` Add support for the Win32 hook prologue (try 3) Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).