Back to index

cell-binutils  2.17cvs20070401
Defines | Typedefs | Functions | Variables
obj-aout.h File Reference
#include "targ-cpu.h"
#include "bfd/libaout.h"

Go to the source code of this file.

Defines

#define OBJ_AOUT   1
#define OUTPUT_FLAVOR   bfd_target_aout_flavour
#define obj_pop_insert()   pop_insert (aout_pseudo_table)
#define S_SET_OTHER(S, V)   (aout_symbol (symbol_get_bfdsym (S))->other = (V))
#define S_SET_TYPE(S, T)   (aout_symbol (symbol_get_bfdsym (S))->type = (T))
#define S_SET_DESC(S, D)   (aout_symbol (symbol_get_bfdsym (S))->desc = (D))
#define S_GET_OTHER(S)   (aout_symbol (symbol_get_bfdsym (S))->other)
#define S_GET_TYPE(S)   (aout_symbol (symbol_get_bfdsym (S))->type)
#define S_GET_DESC(S)   (aout_symbol (symbol_get_bfdsym (S))->desc)
#define obj_frob_symbol(S, PUNT)   obj_aout_frob_symbol (S, &PUNT)
#define obj_frob_file_before_fix()   obj_aout_frob_file_before_fix ()
#define obj_sec_sym_ok_for_reloc(SEC)   1
#define obj_read_begin_hook()   {;}
#define obj_symbol_new_hook(s)   {;}
#define EMIT_SECTION_SYMBOLS   0
#define AOUT_STABS

Typedefs

typedef struct nlist

Functions

void obj_aout_frob_symbol (symbolS *, int *)
void obj_aout_frob_file_before_fix (void)

Variables

const pseudo_typeS aout_pseudo_table []
asectiontext_section
asectiondata_section
asectionbss_section

Define Documentation

#define AOUT_STABS

Definition at line 71 of file obj-aout.h.

#define EMIT_SECTION_SYMBOLS   0

Definition at line 69 of file obj-aout.h.

#define OBJ_AOUT   1

Definition at line 23 of file obj-aout.h.

Definition at line 59 of file obj-aout.h.

#define obj_frob_symbol (   S,
  PUNT 
)    obj_aout_frob_symbol (S, &PUNT)

Definition at line 58 of file obj-aout.h.

Definition at line 34 of file obj-aout.h.

#define obj_read_begin_hook (   void)    {;}

Definition at line 66 of file obj-aout.h.

#define obj_sec_sym_ok_for_reloc (   SEC)    1

Definition at line 64 of file obj-aout.h.

#define obj_symbol_new_hook (   s)    {;}

Definition at line 67 of file obj-aout.h.

Definition at line 29 of file obj-aout.h.

#define S_GET_DESC (   S)    (aout_symbol (symbol_get_bfdsym (S))->desc)

Definition at line 53 of file obj-aout.h.

#define S_GET_OTHER (   S)    (aout_symbol (symbol_get_bfdsym (S))->other)

Definition at line 49 of file obj-aout.h.

#define S_GET_TYPE (   S)    (aout_symbol (symbol_get_bfdsym (S))->type)

Definition at line 51 of file obj-aout.h.

#define S_SET_DESC (   S,
  D 
)    (aout_symbol (symbol_get_bfdsym (S))->desc = (D))

Definition at line 47 of file obj-aout.h.

#define S_SET_OTHER (   S,
  V 
)    (aout_symbol (symbol_get_bfdsym (S))->other = (V))

Definition at line 43 of file obj-aout.h.

#define S_SET_TYPE (   S,
 
)    (aout_symbol (symbol_get_bfdsym (S))->type = (T))

Definition at line 45 of file obj-aout.h.


Typedef Documentation

typedef struct nlist

Definition at line 39 of file obj-aout.h.


Function Documentation

Definition at line 121 of file obj-aout.c.

{
  /* Relocation processing may require knowing the VMAs of the sections.
     Since writing to a section will cause the BFD back end to compute the
     VMAs, fake it out here....  */
  bfd_byte b = 0;
  bfd_boolean x = TRUE;
  if (bfd_section_size (stdoutput, text_section) != 0)
    x = bfd_set_section_contents (stdoutput, text_section, &b, (file_ptr) 0,
                              (bfd_size_type) 1);
  else if (bfd_section_size (stdoutput, data_section) != 0)
    x = bfd_set_section_contents (stdoutput, data_section, &b, (file_ptr) 0,
                              (bfd_size_type) 1);

  assert (x);
}

Here is the call graph for this function:

void obj_aout_frob_symbol ( symbolS *  ,
int  
)

Variable Documentation

const pseudo_typeS aout_pseudo_table[]

Definition at line 316 of file obj-aout.c.

Definition at line 56 of file obj-aout.h.

Definition at line 56 of file obj-aout.h.

Definition at line 56 of file obj-aout.h.