Jump to content

Red zone (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Paul A (talk | contribs) at 08:51, 16 June 2011 (This page appears to be a dictionary definition. If it cannot be turned into a full encyclopedia article in the near future, consider moving it to Wiktionary.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Red Zone is a term designating the fixed size area in memory beyond the stack pointer that has not been "allocated". This region of memory is not to be modified by interrupt/exception/signal handlers. This allows the space to be used for temporary data without the extra overhead of modifying the stack pointer. The x86-64 ABI mandates a 128 byte red zone.[1] The OpenRISC toolchain assumes a 128 byte red zone though it is not documented.

Notes and references

  1. ^ "i386 and x86-64 Options - Using the GNU Compiler Collection (GCC)". Retrieved 2011-04-10.