Back to index

cell-binutils  2.17cvs20070401
Classes | Defines
ti.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  external_filehdr
struct  AOUTHDR
struct  external_scnhdr_v01
struct  external_scnhdr
struct  external_lineno
struct  external_syment
union  external_auxent
struct  external_reloc_v0
struct  external_reloc
union  external_lineno.l_addr
union  external_syment.e
struct  external_syment.e.e
struct  external_auxent.x_sym
union  external_auxent.x_sym.x_misc
struct  external_auxent.x_sym.x_misc.x_lnsz
union  external_auxent.x_sym.x_fcnary
struct  external_auxent.x_sym.x_fcnary.x_fcn
struct  external_auxent.x_sym.x_fcnary.x_ary
union  external_auxent.x_file
struct  external_auxent.x_file.x_n
struct  external_auxent.x_scn
struct  external_auxent.x_tv

Defines

#define TICOFF0MAGIC   TI_TARGET_ID
#define TICOFF1MAGIC   0x00C1
#define TICOFF2MAGIC   0x00C2
#define TICOFF_AOUT_MAGIC   0x0108 /* magic number in optional header */
#define TICOFF   1 /* customize coffcode.h */
#define TICOFF_TARGET_MACHINE_GET(FLAGS)   0
#define TICOFF_TARGET_MACHINE_SET(FLAGSP, MACHINE)
#define TICOFF_DEFAULT_MAGIC   TICOFF2MAGIC
#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER   0
#define COFF_ALIGN_IN_SECTION_HEADER   1
#define COFF_ALIGN_IN_S_FLAGS   1
#define COFF_ENCODE_ALIGNMENT(S, X)   ((S).s_flags |= (((unsigned)(X)&0xF)<<8))
#define COFF_DECODE_ALIGNMENT(X)   (((X)>>8)&0xF)
#define COFF0_P(ABFD)   (bfd_coff_filhsz(ABFD) == FILHSZ_V0)
#define COFF2_P(ABFD)   (bfd_coff_scnhsz(ABFD) != SCNHSZ_V01)
#define COFF0_BADMAG(x)   ((x).f_magic != TICOFF0MAGIC)
#define COFF1_BADMAG(x)   ((x).f_magic != TICOFF1MAGIC || (x).f_target_id != TI_TARGET_ID)
#define COFF2_BADMAG(x)   ((x).f_magic != TICOFF2MAGIC || (x).f_target_id != TI_TARGET_ID)
#define COFF_ADJUST_FILEHDR_IN_POST(abfd, src, dst)
#define COFF_ADJUST_FILEHDR_OUT_POST(abfd, src, dst)
#define FILHDR   struct external_filehdr
#define FILHSZ   22
#define FILHSZ_V0   20 /* COFF0 omits target_id field */
#define F_RELFLG   (0x0001)
#define F_EXEC   (0x0002)
#define F_LNNO   (0x0004)
#define F_VERS   (0x0010) /* TMS320C4x code */
#define F_LSYMS_TICOFF   (0x0010) /* normal COFF is 0x8 */
#define F_10   0x00 /* file built for TMS320C1x devices */
#define F_20   0x10 /* file built for TMS320C2x devices */
#define F_25   0x20 /* file built for TMS320C2x/C5x devices */
#define F_LENDIAN   0x0100 /* 16 bits/word, LSB first */
#define F_SYMMERGE   0x1000 /* duplicate symbols were removed */
#define AOUTHDRSZ   28
#define AOUTSZ   28
#define STYP_CLINK   (0x4000)
#define STYP_BLOCK   (0x1000)
#define STYP_ALIGN   (0x0F00) /* TI COFF stores section alignment here */
#define SCNHDR_V01   struct external_scnhdr_v01
#define SCNHDR   struct external_scnhdr
#define SCNHSZ_V01   40 /* for v0 and v1 */
#define SCNHSZ   48
#define GET_SCNHDR_NRELOC(ABFD, LOC)   (COFF2_P (ABFD) ? H_GET_32 (ABFD, LOC) : H_GET_16 (ABFD, LOC))
#define PUT_SCNHDR_NRELOC(ABFD, VAL, LOC)   (COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, LOC) : H_PUT_16 (ABFD, VAL, LOC))
#define GET_SCNHDR_NLNNO(ABFD, LOC)   (COFF2_P (ABFD) ? H_GET_32 (ABFD, LOC) : H_GET_16 (ABFD, (LOC) - 2))
#define PUT_SCNHDR_NLNNO(ABFD, VAL, LOC)   (COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, LOC) : H_PUT_16 (ABFD, VAL, (LOC) - 2))
#define GET_SCNHDR_FLAGS(ABFD, LOC)   (COFF2_P (ABFD) ? H_GET_32 (ABFD, LOC) : H_GET_16 (ABFD, (LOC) - 4))
#define PUT_SCNHDR_FLAGS(ABFD, VAL, LOC)   (COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, LOC) : H_PUT_16 (ABFD, VAL, (LOC) - 4))
#define GET_SCNHDR_PAGE(ABFD, LOC)   (COFF2_P (ABFD) ? H_GET_16 (ABFD, LOC) : (unsigned) H_GET_8 (ABFD, (LOC) - 7))
#define PUT_SCNHDR_PAGE(ABFD, VAL, LOC)
#define GET_SCNHDR_SIZE(ABFD, SZP)   (H_GET_32 (ABFD, SZP) * bfd_octets_per_byte (ABFD))
#define PUT_SCNHDR_SIZE(ABFD, SZ, SZP)   H_PUT_32 (ABFD, (SZ) / bfd_octets_per_byte (ABFD), SZP)
#define COFF_ADJUST_SCNHDR_IN_POST(ABFD, EXT, INT)
#define COFF_ADJUST_SCNHDR_OUT_POST(ABFD, INT, EXT)
#define _TEXT   ".text"
#define _DATA   ".data"
#define _BSS   ".bss"
#define _CINIT   ".cinit" /* initialized C data */
#define _SCONST   ".const" /* constants */
#define _SWITCH   ".switch" /* switch tables */
#define _STACK   ".stack" /* C stack */
#define _SYSMEM   ".sysmem" /* used for malloc et al. syscalls */
#define LINENO   struct external_lineno
#define LINESZ   6
#define TICOFF_LOCAL_LABEL_P(NAME)
#define E_SYMNMLEN   8 /* # characters in a symbol name */
#define E_FILNMLEN   14 /* # characters in a file name */
#define E_DIMNUM   4 /* # array dimensions in auxiliary entry */
#define N_BTMASK   (017)
#define N_TMASK   (060)
#define N_BTSHFT   (4)
#define N_TSHIFT   (2)
#define SYMENT   struct external_syment
#define SYMESZ   18
#define AUXENT   union external_auxent
#define AUXESZ   18
#define GET_SCN_SCNLEN(ABFD, EXT)   (H_GET_32 (ABFD, (EXT)->x_scn.x_scnlen) * bfd_octets_per_byte (ABFD))
#define PUT_SCN_SCNLEN(ABFD, INT, EXT)   H_PUT_32 (ABFD, (INT) / bfd_octets_per_byte (ABFD), (EXT)->x_scn.x_scnlen)
#define GET_LNSZ_SIZE(abfd, ext)   (H_GET_16 (abfd, ext->x_sym.x_misc.x_lnsz.x_size) / (class != C_FIELD ? 8 : 1))
#define PUT_LNSZ_SIZE(abfd, in, ext)
#define NEEDS_PAGE(X)   0
#define PAGE_MASK   0
#define COFF_ADJUST_SYM_IN_POST(ABFD, EXT, INT)
#define COFF_ADJUST_SYM_OUT_POST(ABFD, INT, EXT)
#define SECTION_RELATIVE_ABSOLUTE_SYMBOL_P(RELOC, SECT)
#define RELOC   struct external_reloc
#define RELSZ_V0   10 /* FIXME -- coffcode.h needs fixing */
#define RELSZ   12 /* for COFF1/2 */
#define R_ABS   0x0000 /* no relocation */
#define R_REL13   0x002A /* 13-bit direct reference (???) */
#define R_PARTLS7   0x0028 /* 7 LSBs of an address */
#define R_PARTMS9   0x0029 /* 9MSBs of an address */
#define R_EXTWORD   0x002B /* 23-bit direct reference */
#define R_EXTWORD16   0x002C /* 16-bit direct reference to 23-bit addr*/
#define R_EXTWORDMS7   0x002D /* upper 7 bits of 23-bit address */

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 AOUTHDR

Definition at line 44 of file apollo.h.

Class Members
unsigned char bsize
char bsize
unsigned char data_start
char data_start
unsigned char dsize
char dsize
unsigned char entry
char entry
unsigned char magic
char magic
unsigned char o_algndata
unsigned char o_algntext
unsigned char o_cputype
unsigned char o_debugger
char o_inlib
unsigned char o_maxdata
unsigned char o_maxstack
unsigned char o_modtype
unsigned char o_resv2
unsigned char o_resv3
unsigned char o_snbss
unsigned char o_sndata
unsigned char o_snentry
unsigned char o_snloader
unsigned char o_sntext
unsigned char o_sntoc
char o_sri
unsigned char o_toc
char tagentries
unsigned char text_start
char text_start
unsigned char tsize
char tsize
char vid
unsigned char vstamp
char vstamp
struct external_scnhdr_v01

Definition at line 162 of file ti.h.

Class Members
char s_flags
char s_lnnoptr
char s_name
char s_nlnno
char s_nreloc
char s_paddr
char s_page
char s_relptr
char s_reserved
char s_scnptr
char s_size
char s_vaddr
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_lineno

Definition at line 115 of file external.h.

Class Members
union external_lineno l_addr
union external_lineno l_addr
union external_lineno l_addr
union external_lineno l_addr
union external_lineno l_addr
union external_lineno l_addr
char l_lnno
char padding
struct external_syment

Definition at line 149 of file external.h.

Class Members
union external_syment e
union external_syment e
union external_syment e
union external_syment e
union external_syment e
union external_syment e
union external_syment e
char e_flags
char e_numaux
char e_offset
char e_sclass
char e_scnum
char e_type
char e_value
char pad2
char padding
union external_auxent
struct external_reloc_v0

Definition at line 444 of file ti.h.

Class Members
char r_reserved
char r_symndx
char r_type
char r_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
union external_lineno.l_addr

Definition at line 292 of file ti.h.

Class Members
char l_paddr
char l_symndx
union external_syment.e

Definition at line 317 of file ti.h.

Class Members
e e
char e_name
struct external_syment.e.e

Definition at line 319 of file ti.h.

Class Members
char e_offset
char e_zeroes
struct external_auxent.x_sym

Definition at line 339 of file ti.h.

Class Members
x_sym x_fcnary
x_sym x_misc
char x_tagndx
char x_tvndx
union external_auxent.x_sym.x_misc

Definition at line 341 of file ti.h.

Class Members
char x_fsize
x_misc x_lnsz
struct external_auxent.x_sym.x_misc.x_lnsz

Definition at line 342 of file ti.h.

Class Members
char x_lnno
char x_size
union external_auxent.x_sym.x_fcnary

Definition at line 348 of file ti.h.

Class Members
x_fcnary x_ary
x_fcnary x_fcn
struct external_auxent.x_sym.x_fcnary.x_fcn

Definition at line 349 of file ti.h.

Class Members
char x_endndx
char x_lnnoptr
struct external_auxent.x_sym.x_fcnary.x_ary

Definition at line 353 of file ti.h.

Class Members
char x_dimen
union external_auxent.x_file

Definition at line 360 of file ti.h.

Class Members
char x_fname
x_file x_n
struct external_auxent.x_file.x_n

Definition at line 362 of file ti.h.

Class Members
char x_offset
char x_zeroes
struct external_auxent.x_scn

Definition at line 368 of file ti.h.

Class Members
char x_nlinno
char x_nreloc
char x_scnlen
struct external_auxent.x_tv

Definition at line 374 of file ti.h.

Class Members
char x_tvfill
char x_tvlen
char x_tvran

Define Documentation

#define _BSS   ".bss"

Definition at line 277 of file ti.h.

#define _CINIT   ".cinit" /* initialized C data */

Definition at line 278 of file ti.h.

#define _DATA   ".data"

Definition at line 276 of file ti.h.

#define _SCONST   ".const" /* constants */

Definition at line 279 of file ti.h.

#define _STACK   ".stack" /* C stack */

Definition at line 281 of file ti.h.

#define _SWITCH   ".switch" /* switch tables */

Definition at line 280 of file ti.h.

#define _SYSMEM   ".sysmem" /* used for malloc et al. syscalls */

Definition at line 282 of file ti.h.

#define _TEXT   ".text"

Definition at line 275 of file ti.h.

#define AOUTHDRSZ   28

Definition at line 156 of file ti.h.

#define AOUTSZ   28

Definition at line 157 of file ti.h.

#define AUXENT   union external_auxent

Definition at line 385 of file ti.h.

#define AUXESZ   18

Definition at line 386 of file ti.h.

#define COFF0_BADMAG (   x)    ((x).f_magic != TICOFF0MAGIC)

Definition at line 96 of file ti.h.

#define COFF0_P (   ABFD)    (bfd_coff_filhsz(ABFD) == FILHSZ_V0)

Definition at line 93 of file ti.h.

#define COFF1_BADMAG (   x)    ((x).f_magic != TICOFF1MAGIC || (x).f_target_id != TI_TARGET_ID)

Definition at line 97 of file ti.h.

#define COFF2_BADMAG (   x)    ((x).f_magic != TICOFF2MAGIC || (x).f_target_id != TI_TARGET_ID)

Definition at line 98 of file ti.h.

#define COFF2_P (   ABFD)    (bfd_coff_scnhsz(ABFD) != SCNHSZ_V01)

Definition at line 94 of file ti.h.

#define COFF_ADJUST_FILEHDR_IN_POST (   abfd,
  src,
  dst 
)
Value:
do                                                             \
    {                                                          \
      ((struct internal_filehdr *)(dst))->f_target_id =               \
       H_GET_16 (abfd, ((FILHDR *)(src))->f_target_id);        \
    }                                                          \
  while (0)

Definition at line 102 of file ti.h.

#define COFF_ADJUST_FILEHDR_OUT_POST (   abfd,
  src,
  dst 
)
Value:
do                                                             \
    {                                                          \
      H_PUT_16 (abfd, ((struct internal_filehdr *)(src))->f_target_id,       \
              ((FILHDR *)(dst))->f_target_id);                        \
    }                                                          \
  while (0)

Definition at line 112 of file ti.h.

#define COFF_ADJUST_SCNHDR_IN_POST (   ABFD,
  EXT,
  INT 
)
Value:
do                                                             \
    {                                                          \
      ((struct internal_scnhdr *)(INT))->s_page =                     \
       GET_SCNHDR_PAGE (ABFD, ((SCNHDR *)(EXT))->s_page);             \
    }                                                          \
   while (0)

Definition at line 245 of file ti.h.

#define COFF_ADJUST_SCNHDR_OUT_POST (   ABFD,
  INT,
  EXT 
)
Value:
do                                                                \
    {                                                             \
      PUT_SCNHDR_NLNNO (ABFD, ((struct internal_scnhdr *)(INT))->s_nlnno,  \
                     ((SCNHDR *)(EXT))->s_nlnno);                        \
      PUT_SCNHDR_NRELOC (ABFD, ((struct internal_scnhdr *)(INT))->s_nreloc,\
                      ((SCNHDR *)(EXT))->s_nreloc);                      \
      PUT_SCNHDR_FLAGS (ABFD, ((struct internal_scnhdr *)(INT))->s_flags,  \
                     ((SCNHDR *)(EXT))->s_flags);                        \
      PUT_SCNHDR_PAGE (ABFD, ((struct internal_scnhdr *)(INT))->s_page,    \
                     ((SCNHDR *)(EXT))->s_page);                  \
    }                                                             \
   while (0)

Definition at line 258 of file ti.h.

#define COFF_ADJUST_SYM_IN_POST (   ABFD,
  EXT,
  INT 
)
Value:
do                                                             \
    {                                                          \
      struct internal_syment *dst = (struct internal_syment *)(INT);  \
      if (dst->n_sclass == C_MOS || dst->n_sclass == C_MOU)           \
       dst->n_value /= 8;                                      \
      else if (NEEDS_PAGE (dst->n_sclass)) {                            \
        asection *scn = coff_section_from_bfd_index (abfd, dst->n_scnum); \
        dst->n_value |= (scn->lma & PAGE_MASK);                         \
      }                                                               \
    }                                                          \
   while (0)

Definition at line 409 of file ti.h.

#define COFF_ADJUST_SYM_OUT_POST (   ABFD,
  INT,
  EXT 
)
Value:
do                                                             \
    {                                                          \
       struct internal_syment *src = (struct internal_syment *)(INT); \
       SYMENT *dst = (SYMENT *)(EXT);                                 \
       if (src->n_sclass == C_MOU || src->n_sclass == C_MOS)          \
        H_PUT_32 (abfd, src->n_value * 8, dst->e_value);              \
       else if (NEEDS_PAGE (src->n_sclass)) {                           \
         H_PUT_32 (abfd, src->n_value &= ~PAGE_MASK, dst->e_value);     \
       }                                                       \
    }                                                          \
   while (0)

Definition at line 422 of file ti.h.

#define COFF_ALIGN_IN_S_FLAGS   1

Definition at line 87 of file ti.h.

Definition at line 86 of file ti.h.

#define COFF_DECODE_ALIGNMENT (   X)    (((X)>>8)&0xF)

Definition at line 91 of file ti.h.

Definition at line 82 of file ti.h.

#define COFF_ENCODE_ALIGNMENT (   S,
  X 
)    ((S).s_flags |= (((unsigned)(X)&0xF)<<8))

Definition at line 89 of file ti.h.

#define E_DIMNUM   4 /* # array dimensions in auxiliary entry */

Definition at line 313 of file ti.h.

#define E_FILNMLEN   14 /* # characters in a file name */

Definition at line 312 of file ti.h.

#define E_SYMNMLEN   8 /* # characters in a symbol name */

Definition at line 311 of file ti.h.

#define F_10   0x00 /* file built for TMS320C1x devices */

Definition at line 133 of file ti.h.

#define F_20   0x10 /* file built for TMS320C2x devices */

Definition at line 134 of file ti.h.

#define F_25   0x20 /* file built for TMS320C2x/C5x devices */

Definition at line 135 of file ti.h.

#define F_EXEC   (0x0002)

Definition at line 127 of file ti.h.

#define F_LENDIAN   0x0100 /* 16 bits/word, LSB first */

Definition at line 136 of file ti.h.

#define F_LNNO   (0x0004)

Definition at line 128 of file ti.h.

#define F_LSYMS_TICOFF   (0x0010) /* normal COFF is 0x8 */

Definition at line 131 of file ti.h.

#define F_RELFLG   (0x0001)

Definition at line 126 of file ti.h.

#define F_SYMMERGE   0x1000 /* duplicate symbols were removed */

Definition at line 137 of file ti.h.

#define F_VERS   (0x0010) /* TMS320C4x code */

Definition at line 129 of file ti.h.

Definition at line 121 of file ti.h.

#define FILHSZ   22

Definition at line 122 of file ti.h.

#define FILHSZ_V0   20 /* COFF0 omits target_id field */

Definition at line 123 of file ti.h.

#define GET_LNSZ_SIZE (   abfd,
  ext 
)    (H_GET_16 (abfd, ext->x_sym.x_misc.x_lnsz.x_size) / (class != C_FIELD ? 8 : 1))

Definition at line 395 of file ti.h.

#define GET_SCN_SCNLEN (   ABFD,
  EXT 
)    (H_GET_32 (ABFD, (EXT)->x_scn.x_scnlen) * bfd_octets_per_byte (ABFD))

Definition at line 389 of file ti.h.

#define GET_SCNHDR_FLAGS (   ABFD,
  LOC 
)    (COFF2_P (ABFD) ? H_GET_32 (ABFD, LOC) : H_GET_16 (ABFD, (LOC) - 4))

Definition at line 226 of file ti.h.

#define GET_SCNHDR_NLNNO (   ABFD,
  LOC 
)    (COFF2_P (ABFD) ? H_GET_32 (ABFD, LOC) : H_GET_16 (ABFD, (LOC) - 2))

Definition at line 222 of file ti.h.

#define GET_SCNHDR_NRELOC (   ABFD,
  LOC 
)    (COFF2_P (ABFD) ? H_GET_32 (ABFD, LOC) : H_GET_16 (ABFD, LOC))

Definition at line 218 of file ti.h.

#define GET_SCNHDR_PAGE (   ABFD,
  LOC 
)    (COFF2_P (ABFD) ? H_GET_16 (ABFD, LOC) : (unsigned) H_GET_8 (ABFD, (LOC) - 7))

Definition at line 230 of file ti.h.

#define GET_SCNHDR_SIZE (   ABFD,
  SZP 
)    (H_GET_32 (ABFD, SZP) * bfd_octets_per_byte (ABFD))

Definition at line 240 of file ti.h.

Definition at line 299 of file ti.h.

#define LINESZ   6

Definition at line 300 of file ti.h.

#define N_BTMASK   (017)

Definition at line 332 of file ti.h.

#define N_BTSHFT   (4)

Definition at line 334 of file ti.h.

#define N_TMASK   (060)

Definition at line 333 of file ti.h.

#define N_TSHIFT   (2)

Definition at line 335 of file ti.h.

#define NEEDS_PAGE (   X)    0

Definition at line 406 of file ti.h.

#define PAGE_MASK   0

Definition at line 407 of file ti.h.

#define PUT_LNSZ_SIZE (   abfd,
  in,
  ext 
)
Value:
H_PUT_16 (abfd, ((class != C_FIELD) ? (in) * 8 : (in)), \
          ext->x_sym.x_misc.x_lnsz.x_size)

Definition at line 398 of file ti.h.

#define PUT_SCN_SCNLEN (   ABFD,
  INT,
  EXT 
)    H_PUT_32 (ABFD, (INT) / bfd_octets_per_byte (ABFD), (EXT)->x_scn.x_scnlen)

Definition at line 391 of file ti.h.

#define PUT_SCNHDR_FLAGS (   ABFD,
  VAL,
  LOC 
)    (COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, LOC) : H_PUT_16 (ABFD, VAL, (LOC) - 4))

Definition at line 228 of file ti.h.

#define PUT_SCNHDR_NLNNO (   ABFD,
  VAL,
  LOC 
)    (COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, LOC) : H_PUT_16 (ABFD, VAL, (LOC) - 2))

Definition at line 224 of file ti.h.

#define PUT_SCNHDR_NRELOC (   ABFD,
  VAL,
  LOC 
)    (COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, LOC) : H_PUT_16 (ABFD, VAL, LOC))

Definition at line 220 of file ti.h.

#define PUT_SCNHDR_PAGE (   ABFD,
  VAL,
  LOC 
)
Value:
(COFF2_P (ABFD) \
   ? H_PUT_16 (ABFD, VAL, LOC) \
   : H_PUT_8 (ABFD, VAL, (LOC) - 7), H_PUT_8 (ABFD, 0, (LOC) - 8))

Definition at line 233 of file ti.h.

#define PUT_SCNHDR_SIZE (   ABFD,
  SZ,
  SZP 
)    H_PUT_32 (ABFD, (SZ) / bfd_octets_per_byte (ABFD), SZP)

Definition at line 242 of file ti.h.

#define R_ABS   0x0000 /* no relocation */

Definition at line 465 of file ti.h.

#define R_EXTWORD   0x002B /* 23-bit direct reference */

Definition at line 469 of file ti.h.

#define R_EXTWORD16   0x002C /* 16-bit direct reference to 23-bit addr*/

Definition at line 470 of file ti.h.

#define R_EXTWORDMS7   0x002D /* upper 7 bits of 23-bit address */

Definition at line 471 of file ti.h.

#define R_PARTLS7   0x0028 /* 7 LSBs of an address */

Definition at line 467 of file ti.h.

#define R_PARTMS9   0x0029 /* 9MSBs of an address */

Definition at line 468 of file ti.h.

#define R_REL13   0x002A /* 13-bit direct reference (???) */

Definition at line 466 of file ti.h.

#define RELOC   struct external_reloc

Definition at line 460 of file ti.h.

#define RELSZ   12 /* for COFF1/2 */

Definition at line 462 of file ti.h.

#define RELSZ_V0   10 /* FIXME -- coffcode.h needs fixing */

Definition at line 461 of file ti.h.

Definition at line 210 of file ti.h.

Definition at line 209 of file ti.h.

#define SCNHSZ   48

Definition at line 212 of file ti.h.

#define SCNHSZ_V01   40 /* for v0 and v1 */

Definition at line 211 of file ti.h.

#define SECTION_RELATIVE_ABSOLUTE_SYMBOL_P (   RELOC,
  SECT 
)
Value:
((*(RELOC)->sym_ptr_ptr)->section->output_section == (SECT) \
   && (RELOC)->howto->name[0] == 'A')

Definition at line 438 of file ti.h.

#define STYP_ALIGN   (0x0F00) /* TI COFF stores section alignment here */

Definition at line 207 of file ti.h.

#define STYP_BLOCK   (0x1000)

Definition at line 206 of file ti.h.

#define STYP_CLINK   (0x4000)

Definition at line 205 of file ti.h.

Definition at line 383 of file ti.h.

#define SYMESZ   18

Definition at line 384 of file ti.h.

#define TICOFF   1 /* customize coffcode.h */

Definition at line 47 of file ti.h.

#define TICOFF0MAGIC   TI_TARGET_ID

Definition at line 43 of file ti.h.

#define TICOFF1MAGIC   0x00C1

Definition at line 44 of file ti.h.

#define TICOFF2MAGIC   0x00C2

Definition at line 45 of file ti.h.

#define TICOFF_AOUT_MAGIC   0x0108 /* magic number in optional header */

Definition at line 46 of file ti.h.

Definition at line 70 of file ti.h.

#define TICOFF_LOCAL_LABEL_P (   NAME)
Value:
((NAME[0] == '$' && NAME[1] >= '0' && NAME[1] <= '9' && NAME[2] == '\0') \
 || NAME[strlen(NAME)-1] == '?')

Definition at line 307 of file ti.h.

#define TICOFF_TARGET_MACHINE_GET (   FLAGS)    0

Definition at line 61 of file ti.h.

#define TICOFF_TARGET_MACHINE_SET (   FLAGSP,
  MACHINE 
)

Definition at line 65 of file ti.h.