Back to index

cell-binutils  2.17cvs20070401
Classes | Defines
tic80.h File Reference
#include "coff/external.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  external_filehdr
struct  external_scnhdr
struct  external_reloc

Defines

#define DO_NOT_DEFINE_FILHDR
#define DO_NOT_DEFINE_SCNHDR
#define L_LNNO_SIZE   2
#define TIC80_ARCH_MAGIC   0x0C1 /* Goes in the file header magic number field */
#define TIC80_TARGET_ID   0x95 /* Goes in the target id field */
#define TIC80BADMAG(x)   ((x).f_magic != TIC80_ARCH_MAGIC)
#define FILHDR   struct external_filehdr
#define FILHSZ   22
#define TIC80_AOUTHDR_MAGIC   0x108 /* Goes in the optional file header magic number field */
#define _TEXT   ".text"
#define _DATA   ".data"
#define _BSS   ".bss"
#define _CINIT   ".cinit"
#define _CONST   ".const"
#define _SWITCH   ".switch"
#define _STACK   ".stack"
#define _SYSMEM   ".sysmem"
#define SCNHDR   struct external_scnhdr
#define SCNHSZ   40
#define RELOC   struct external_reloc
#define RELSZ   12
#define R_ABS   0x00 /* Absolute address - no relocation */
#define R_RELLONGX   0x11 /* PP: 32 bits, direct */
#define R_PPBASE   0x34 /* PP: Global base address type */
#define R_PPLBASE   0x35 /* PP: Local base address type */
#define R_PP15   0x38 /* PP: Global 15 bit offset */
#define R_PP15W   0x39 /* PP: Global 15 bit offset divided by 4 */
#define R_PP15H   0x3A /* PP: Global 15 bit offset divided by 2 */
#define R_PP16B   0x3B /* PP: Global 16 bit offset for bytes */
#define R_PPL15   0x3C /* PP: Local 15 bit offset */
#define R_PPL15W   0x3D /* PP: Local 15 bit offset divided by 4 */
#define R_PPL15H   0x3E /* PP: Local 15 bit offset divided by 2 */
#define R_PPL16B   0x3F /* PP: Local 16 bit offset for bytes */
#define R_PPN15   0x40 /* PP: Global 15 bit negative offset */
#define R_PPN15W   0x41 /* PP: Global 15 bit negative offset divided by 4 */
#define R_PPN15H   0x42 /* PP: Global 15 bit negative offset divided by 2 */
#define R_PPN16B   0x43 /* PP: Global 16 bit negative byte offset */
#define R_PPLN15   0x44 /* PP: Local 15 bit negative offset */
#define R_PPLN15W   0x45 /* PP: Local 15 bit negative offset divided by 4 */
#define R_PPLN15H   0x46 /* PP: Local 15 bit negative offset divided by 2 */
#define R_PPLN16B   0x47 /* PP: Local 16 bit negative byte offset */
#define R_MPPCR15W   0x4E /* MP: 15 bit PC-relative divided by 4 */
#define R_MPPCR   0x4F /* MP: 32 bit PC-relative divided by 4 */

Class Documentation

struct external_filehdr

Definition at line 22 of file alpha.h.

Class Members
unsigned char f_flags
char f_flags
unsigned char f_magic
char f_magic
unsigned char f_nscns
char f_nscns
unsigned char f_nsyms
char f_nsyms
unsigned char f_opthdr
char f_opthdr
unsigned char f_symptr
char f_symptr
char f_target_id
unsigned char f_timdat
char f_timdat
struct external_scnhdr

Definition at line 76 of file alpha.h.

Class Members
char s_align
unsigned char s_flags
char s_flags
unsigned char s_lnnoptr
char s_lnnoptr
char s_mempage
unsigned char s_name
char s_name
unsigned char s_nlnno
char s_nlnno
unsigned char s_nreloc
char s_nreloc
char s_pad
unsigned char s_paddr
char s_paddr
char s_page
unsigned char s_relptr
char s_relptr
char s_reserved
unsigned char s_scnptr
char s_scnptr
unsigned char s_size
char s_size
unsigned char s_vaddr
char s_vaddr
struct external_reloc

Definition at line 95 of file alpha.h.

Class Members
char pad
unsigned char r_bits
char r_offset
char r_reserved
char r_size
char r_spare
char r_stuff
char r_symndx
unsigned char r_symndx
char r_type
char r_vaddr
unsigned char r_vaddr

Define Documentation

#define _BSS   ".bss"

Definition at line 69 of file tic80.h.

#define _CINIT   ".cinit"

Definition at line 70 of file tic80.h.

#define _CONST   ".const"

Definition at line 71 of file tic80.h.

#define _DATA   ".data"

Definition at line 68 of file tic80.h.

#define _STACK   ".stack"

Definition at line 73 of file tic80.h.

#define _SWITCH   ".switch"

Definition at line 72 of file tic80.h.

#define _SYSMEM   ".sysmem"

Definition at line 74 of file tic80.h.

#define _TEXT   ".text"

Definition at line 67 of file tic80.h.

Definition at line 19 of file tic80.h.

Definition at line 20 of file tic80.h.

Definition at line 43 of file tic80.h.

#define FILHSZ   22

Definition at line 44 of file tic80.h.

#define L_LNNO_SIZE   2

Definition at line 21 of file tic80.h.

#define R_ABS   0x00 /* Absolute address - no relocation */

Definition at line 101 of file tic80.h.

#define R_MPPCR   0x4F /* MP: 32 bit PC-relative divided by 4 */

Definition at line 122 of file tic80.h.

#define R_MPPCR15W   0x4E /* MP: 15 bit PC-relative divided by 4 */

Definition at line 121 of file tic80.h.

#define R_PP15   0x38 /* PP: Global 15 bit offset */

Definition at line 105 of file tic80.h.

#define R_PP15H   0x3A /* PP: Global 15 bit offset divided by 2 */

Definition at line 107 of file tic80.h.

#define R_PP15W   0x39 /* PP: Global 15 bit offset divided by 4 */

Definition at line 106 of file tic80.h.

#define R_PP16B   0x3B /* PP: Global 16 bit offset for bytes */

Definition at line 108 of file tic80.h.

#define R_PPBASE   0x34 /* PP: Global base address type */

Definition at line 103 of file tic80.h.

#define R_PPL15   0x3C /* PP: Local 15 bit offset */

Definition at line 109 of file tic80.h.

#define R_PPL15H   0x3E /* PP: Local 15 bit offset divided by 2 */

Definition at line 111 of file tic80.h.

#define R_PPL15W   0x3D /* PP: Local 15 bit offset divided by 4 */

Definition at line 110 of file tic80.h.

#define R_PPL16B   0x3F /* PP: Local 16 bit offset for bytes */

Definition at line 112 of file tic80.h.

#define R_PPLBASE   0x35 /* PP: Local base address type */

Definition at line 104 of file tic80.h.

#define R_PPLN15   0x44 /* PP: Local 15 bit negative offset */

Definition at line 117 of file tic80.h.

#define R_PPLN15H   0x46 /* PP: Local 15 bit negative offset divided by 2 */

Definition at line 119 of file tic80.h.

#define R_PPLN15W   0x45 /* PP: Local 15 bit negative offset divided by 4 */

Definition at line 118 of file tic80.h.

#define R_PPLN16B   0x47 /* PP: Local 16 bit negative byte offset */

Definition at line 120 of file tic80.h.

#define R_PPN15   0x40 /* PP: Global 15 bit negative offset */

Definition at line 113 of file tic80.h.

#define R_PPN15H   0x42 /* PP: Global 15 bit negative offset divided by 2 */

Definition at line 115 of file tic80.h.

#define R_PPN15W   0x41 /* PP: Global 15 bit negative offset divided by 4 */

Definition at line 114 of file tic80.h.

#define R_PPN16B   0x43 /* PP: Global 16 bit negative byte offset */

Definition at line 116 of file tic80.h.

#define R_RELLONGX   0x11 /* PP: 32 bits, direct */

Definition at line 102 of file tic80.h.

#define RELOC   struct external_reloc

Definition at line 96 of file tic80.h.

#define RELSZ   12

Definition at line 97 of file tic80.h.

Definition at line 76 of file tic80.h.

#define SCNHSZ   40

Definition at line 77 of file tic80.h.

#define TIC80_AOUTHDR_MAGIC   0x108 /* Goes in the optional file header magic number field */

Definition at line 46 of file tic80.h.

#define TIC80_ARCH_MAGIC   0x0C1 /* Goes in the file header magic number field */

Definition at line 38 of file tic80.h.

#define TIC80_TARGET_ID   0x95 /* Goes in the target id field */

Definition at line 39 of file tic80.h.

#define TIC80BADMAG (   x)    ((x).f_magic != TIC80_ARCH_MAGIC)

Definition at line 41 of file tic80.h.