Back to index

cell-binutils  2.17cvs20070401
Defines | Variables
coff-we32k.c File Reference
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
#include "coff/we32k.h"
#include "coff/internal.h"
#include "libcoff.h"
#include "coffcode.h"

Go to the source code of this file.

Defines

#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER   (3)
#define SELECT_RELOC(x, howto)   { x.r_type = howto->type; }
#define BADMAG(x)   WE32KBADMAG(x)
#define WE32K   1
#define RTYPE2HOWTO(cache_ptr, dst)   (cache_ptr)->howto = howto_table + (dst)->r_type;
#define coff_write_armap   bsd_write_armap

Variables

static reloc_howto_type howto_table []

Define Documentation

#define BADMAG (   x)    WE32KBADMAG(x)

Definition at line 59 of file coff-we32k.c.

Definition at line 29 of file coff-we32k.c.

Definition at line 67 of file coff-we32k.c.

#define RTYPE2HOWTO (   cache_ptr,
  dst 
)    (cache_ptr)->howto = howto_table + (dst)->r_type;

Definition at line 62 of file coff-we32k.c.

#define SELECT_RELOC (   x,
  howto 
)    { x.r_type = howto->type; }

Definition at line 58 of file coff-we32k.c.

#define WE32K   1

Definition at line 60 of file coff-we32k.c.


Variable Documentation

reloc_howto_type howto_table[] [static]
Initial value:
{
    EMPTY_HOWTO (0),
    EMPTY_HOWTO (1),
    EMPTY_HOWTO (2),
    EMPTY_HOWTO (3),
    EMPTY_HOWTO (4),
    EMPTY_HOWTO (5),
  HOWTO(R_DIR32,            0,  2,        32, FALSE, 0,complain_overflow_bitfield, 0, "dir32",    TRUE, 0xffffffff,0xffffffff, FALSE),
    EMPTY_HOWTO (7),
    EMPTY_HOWTO (010),
    EMPTY_HOWTO (011),
    EMPTY_HOWTO (012),
    EMPTY_HOWTO (013),
    EMPTY_HOWTO (014),
    EMPTY_HOWTO (015),
    EMPTY_HOWTO (016),
  HOWTO(R_RELBYTE,          0,  0,        8,  FALSE, 0, complain_overflow_bitfield, 0, "8",       TRUE, 0x000000ff,0x000000ff, FALSE),
  HOWTO(R_RELWORD,          0,  1,        16, FALSE, 0, complain_overflow_bitfield, 0, "16",      TRUE, 0x0000ffff,0x0000ffff, FALSE),
  HOWTO(R_RELLONG,          0,  2,        32, FALSE, 0, complain_overflow_bitfield, 0, "32",      TRUE, 0xffffffff,0xffffffff, FALSE),
  HOWTO(R_PCRBYTE,          0,  0,        8,  TRUE,  0, complain_overflow_signed, 0, "DISP8",    TRUE, 0x000000ff,0x000000ff, FALSE),
  HOWTO(R_PCRWORD,          0,  1,        16, TRUE,  0, complain_overflow_signed, 0, "DISP16",   TRUE, 0x0000ffff,0x0000ffff, FALSE),
  HOWTO(R_PCRLONG,          0,  2,        32, TRUE,  0, complain_overflow_signed, 0, "DISP32",   TRUE, 0xffffffff,0xffffffff, FALSE),
}

Definition at line 31 of file coff-we32k.c.