This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Paranoid NOP padding?
- From: Andreas Schwab <schwab at suse dot de>
- To: Bernd Jendrissek <berndj at prism dot co dot za>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 14 Jul 2005 10:21:12 +0200
- Subject: Re: Paranoid NOP padding?
- References: <20050714071837.GR6273@prism.co.za>
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."