Paranoid NOP padding?

Andreas Schwab schwab@suse.de
Thu Jul 14 08:21:00 GMT 2005
Bernd Jendrissek <berndj@prism.co.za> writes:

> Sometimes, though, the CPU should *never* execute code in a "gap".
> Think gaps between functions, for example.

The assembler allows you to specify a different fill pattern to be used as
padding (the second argument of the .align directive).

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list