~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to bfd/mach-o.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-03-18 13:07:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050318130752-j4i37zgqclj53b94
Tags: 2.15-5ubuntu2
debian/rules: Call pkgstriptranslations if present (the package does not
use debhelper, thus it does not happen automatically).

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    BFD_MACH_O_LC_FVMFILE = 0x9,        /* Fixed VM file inclusion.  */
75
75
    BFD_MACH_O_LC_PREPAGE = 0xa,        /* Prepage command (internal use).  */
76
76
    BFD_MACH_O_LC_DYSYMTAB = 0xb,       /* Dynamic link-edit symbol table info.  */
77
 
    BFD_MACH_O_LC_LOAD_DYLIB = 0xc,     /* Load a dynamicly linked shared library.  */
78
 
    BFD_MACH_O_LC_ID_DYLIB = 0xd,       /* Dynamicly linked shared lib identification.  */
 
77
    BFD_MACH_O_LC_LOAD_DYLIB = 0xc,     /* Load a dynamically linked shared library.  */
 
78
    BFD_MACH_O_LC_ID_DYLIB = 0xd,       /* Dynamically linked shared lib identification.  */
79
79
    BFD_MACH_O_LC_LOAD_DYLINKER = 0xe,  /* Load a dynamic linker.  */
80
80
    BFD_MACH_O_LC_ID_DYLINKER = 0xf,    /* Dynamic linker identification.  */
81
 
    BFD_MACH_O_LC_PREBOUND_DYLIB = 0x10,/* Modules prebound for a dynamicly.  */
 
81
    BFD_MACH_O_LC_PREBOUND_DYLIB = 0x10,/* Modules prebound for a dynamically.  */
82
82
    BFD_MACH_O_LC_ROUTINES = 0x11,      /* Image routines.  */
83
83
    BFD_MACH_O_LC_SUB_FRAMEWORK = 0x12, /* Sub framework.  */
84
84
    BFD_MACH_O_LC_SUB_UMBRELLA = 0x13,  /* Sub umbrella.  */
86
86
    BFD_MACH_O_LC_SUB_LIBRARY = 0x15,   /* Sub library.  */
87
87
    BFD_MACH_O_LC_TWOLEVEL_HINTS = 0x16,/* Two-level namespace lookup hints.  */
88
88
    BFD_MACH_O_LC_PREBIND_CKSUM = 0x17, /* Prebind checksum.  */
89
 
    /* Load a dynamicly linked shared library that is allowed to be
 
89
    /* Load a dynamically linked shared library that is allowed to be
90
90
       missing (weak).  */
91
91
    BFD_MACH_O_LC_LOAD_WEAK_DYLIB = 0x18
92
92
  }
231
231
bfd_mach_o_symtab_command;
232
232
 
233
233
/* This is the second set of the symbolic information which is used to support
234
 
   the data structures for the dynamicly link editor.
 
234
   the data structures for the dynamically link editor.
235
235
 
236
236
   The original set of symbolic information in the symtab_command which contains
237
237
   the symbol and string tables must also be present when this load command is
250
250
       reference symbol table
251
251
       indirect symbol table
252
252
   The first three tables above (the table of contents, module table and
253
 
   reference symbol table) are only present if the file is a dynamicly linked
 
253
   reference symbol table) are only present if the file is a dynamically linked
254
254
   shared library.  For executable and object modules, which are files
255
255
   containing only one module, the information that would be in these three
256
256
   tables is determined as follows:
259
259
                      file is part of the module.
260
260
       reference symbol table - is the defined and undefined external symbols
261
261
 
262
 
   For dynamicly linked shared library files this load command also contains
 
262
   For dynamically linked shared library files this load command also contains
263
263
   offsets and sizes to the pool of relocation entries for all sections
264
264
   separated into two groups:
265
265
       external relocation entries
281
281
 
282
282
     The last two groups are used by the dynamic binding process to do the
283
283
     binding (indirectly through the module table and the reference symbol
284
 
     table when this is a dynamicly linked shared library file).  */
 
284
     table when this is a dynamically linked shared library file).  */
285
285
 
286
286
  unsigned long ilocalsym;    /* Index to local symbols.  */
287
287
  unsigned long nlocalsym;    /* Number of local symbols.  */
293
293
  /* For the for the dynamic binding process to find which module a symbol
294
294
     is defined in the table of contents is used (analogous to the ranlib
295
295
     structure in an archive) which maps defined external symbols to modules
296
 
     they are defined in.  This exists only in a dynamicly linked shared
 
296
     they are defined in.  This exists only in a dynamically linked shared
297
297
     library file.  For executable and object modules the defined external
298
298
     symbols are sorted by name and is use as the table of contents.  */
299
299
 
304
304
     table must reflect the modules that the file was created from.  This is
305
305
     done by having a module table that has indexes and counts into the merged
306
306
     tables for each module.  The module structure that these two entries
307
 
     refer to is described below.  This exists only in a dynamicly linked
 
307
     refer to is described below.  This exists only in a dynamically linked
308
308
     shared library file.  For executable and object modules the file only
309
309
     contains one module so everything in the file belongs to the module.  */
310
310
 
315
315
     indicates the external references (defined and undefined) each module
316
316
     makes.  For each module there is an offset and a count into the
317
317
     reference symbol table for the symbols that the module references.
318
 
     This exists only in a dynamicly linked shared library file.  For
 
318
     This exists only in a dynamically linked shared library file.  For
319
319
     executable and object modules the defined external symbols and the
320
320
     undefined external symbols indicates the external references.  */
321
321
 
363
363
 
364
364
  /* All the local relocation entries are grouped together (they are not
365
365
     grouped by their module since they are only used if the object is moved
366
 
     from it staticly link edited address).  */
 
366
     from it statically link edited address).  */
367
367
 
368
368
  unsigned long locreloff;    /* Offset to local relocation entries.  */
369
369
  unsigned long nlocrel;      /* Number of local relocation entries.  */