www.delorie.com/gnu/docs/binutils/as_123.html   search  
Buy GNU books!

Using as

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.55 .previous

This is one of the ELF section stack manipulation directives. The others are .section (see section 7.66 .section name (COFF version)), .subsection (see section 7.79 .subsection name), .pushsection (see section 7.61 .pushsection name , subsection), and .popsection (see section 7.56 .popsection).

This directive swaps the current section (and subsection) with most recently referenced section (and subsection) prior to this one. Multiple .previous directives in a row will flip between two sections (and their subsections).

In terms of the section stack, this directive swaps the current section with the top section on the section stack.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003