Back to index

cell-binutils  2.17cvs20070401
mach-o.h
Go to the documentation of this file.
00001 /* Mach-O support for BFD.
00002    Copyright 1999, 2000, 2001, 2002, 2003, 2005
00003    Free Software Foundation, Inc.
00004 
00005    This file is part of BFD, the Binary File Descriptor library.
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 2 of the License, or
00010    (at your option) any later version.
00011 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program; if not, write to the Free Software
00019    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00020 
00021 #ifndef _BFD_MACH_O_H_
00022 #define _BFD_MACH_O_H_
00023 
00024 #include "bfd.h"
00025 
00026 #define BFD_MACH_O_N_STAB  0xe0    /* If any of these bits set, a symbolic debugging entry.  */
00027 #define BFD_MACH_O_N_PEXT  0x10    /* Private external symbol bit.  */
00028 #define BFD_MACH_O_N_TYPE  0x0e    /* Mask for the type bits.  */
00029 #define BFD_MACH_O_N_EXT   0x01    /* External symbol bit, set for external symbols.  */
00030 #define BFD_MACH_O_N_UNDF  0x00    /* Undefined, n_sect == NO_SECT.  */
00031 #define BFD_MACH_O_N_ABS   0x02    /* Absolute, n_sect == NO_SECT.  */
00032 #define BFD_MACH_O_N_SECT  0x0e    /* Defined in section number n_sect.  */
00033 #define BFD_MACH_O_N_PBUD  0x0c /* Prebound undefined (defined in a dylib).  */
00034 #define BFD_MACH_O_N_INDR  0x0a    /* Indirect.  */
00035 
00036 typedef enum bfd_mach_o_ppc_thread_flavour
00037 {
00038   BFD_MACH_O_PPC_THREAD_STATE = 1,
00039   BFD_MACH_O_PPC_FLOAT_STATE = 2,
00040   BFD_MACH_O_PPC_EXCEPTION_STATE = 3,
00041   BFD_MACH_O_PPC_VECTOR_STATE = 4
00042 }
00043 bfd_mach_o_ppc_thread_flavour;
00044 
00045 typedef enum bfd_mach_o_i386_thread_flavour
00046 {
00047   BFD_MACH_O_i386_NEW_THREAD_STATE = 1,
00048   BFD_MACH_O_i386_FLOAT_STATE = 2,
00049   BFD_MACH_O_i386_ISA_PORT_MAP_STATE = 3,
00050   BFD_MACH_O_i386_V86_ASSIST_STATE = 4,
00051   BFD_MACH_O_i386_REGS_SEGS_STATE = 5,
00052   BFD_MACH_O_i386_THREAD_SYSCALL_STATE = 6,
00053   BFD_MACH_O_i386_THREAD_STATE_NONE = 7,
00054   BFD_MACH_O_i386_SAVED_STATE = 8,
00055   BFD_MACH_O_i386_THREAD_STATE = -1,
00056   BFD_MACH_O_i386_THREAD_FPSTATE = -2,
00057   BFD_MACH_O_i386_THREAD_EXCEPTSTATE = -3,
00058   BFD_MACH_O_i386_THREAD_CTHREADSTATE = -4,
00059 }
00060 bfd_mach_o_i386_thread_flavour;
00061 
00062 #define BFD_MACH_O_LC_REQ_DYLD 0x80000000
00063 
00064 typedef enum bfd_mach_o_load_command_type
00065 {
00066   BFD_MACH_O_LC_SEGMENT = 0x1,            /* File segment to be mapped.  */
00067   BFD_MACH_O_LC_SYMTAB = 0x2,             /* Link-edit stab symbol table info (obsolete).  */
00068   BFD_MACH_O_LC_SYMSEG = 0x3,             /* Link-edit gdb symbol table info.  */
00069   BFD_MACH_O_LC_THREAD = 0x4,             /* Thread.  */
00070   BFD_MACH_O_LC_UNIXTHREAD = 0x5,  /* UNIX thread (includes a stack).  */
00071   BFD_MACH_O_LC_LOADFVMLIB = 0x6,  /* Load a fixed VM shared library.  */
00072   BFD_MACH_O_LC_IDFVMLIB = 0x7,           /* Fixed VM shared library id.  */
00073   BFD_MACH_O_LC_IDENT = 0x8,              /* Object identification information (obsolete).  */
00074   BFD_MACH_O_LC_FVMFILE = 0x9,            /* Fixed VM file inclusion.  */
00075   BFD_MACH_O_LC_PREPAGE = 0xa,            /* Prepage command (internal use).  */
00076   BFD_MACH_O_LC_DYSYMTAB = 0xb,           /* Dynamic link-edit symbol table info.  */
00077   BFD_MACH_O_LC_LOAD_DYLIB = 0xc,  /* Load a dynamically linked shared library.  */
00078   BFD_MACH_O_LC_ID_DYLIB = 0xd,           /* Dynamically linked shared lib identification.  */
00079   BFD_MACH_O_LC_LOAD_DYLINKER = 0xe,      /* Load a dynamic linker.  */
00080   BFD_MACH_O_LC_ID_DYLINKER = 0xf, /* Dynamic linker identification.  */
00081   BFD_MACH_O_LC_PREBOUND_DYLIB = 0x10,    /* Modules prebound for a dynamically.  */
00082   BFD_MACH_O_LC_ROUTINES = 0x11,   /* Image routines.  */
00083   BFD_MACH_O_LC_SUB_FRAMEWORK = 0x12,     /* Sub framework.  */
00084   BFD_MACH_O_LC_SUB_UMBRELLA = 0x13,      /* Sub umbrella.  */
00085   BFD_MACH_O_LC_SUB_CLIENT = 0x14, /* Sub client.  */
00086   BFD_MACH_O_LC_SUB_LIBRARY = 0x15,       /* Sub library.  */
00087   BFD_MACH_O_LC_TWOLEVEL_HINTS = 0x16,    /* Two-level namespace lookup hints.  */
00088   BFD_MACH_O_LC_PREBIND_CKSUM = 0x17,     /* Prebind checksum.  */
00089   /* Load a dynamically linked shared library that is allowed to be
00090        missing (weak).  */
00091   BFD_MACH_O_LC_LOAD_WEAK_DYLIB = 0x18
00092 }
00093 bfd_mach_o_load_command_type;
00094 
00095 typedef enum bfd_mach_o_cpu_type
00096 {
00097   BFD_MACH_O_CPU_TYPE_VAX = 1,
00098   BFD_MACH_O_CPU_TYPE_MC680x0 = 6,
00099   BFD_MACH_O_CPU_TYPE_I386 = 7,
00100   BFD_MACH_O_CPU_TYPE_MIPS = 8,
00101   BFD_MACH_O_CPU_TYPE_MC98000 = 10,
00102   BFD_MACH_O_CPU_TYPE_HPPA = 11,
00103   BFD_MACH_O_CPU_TYPE_ARM = 12,
00104   BFD_MACH_O_CPU_TYPE_MC88000 = 13,
00105   BFD_MACH_O_CPU_TYPE_SPARC = 14,
00106   BFD_MACH_O_CPU_TYPE_I860 = 15,
00107   BFD_MACH_O_CPU_TYPE_ALPHA = 16,
00108   BFD_MACH_O_CPU_TYPE_POWERPC = 18
00109 }
00110 bfd_mach_o_cpu_type;
00111 
00112 typedef enum bfd_mach_o_filetype
00113 {
00114   BFD_MACH_O_MH_OBJECT = 1,
00115   BFD_MACH_O_MH_EXECUTE = 2,
00116   BFD_MACH_O_MH_FVMLIB = 3,
00117   BFD_MACH_O_MH_CORE = 4,
00118   BFD_MACH_O_MH_PRELOAD = 5,
00119   BFD_MACH_O_MH_DYLIB = 6,
00120   BFD_MACH_O_MH_DYLINKER = 7,
00121   BFD_MACH_O_MH_BUNDLE = 8
00122 }
00123 bfd_mach_o_filetype;
00124 
00125 /* Constants for the type of a section.  */
00126 
00127 typedef enum bfd_mach_o_section_type
00128 {
00129   /* Regular section.  */
00130   BFD_MACH_O_S_REGULAR = 0x0,
00131 
00132   /* Zero fill on demand section.  */
00133   BFD_MACH_O_S_ZEROFILL = 0x1,
00134 
00135   /* Section with only literal C strings.  */
00136   BFD_MACH_O_S_CSTRING_LITERALS = 0x2,
00137 
00138   /* Section with only 4 byte literals.  */
00139   BFD_MACH_O_S_4BYTE_LITERALS = 0x3,
00140 
00141   /* Section with only 8 byte literals.  */
00142   BFD_MACH_O_S_8BYTE_LITERALS = 0x4,
00143 
00144   /* Section with only pointers to literals.  */
00145   BFD_MACH_O_S_LITERAL_POINTERS = 0x5,
00146 
00147   /* For the two types of symbol pointers sections and the symbol stubs
00148      section they have indirect symbol table entries.  For each of the
00149      entries in the section the indirect symbol table entries, in
00150      corresponding order in the indirect symbol table, start at the index
00151      stored in the reserved1 field of the section structure.  Since the
00152      indirect symbol table entries correspond to the entries in the
00153      section the number of indirect symbol table entries is inferred from
00154      the size of the section divided by the size of the entries in the
00155      section.  For symbol pointers sections the size of the entries in
00156      the section is 4 bytes and for symbol stubs sections the byte size
00157      of the stubs is stored in the reserved2 field of the section
00158      structure.  */
00159 
00160   /* Section with only non-lazy symbol pointers.  */
00161   BFD_MACH_O_S_NON_LAZY_SYMBOL_POINTERS = 0x6,
00162 
00163   /* Section with only lazy symbol pointers.  */
00164   BFD_MACH_O_S_LAZY_SYMBOL_POINTERS = 0x7,
00165 
00166   /* Section with only symbol stubs, byte size of stub in the reserved2 field.  */
00167   BFD_MACH_O_S_SYMBOL_STUBS = 0x8,
00168 
00169   /* Section with only function pointers for initialization.  */
00170   BFD_MACH_O_S_MOD_INIT_FUNC_POINTERS = 0x9
00171 }
00172 bfd_mach_o_section_type;
00173 
00174 typedef unsigned long bfd_mach_o_cpu_subtype;
00175 
00176 typedef struct bfd_mach_o_header
00177 {
00178   unsigned long magic;
00179   unsigned long cputype;
00180   unsigned long cpusubtype;
00181   unsigned long filetype;
00182   unsigned long ncmds;
00183   unsigned long sizeofcmds;
00184   unsigned long flags;
00185   enum bfd_endian byteorder;
00186 }
00187 bfd_mach_o_header;
00188 
00189 typedef struct bfd_mach_o_section
00190 {
00191   asection *bfdsection;
00192   char sectname[16 + 1];
00193   char segname[16 + 1];
00194   bfd_vma addr;
00195   bfd_vma size;
00196   bfd_vma offset;
00197   unsigned long align;
00198   bfd_vma reloff;
00199   unsigned long nreloc;
00200   unsigned long flags;
00201   unsigned long reserved1;
00202   unsigned long reserved2;
00203 }
00204 bfd_mach_o_section;
00205 
00206 typedef struct bfd_mach_o_segment_command
00207 {
00208   char segname[16];
00209   bfd_vma vmaddr;
00210   bfd_vma vmsize;
00211   bfd_vma fileoff;
00212   unsigned long filesize;
00213   unsigned long nsects;
00214   unsigned long flags;
00215   bfd_mach_o_section *sections;
00216   asection *segment;
00217 }
00218 bfd_mach_o_segment_command;
00219 
00220 typedef struct bfd_mach_o_symtab_command
00221 {
00222   unsigned long symoff;
00223   unsigned long nsyms;
00224   unsigned long stroff;
00225   unsigned long strsize;
00226   asymbol *symbols;
00227   char *strtab;
00228   asection *stabs_segment;
00229   asection *stabstr_segment;
00230 }
00231 bfd_mach_o_symtab_command;
00232 
00233 /* This is the second set of the symbolic information which is used to support
00234    the data structures for the dynamically link editor.
00235 
00236    The original set of symbolic information in the symtab_command which contains
00237    the symbol and string tables must also be present when this load command is
00238    present.  When this load command is present the symbol table is organized
00239    into three groups of symbols:
00240        local symbols (static and debugging symbols) - grouped by module
00241        defined external symbols - grouped by module (sorted by name if not lib)
00242        undefined external symbols (sorted by name)
00243    In this load command there are offsets and counts to each of the three groups
00244    of symbols.
00245 
00246    This load command contains a the offsets and sizes of the following new
00247    symbolic information tables:
00248        table of contents
00249        module table
00250        reference symbol table
00251        indirect symbol table
00252    The first three tables above (the table of contents, module table and
00253    reference symbol table) are only present if the file is a dynamically linked
00254    shared library.  For executable and object modules, which are files
00255    containing only one module, the information that would be in these three
00256    tables is determined as follows:
00257        table of contents - the defined external symbols are sorted by name
00258        module table - the file contains only one module so everything in the
00259                       file is part of the module.
00260        reference symbol table - is the defined and undefined external symbols
00261 
00262    For dynamically linked shared library files this load command also contains
00263    offsets and sizes to the pool of relocation entries for all sections
00264    separated into two groups:
00265        external relocation entries
00266        local relocation entries
00267    For executable and object modules the relocation entries continue to hang
00268    off the section structures.  */
00269 
00270 typedef struct bfd_mach_o_dysymtab_command
00271 {
00272   /* The symbols indicated by symoff and nsyms of the LC_SYMTAB load command
00273      are grouped into the following three groups:
00274        local symbols (further grouped by the module they are from)
00275        defined external symbols (further grouped by the module they are from)
00276        undefined symbols
00277 
00278      The local symbols are used only for debugging.  The dynamic binding
00279      process may have to use them to indicate to the debugger the local
00280      symbols for a module that is being bound.
00281 
00282      The last two groups are used by the dynamic binding process to do the
00283      binding (indirectly through the module table and the reference symbol
00284      table when this is a dynamically linked shared library file).  */
00285 
00286   unsigned long ilocalsym;    /* Index to local symbols.  */
00287   unsigned long nlocalsym;    /* Number of local symbols.  */
00288   unsigned long iextdefsym;   /* Index to externally defined symbols.  */
00289   unsigned long nextdefsym;   /* Number of externally defined symbols.  */
00290   unsigned long iundefsym;    /* Index to undefined symbols.  */
00291   unsigned long nundefsym;    /* Number of undefined symbols.  */
00292 
00293   /* For the for the dynamic binding process to find which module a symbol
00294      is defined in the table of contents is used (analogous to the ranlib
00295      structure in an archive) which maps defined external symbols to modules
00296      they are defined in.  This exists only in a dynamically linked shared
00297      library file.  For executable and object modules the defined external
00298      symbols are sorted by name and is use as the table of contents.  */
00299 
00300   unsigned long tocoff;       /* File offset to table of contents.  */
00301   unsigned long ntoc;         /* Number of entries in table of contents.  */
00302 
00303   /* To support dynamic binding of "modules" (whole object files) the symbol
00304      table must reflect the modules that the file was created from.  This is
00305      done by having a module table that has indexes and counts into the merged
00306      tables for each module.  The module structure that these two entries
00307      refer to is described below.  This exists only in a dynamically linked
00308      shared library file.  For executable and object modules the file only
00309      contains one module so everything in the file belongs to the module.  */
00310 
00311   unsigned long modtaboff;    /* File offset to module table.  */
00312   unsigned long nmodtab;      /* Number of module table entries.  */
00313 
00314   /* To support dynamic module binding the module structure for each module
00315      indicates the external references (defined and undefined) each module
00316      makes.  For each module there is an offset and a count into the
00317      reference symbol table for the symbols that the module references.
00318      This exists only in a dynamically linked shared library file.  For
00319      executable and object modules the defined external symbols and the
00320      undefined external symbols indicates the external references.  */
00321 
00322   unsigned long extrefsymoff;  /* Offset to referenced symbol table.  */
00323   unsigned long nextrefsyms;   /* Number of referenced symbol table entries.  */
00324 
00325   /* The sections that contain "symbol pointers" and "routine stubs" have
00326      indexes and (implied counts based on the size of the section and fixed
00327      size of the entry) into the "indirect symbol" table for each pointer
00328      and stub.  For every section of these two types the index into the
00329      indirect symbol table is stored in the section header in the field
00330      reserved1.  An indirect symbol table entry is simply a 32bit index into
00331      the symbol table to the symbol that the pointer or stub is referring to.
00332      The indirect symbol table is ordered to match the entries in the section.  */
00333 
00334   unsigned long indirectsymoff; /* File offset to the indirect symbol table.  */
00335   unsigned long nindirectsyms;  /* Number of indirect symbol table entries.  */
00336 
00337   /* To support relocating an individual module in a library file quickly the
00338      external relocation entries for each module in the library need to be
00339      accessed efficiently.  Since the relocation entries can't be accessed
00340      through the section headers for a library file they are separated into
00341      groups of local and external entries further grouped by module.  In this
00342      case the presents of this load command who's extreloff, nextrel,
00343      locreloff and nlocrel fields are non-zero indicates that the relocation
00344      entries of non-merged sections are not referenced through the section
00345      structures (and the reloff and nreloc fields in the section headers are
00346      set to zero).
00347 
00348      Since the relocation entries are not accessed through the section headers
00349      this requires the r_address field to be something other than a section
00350      offset to identify the item to be relocated.  In this case r_address is
00351      set to the offset from the vmaddr of the first LC_SEGMENT command.
00352 
00353      The relocation entries are grouped by module and the module table
00354      entries have indexes and counts into them for the group of external
00355      relocation entries for that the module.
00356 
00357      For sections that are merged across modules there must not be any
00358      remaining external relocation entries for them (for merged sections
00359      remaining relocation entries must be local).  */
00360 
00361   unsigned long extreloff;    /* Offset to external relocation entries.  */
00362   unsigned long nextrel;      /* Number of external relocation entries.  */
00363 
00364   /* All the local relocation entries are grouped together (they are not
00365      grouped by their module since they are only used if the object is moved
00366      from it statically link edited address).  */
00367 
00368   unsigned long locreloff;    /* Offset to local relocation entries.  */
00369   unsigned long nlocrel;      /* Number of local relocation entries.  */
00370 }
00371 bfd_mach_o_dysymtab_command;
00372 
00373 /* An indirect symbol table entry is simply a 32bit index into the symbol table
00374    to the symbol that the pointer or stub is refering to.  Unless it is for a
00375    non-lazy symbol pointer section for a defined symbol which strip(1) as
00376    removed.  In which case it has the value INDIRECT_SYMBOL_LOCAL.  If the
00377    symbol was also absolute INDIRECT_SYMBOL_ABS is or'ed with that.  */
00378 
00379 #define INDIRECT_SYMBOL_LOCAL 0x80000000
00380 #define INDIRECT_SYMBOL_ABS   0x40000000
00381 
00382 typedef struct bfd_mach_o_thread_flavour
00383 {
00384   unsigned long flavour;
00385   bfd_vma offset;
00386   unsigned long size;
00387 }
00388 bfd_mach_o_thread_flavour;
00389 
00390 typedef struct bfd_mach_o_thread_command
00391 {
00392   unsigned long nflavours;
00393   bfd_mach_o_thread_flavour *flavours;
00394   asection *section;
00395 }
00396 bfd_mach_o_thread_command;
00397 
00398 typedef struct bfd_mach_o_dylinker_command
00399 {
00400   unsigned long cmd;                   /* LC_ID_DYLIB or LC_LOAD_DYLIB.  */
00401   unsigned long cmdsize;               /* Includes pathname string.  */
00402   unsigned long name_offset;           /* Offset to library's path name.  */
00403   unsigned long name_len;              /* Offset to library's path name.  */
00404   asection *section;
00405 }
00406 bfd_mach_o_dylinker_command;
00407 
00408 typedef struct bfd_mach_o_dylib_command
00409 {
00410   unsigned long cmd;                   /* LC_ID_DYLIB or LC_LOAD_DYLIB.  */
00411   unsigned long cmdsize;               /* Includes pathname string.  */
00412   unsigned long name_offset;           /* Offset to library's path name.  */
00413   unsigned long name_len;              /* Offset to library's path name.  */
00414   unsigned long timestamp;         /* Library's build time stamp.  */
00415   unsigned long current_version;       /* Library's current version number.  */
00416   unsigned long compatibility_version; /* Library's compatibility vers number.  */
00417   asection *section;
00418 }
00419 bfd_mach_o_dylib_command;
00420 
00421 typedef struct bfd_mach_o_prebound_dylib_command
00422 {
00423   unsigned long cmd;                 /* LC_PREBOUND_DYLIB.  */
00424   unsigned long cmdsize;             /* Includes strings.  */
00425   unsigned long name;                /* Library's path name.  */
00426   unsigned long nmodules;            /* Number of modules in library.  */
00427   unsigned long linked_modules;      /* Bit vector of linked modules.  */
00428   asection *section;
00429 }
00430 bfd_mach_o_prebound_dylib_command;
00431 
00432 typedef struct bfd_mach_o_load_command
00433 {
00434   bfd_mach_o_load_command_type type;
00435   unsigned int type_required;
00436   bfd_vma offset;
00437   bfd_vma len;
00438   union
00439   {
00440     bfd_mach_o_segment_command segment;
00441     bfd_mach_o_symtab_command symtab;
00442     bfd_mach_o_dysymtab_command dysymtab;
00443     bfd_mach_o_thread_command thread;
00444     bfd_mach_o_dylib_command dylib;
00445     bfd_mach_o_dylinker_command dylinker;
00446     bfd_mach_o_prebound_dylib_command prebound_dylib;
00447   }
00448   command;
00449 }
00450 bfd_mach_o_load_command;
00451 
00452 typedef struct mach_o_data_struct
00453 {
00454   bfd_mach_o_header header;
00455   bfd_mach_o_load_command *commands;
00456   unsigned long nsymbols;
00457   asymbol *symbols;
00458   unsigned long nsects;
00459   bfd_mach_o_section **sections;
00460   bfd *ibfd;
00461 }
00462 mach_o_data_struct;
00463 
00464 typedef struct mach_o_data_struct bfd_mach_o_data_struct;
00465 
00466 bfd_boolean        bfd_mach_o_valid  (bfd *);
00467 int                bfd_mach_o_scan_read_symtab_symbol        (bfd *, bfd_mach_o_symtab_command *, asymbol *, unsigned long);
00468 int                bfd_mach_o_scan_read_symtab_strtab        (bfd *, bfd_mach_o_symtab_command *);
00469 int                bfd_mach_o_scan_read_symtab_symbols       (bfd *, bfd_mach_o_symtab_command *);
00470 int                bfd_mach_o_scan_read_dysymtab_symbol      (bfd *, bfd_mach_o_dysymtab_command *, bfd_mach_o_symtab_command *, asymbol *, unsigned long);
00471 int                bfd_mach_o_scan_start_address             (bfd *);
00472 int                bfd_mach_o_scan                           (bfd *, bfd_mach_o_header *, bfd_mach_o_data_struct *);
00473 bfd_boolean        bfd_mach_o_mkobject                       (bfd *);
00474 const bfd_target * bfd_mach_o_object_p                       (bfd *);
00475 const bfd_target * bfd_mach_o_core_p                         (bfd *);
00476 const bfd_target * bfd_mach_o_archive_p                      (bfd *);
00477 bfd *              bfd_mach_o_openr_next_archived_file       (bfd *, bfd *);
00478 int                bfd_mach_o_lookup_section                 (bfd *, asection *, bfd_mach_o_load_command **, bfd_mach_o_section **);
00479 int                bfd_mach_o_lookup_command                 (bfd *, bfd_mach_o_load_command_type, bfd_mach_o_load_command **);
00480 unsigned long      bfd_mach_o_stack_addr                     (enum bfd_mach_o_cpu_type);
00481 int                bfd_mach_o_core_fetch_environment         (bfd *, unsigned char **, unsigned int *);
00482 char *             bfd_mach_o_core_file_failing_command      (bfd *);
00483 int                bfd_mach_o_core_file_failing_signal       (bfd *);
00484 bfd_boolean        bfd_mach_o_core_file_matches_executable_p (bfd *, bfd *);
00485 
00486 extern const bfd_target mach_o_be_vec;
00487 extern const bfd_target mach_o_le_vec;
00488 extern const bfd_target mach_o_fat_vec;
00489 
00490 #endif /* _BFD_MACH_O_H_ */