[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1 Miscellaneous constants

The target vector starts with a set of constants.

`name'
The name of the target vector. This is an arbitrary string. This is how the target vector is named in command line options for tools which use BFD, such as the `--oformat' linker option.

`flavour'
A general description of the type of target. The following flavours are currently defined:

`bfd_target_unknown_flavour'
Undefined or unknown.
`bfd_target_aout_flavour'
a.out.
`bfd_target_coff_flavour'
COFF.
`bfd_target_ecoff_flavour'
ECOFF.
`bfd_target_elf_flavour'
ELF.
`bfd_target_ieee_flavour'
IEEE-695.
`bfd_target_nlm_flavour'
NLM.
`bfd_target_oasys_flavour'
OASYS.
`bfd_target_tekhex_flavour'
Tektronix hex format.
`bfd_target_srec_flavour'
Motorola S-record format.
`bfd_target_ihex_flavour'
Intel hex format.
`bfd_target_som_flavour'
SOM (used on HP/UX).
`bfd_target_os9k_flavour'
os9000.
`bfd_target_versados_flavour'
VERSAdos.
`bfd_target_msdos_flavour'
MS-DOS.
`bfd_target_evax_flavour'
openVMS.
`bfd_target_mmo_flavour'
Donald Knuth's MMIXware object format.

`byteorder'
The byte order of data in the object file. One of `BFD_ENDIAN_BIG', `BFD_ENDIAN_LITTLE', or `BFD_ENDIAN_UNKNOWN'. The latter would be used for a format such as S-records which do not record the architecture of the data.

`header_byteorder'
The byte order of header information in the object file. Normally the same as the `byteorder' field, but there are certain cases where it may be different.

`object_flags'
Flags which may appear in the `flags' field of a BFD with this format.

`section_flags'
Flags which may appear in the `flags' field of a section within a BFD with this format.

`symbol_leading_char'
A character which the C compiler normally puts before a symbol. For example, an a.out compiler will typically generate the symbol `_foo' for a function named `foo' in the C source, in which case this field would be `_'. If there is no such character, this field will be `0'.

`ar_pad_char'
The padding character to use at the end of an archive name. Normally `/'.

`ar_max_namelen'
The maximum length of a short name in an archive. Normally `14'.

`backend_data'
A pointer to constant backend data. This is used by backends to store whatever additional information they need to distinguish similar target vectors which use the same sets of functions.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by system on December, 2 2004 using texi2html