Mail Archives: djgpp-workers/1999/07/02/02:41:31
salvador wrote:
> Can we tell Gas to use "int 3" (or other trap) when pading between functions?
> (and any other place where the code should never be executed).
so long as it's only for text areas that are never meant to be
executed. You wouldn't want loop padding to do a debug trap. 'Twould
kinda slow things down:)
> > Intel manuals seem to recommend 16-byte alignment, both for code and
> > for data.
>
> And that's normally the best. MSVC uses 16 and 32 (based on some strange
> criteria).
Isn't 32 bytes the size of a cache line on 486+?
> But looks like the most sensitive stuff is the entry point of functions, not the
> align of loops or jumps.
Nope, any destination: functions, loops and jumps are all equally
important.
Bill
--
Leave others their otherness.
- Raw text -