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

Using as

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

7.85 .type name , type description (ELF version)

This directive is used to set the type of symbol name to be either a function symbol or an object symbol. There are five different syntaxes supported for the type description field, in order to provide compatibility with various other assemblers. The syntaxes supported are:

  .type <name>,#function
  .type <name>,#object

  .type <name>,@function
  .type <name>,@object

  .type <name>,%function
  .type <name>,%object
  .type <name>,"function"
  .type <name>,"object"
  .type <name> STT_FUNCTION
  .type <name> STT_OBJECT

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