Back to index

cell-binutils  2.17cvs20070401
Defines | Functions
stab-syms.c File Reference
#include "bfd.h"
#include "libaout.h"
#include "aout/aout64.h"
#include "aout/stab.def"

Go to the source code of this file.

Defines

#define ARCH_SIZE   32 /* Value doesn't matter. */
#define __define_stab(NAME, CODE, STRING)   __define_name(CODE, STRING)
#define __define_stab_duplicate(NAME, CODE, STRING)
#define EXTRA_SYMBOLS
#define __define_name(val, str)   case val: return str;

Functions

const char * bfd_get_stab_name (int code)

Define Documentation

#define __define_name (   val,
  str 
)    case val: return str;
#define __define_stab (   NAME,
  CODE,
  STRING 
)    __define_name(CODE, STRING)

Definition at line 30 of file stab-syms.c.

#define __define_stab_duplicate (   NAME,
  CODE,
  STRING 
)

Definition at line 31 of file stab-syms.c.

#define ARCH_SIZE   32 /* Value doesn't matter. */

Definition at line 24 of file stab-syms.c.

#define EXTRA_SYMBOLS
Value:
__define_name (N_SETA, "SETA")/* Absolute set element symbol */ \
  __define_name (N_SETT, "SETT")/* Text set element symbol */ \
  __define_name (N_SETD, "SETD")/* Data set element symbol */ \
  __define_name (N_SETB, "SETB")/* Bss set element symbol */ \
  __define_name (N_SETV, "SETV")/* Pointer to set vector in data area.  */ \
  __define_name (N_INDR, "INDR") \
  __define_name (N_WARNING, "WARNING")

Definition at line 37 of file stab-syms.c.


Function Documentation

const char* bfd_get_stab_name ( int  code)

Definition at line 47 of file stab-syms.c.

{
  switch (code)
    {
#define __define_name(val, str) case val: return str;
#include "aout/stab.def"
      EXTRA_SYMBOLS
    }

  return (const char *) 0;
}

Here is the caller graph for this function: