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] |
Am Saturday 12 September 2009 17:26:47 schrieb Dave Korn:I agree.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.
Out of curiosity, what is the advantage of a 3-byte, 4-byte or 5-byte nop over the same amount of 0x90's? I know MSFT uses the two byte nop inside the hookable function to allow atomic replacement. But what's the advantage if the code is never executed? Or if it is executed, but never inteded to be replaced, like alignment before a jump label?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |