osprey/cygnus/bfd/mach-o.c File Reference

#include "mach-o.h"
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
#include "libiberty.h"
#include <ctype.h>
#include "mach-o-target.c"

Include dependency graph for mach-o.c:

Go to the source code of this file.

Data Types

type  mach_o_fat_archentry
type  mach_o_fat_data_struct

Defines

#define BFD_IO_FUNCS   0
#define bfd_mach_o_mkarchive   _bfd_noarchive_mkarchive
#define bfd_mach_o_read_ar_hdr   _bfd_noarchive_read_ar_hdr
#define bfd_mach_o_slurp_armap   _bfd_noarchive_slurp_armap
#define bfd_mach_o_slurp_extended_name_table   _bfd_noarchive_slurp_extended_name_table
#define bfd_mach_o_construct_extended_name_table   _bfd_noarchive_construct_extended_name_table
#define bfd_mach_o_truncate_arname   _bfd_noarchive_truncate_arname
#define bfd_mach_o_write_armap   _bfd_noarchive_write_armap
#define bfd_mach_o_get_elt_at_index   _bfd_noarchive_get_elt_at_index
#define bfd_mach_o_generic_stat_arch_elt   _bfd_noarchive_generic_stat_arch_elt
#define bfd_mach_o_update_armap_timestamp   _bfd_noarchive_update_armap_timestamp
#define bfd_mach_o_close_and_cleanup   _bfd_generic_close_and_cleanup
#define bfd_mach_o_bfd_free_cached_info   _bfd_generic_bfd_free_cached_info
#define bfd_mach_o_new_section_hook   _bfd_generic_new_section_hook
#define bfd_mach_o_get_section_contents_in_window   _bfd_generic_get_section_contents_in_window
#define bfd_mach_o_bfd_is_local_label_name   _bfd_nosymbols_bfd_is_local_label_name
#define bfd_mach_o_bfd_is_target_special_symbol   ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
#define bfd_mach_o_bfd_is_local_label_name   _bfd_nosymbols_bfd_is_local_label_name
#define bfd_mach_o_get_lineno   _bfd_nosymbols_get_lineno
#define bfd_mach_o_find_nearest_line   _bfd_nosymbols_find_nearest_line
#define bfd_mach_o_bfd_make_debug_symbol   _bfd_nosymbols_bfd_make_debug_symbol
#define bfd_mach_o_read_minisymbols   _bfd_generic_read_minisymbols
#define bfd_mach_o_minisymbol_to_symbol   _bfd_generic_minisymbol_to_symbol
#define bfd_mach_o_get_reloc_upper_bound   _bfd_norelocs_get_reloc_upper_bound
#define bfd_mach_o_canonicalize_reloc   _bfd_norelocs_canonicalize_reloc
#define bfd_mach_o_bfd_reloc_type_lookup   _bfd_norelocs_bfd_reloc_type_lookup
#define bfd_mach_o_bfd_get_relocated_section_contents   bfd_generic_get_relocated_section_contents
#define bfd_mach_o_bfd_relax_section   bfd_generic_relax_section
#define bfd_mach_o_bfd_link_hash_table_create   _bfd_generic_link_hash_table_create
#define bfd_mach_o_bfd_link_hash_table_free   _bfd_generic_link_hash_table_free
#define bfd_mach_o_bfd_link_add_symbols   _bfd_generic_link_add_symbols
#define bfd_mach_o_bfd_link_just_syms   _bfd_generic_link_just_syms
#define bfd_mach_o_bfd_final_link   _bfd_generic_final_link
#define bfd_mach_o_bfd_link_split_section   _bfd_generic_link_split_section
#define bfd_mach_o_set_arch_mach   bfd_default_set_arch_mach
#define bfd_mach_o_bfd_merge_private_bfd_data   _bfd_generic_bfd_merge_private_bfd_data
#define bfd_mach_o_bfd_set_private_flags   _bfd_generic_bfd_set_private_flags
#define bfd_mach_o_bfd_print_private_bfd_data   _bfd_generic_bfd_print_private_bfd_data
#define bfd_mach_o_get_section_contents   _bfd_generic_get_section_contents
#define bfd_mach_o_set_section_contents   _bfd_generic_set_section_contents
#define bfd_mach_o_bfd_gc_sections   bfd_generic_gc_sections
#define bfd_mach_o_bfd_merge_sections   bfd_generic_merge_sections
#define bfd_mach_o_bfd_is_group_section   bfd_generic_is_group_section
#define bfd_mach_o_bfd_discard_group   bfd_generic_discard_group
#define bfd_mach_o_section_already_linked   _bfd_generic_section_already_linked
#define bfd_mach_o_bfd_copy_private_header_data   _bfd_generic_bfd_copy_private_header_data
#define SECTION_TYPE   0x000000ff
#define SECTION_ATTRIBUTES   0xffffff00
#define SECTION_ATTRIBUTES_USR   0xff000000
#define S_ATTR_PURE_INSTRUCTIONS   0x80000000
#define SECTION_ATTRIBUTES_SYS   0x00ffff00
#define S_ATTR_SOME_INSTRUCTIONS   0x00000400
#define S_ATTR_EXT_RELOC   0x00000200
#define S_ATTR_LOC_RELOC   0x00000100
#define N_STAB   0xe0
#define N_TYPE   0x1e
#define N_EXT   0x01
#define N_UNDF   0x0
#define N_ABS   0x2
#define N_SECT   0xe
#define N_INDR   0xa
#define TARGET_NAME   mach_o_be_vec
#define TARGET_STRING   "mach-o-be"
#define TARGET_BIG_ENDIAN   1
#define TARGET_ARCHIVE   0
#define TARGET_NAME   mach_o_le_vec
#define TARGET_STRING   "mach-o-le"
#define TARGET_BIG_ENDIAN   0
#define TARGET_ARCHIVE   0
#define TARGET_NAME   mach_o_fat_vec
#define TARGET_STRING   "mach-o-fat"
#define TARGET_BIG_ENDIAN   1
#define TARGET_ARCHIVE   1

Functions/Subroutines

static bfd_boolean
bfd_mach_o_bfd_copy_private_symbol_data 
PARAMS ((bfd *, asymbol *, bfd *, asymbol *))
static bfd_boolean
bfd_mach_o_bfd_copy_private_section_data 
PARAMS ((bfd *, asection *, bfd *, asection *))
static bfd_boolean
bfd_mach_o_bfd_copy_private_bfd_data 
PARAMS ((bfd *, bfd *))
static long
bfd_mach_o_count_symbols 
PARAMS ((bfd *))
static long
bfd_mach_o_canonicalize_symtab 
PARAMS ((bfd *, asymbol **))
static void
bfd_mach_o_get_symbol_info 
PARAMS ((bfd *, asymbol *, symbol_info *))
static void bfd_mach_o_print_symbol PARAMS ((bfd *, PTR, asymbol *, bfd_print_symbol_type))
static void
bfd_mach_o_convert_architecture 
PARAMS ((bfd_mach_o_cpu_type, bfd_mach_o_cpu_subtype, enum bfd_architecture *, unsigned long *))
static int
bfd_mach_o_sizeof_headers 
PARAMS ((bfd *, bfd_boolean))
static int bfd_mach_o_write_header PARAMS ((bfd *, bfd_mach_o_header *))
static asection
*bfd_mach_o_make_bfd_section 
PARAMS ((bfd *, bfd_mach_o_section *))
static int
bfd_mach_o_scan_read_section 
PARAMS ((bfd *, bfd_mach_o_section *, bfd_vma))
static int
bfd_mach_o_scan_write_symtab_symbols 
PARAMS ((bfd *, bfd_mach_o_load_command *))
static const char
*bfd_mach_o_i386_flavour_string 
PARAMS ((unsigned int))
bfd_boolean bfd_mach_o_valid (bfd *abfd)
static bfd_boolean bfd_mach_o_bfd_copy_private_symbol_data (ibfd, isymbol, obfd, osymbol)
static bfd_boolean bfd_mach_o_bfd_copy_private_section_data (ibfd, isection, obfd, osection)
static bfd_boolean bfd_mach_o_bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
static long bfd_mach_o_count_symbols (bfd *abfd)
static long bfd_mach_o_get_symtab_upper_bound (bfd *abfd)
static long bfd_mach_o_canonicalize_symtab (bfd *abfd, asymbol **alocation)
static void bfd_mach_o_get_symbol_info (abfd, asymbol *symbol, symbol_info *ret)
static void bfd_mach_o_print_symbol (bfd *abfd, PTR afile, asymbol *symbol, bfd_print_symbol_type how)
static void bfd_mach_o_convert_architecture (bfd_mach_o_cpu_type mtype, msubtype, enum bfd_architecture *type, unsigned long *subtype)
static bfd_boolean bfd_mach_o_write_contents (bfd *abfd)
static int bfd_mach_o_sizeof_headers (a, b)
static asymbolbfd_mach_o_make_empty_symbol (bfd *abfd)
static int bfd_mach_o_write_header (bfd *abfd, bfd_mach_o_header *header)
static int bfd_mach_o_read_header (bfd *abfd, bfd_mach_o_header *header)
static asectionbfd_mach_o_make_bfd_section (bfd *abfd, bfd_mach_o_section *section)
static int bfd_mach_o_scan_read_section (bfd *abfd, bfd_mach_o_section *section, bfd_vma offset)
static int bfd_mach_o_scan_write_section (bfd *abfd, bfd_mach_o_section *section, bfd_vma offset)
static int bfd_mach_o_scan_write_symtab_symbols (bfd *abfd, bfd_mach_o_load_command *command)
int bfd_mach_o_scan_read_symtab_symbol (bfd *abfd, bfd_mach_o_symtab_command *sym, asymbol *s, unsigned long i)
int bfd_mach_o_scan_read_symtab_strtab (bfd *abfd, bfd_mach_o_symtab_command *sym)
int bfd_mach_o_scan_read_symtab_symbols (bfd *abfd, bfd_mach_o_symtab_command *sym)
int bfd_mach_o_scan_read_dysymtab_symbol (bfd *abfd, bfd_mach_o_dysymtab_command *dysym, bfd_mach_o_symtab_command *sym, asymbol *s, unsigned long i)
static const char * bfd_mach_o_i386_flavour_string (unsigned int flavour)
static const char * bfd_mach_o_ppc_flavour_string (unsigned int flavour)
static int bfd_mach_o_scan_write_thread (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_read_dylinker (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_read_dylib (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_read_prebound_dylib (abfd, command)
static int bfd_mach_o_scan_read_thread (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_write_symtab (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_read_dysymtab (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_read_symtab (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_read_segment (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_write_segment (bfd *abfd, bfd_mach_o_load_command *command)
static int bfd_mach_o_scan_read_command (bfd *abfd, bfd_mach_o_load_command *command)
static void bfd_mach_o_flatten_sections (bfd *abfd)
int bfd_mach_o_scan_start_address (bfd *abfd)
int bfd_mach_o_scan (bfd *abfd, bfd_mach_o_header *header, bfd_mach_o_data_struct *mdata)
bfd_boolean bfd_mach_o_mkobject (bfd *abfd)
const bfd_targetbfd_mach_o_object_p (bfd *abfd)
const bfd_targetbfd_mach_o_core_p (bfd *abfd)
const bfd_targetbfd_mach_o_archive_p (bfd *abfd)
bfdbfd_mach_o_openr_next_archived_file (bfd *archive, bfd *prev)
int bfd_mach_o_lookup_section (bfd *abfd, asection *section, bfd_mach_o_load_command **mcommand, bfd_mach_o_section **msection)
int bfd_mach_o_lookup_command (bfd *abfd, bfd_mach_o_load_command_type type, bfd_mach_o_load_command **mcommand)
unsigned long bfd_mach_o_stack_addr (enum bfd_mach_o_cpu_type type)
int bfd_mach_o_core_fetch_environment (bfd *abfd, unsigned char **rbuf, unsigned int *rlen)
char * bfd_mach_o_core_file_failing_command (bfd *abfd)
int bfd_mach_o_core_file_failing_signal (abfd)
bfd_boolean bfd_mach_o_core_file_matches_executable_p (core_bfd, exec_bfd)


Define Documentation

#define BFD_IO_FUNCS   0

Definition at line 33 of file mach-o.c.

Referenced by bfd_mach_o_scan(), bfd_pef_scan(), and bfd_pef_xlib_scan().

#define bfd_mach_o_bfd_copy_private_header_data   _bfd_generic_bfd_copy_private_header_data

Definition at line 81 of file mach-o.c.

#define bfd_mach_o_bfd_discard_group   bfd_generic_discard_group

Definition at line 78 of file mach-o.c.

#define bfd_mach_o_bfd_final_link   _bfd_generic_final_link

Definition at line 67 of file mach-o.c.

#define bfd_mach_o_bfd_free_cached_info   _bfd_generic_bfd_free_cached_info

Definition at line 47 of file mach-o.c.

#define bfd_mach_o_bfd_gc_sections   bfd_generic_gc_sections

Definition at line 75 of file mach-o.c.

#define bfd_mach_o_bfd_get_relocated_section_contents   bfd_generic_get_relocated_section_contents

Definition at line 61 of file mach-o.c.

#define bfd_mach_o_bfd_is_group_section   bfd_generic_is_group_section

Definition at line 77 of file mach-o.c.

#define bfd_mach_o_bfd_is_local_label_name   _bfd_nosymbols_bfd_is_local_label_name

Definition at line 52 of file mach-o.c.

#define bfd_mach_o_bfd_is_local_label_name   _bfd_nosymbols_bfd_is_local_label_name

Definition at line 52 of file mach-o.c.

#define bfd_mach_o_bfd_is_target_special_symbol   ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)

Definition at line 51 of file mach-o.c.

#define bfd_mach_o_bfd_link_add_symbols   _bfd_generic_link_add_symbols

Definition at line 65 of file mach-o.c.

#define bfd_mach_o_bfd_link_hash_table_create   _bfd_generic_link_hash_table_create

Definition at line 63 of file mach-o.c.

#define bfd_mach_o_bfd_link_hash_table_free   _bfd_generic_link_hash_table_free

Definition at line 64 of file mach-o.c.

#define bfd_mach_o_bfd_link_just_syms   _bfd_generic_link_just_syms

Definition at line 66 of file mach-o.c.

#define bfd_mach_o_bfd_link_split_section   _bfd_generic_link_split_section

Definition at line 68 of file mach-o.c.

#define bfd_mach_o_bfd_make_debug_symbol   _bfd_nosymbols_bfd_make_debug_symbol

Definition at line 55 of file mach-o.c.

#define bfd_mach_o_bfd_merge_private_bfd_data   _bfd_generic_bfd_merge_private_bfd_data

Definition at line 70 of file mach-o.c.

#define bfd_mach_o_bfd_merge_sections   bfd_generic_merge_sections

Definition at line 76 of file mach-o.c.

#define bfd_mach_o_bfd_print_private_bfd_data   _bfd_generic_bfd_print_private_bfd_data

Definition at line 72 of file mach-o.c.

#define bfd_mach_o_bfd_relax_section   bfd_generic_relax_section

Definition at line 62 of file mach-o.c.

#define bfd_mach_o_bfd_reloc_type_lookup   _bfd_norelocs_bfd_reloc_type_lookup

Definition at line 60 of file mach-o.c.

#define bfd_mach_o_bfd_set_private_flags   _bfd_generic_bfd_set_private_flags

Definition at line 71 of file mach-o.c.

#define bfd_mach_o_canonicalize_reloc   _bfd_norelocs_canonicalize_reloc

Definition at line 59 of file mach-o.c.

#define bfd_mach_o_close_and_cleanup   _bfd_generic_close_and_cleanup

Definition at line 46 of file mach-o.c.

#define bfd_mach_o_construct_extended_name_table   _bfd_noarchive_construct_extended_name_table

Definition at line 40 of file mach-o.c.

#define bfd_mach_o_find_nearest_line   _bfd_nosymbols_find_nearest_line

Definition at line 54 of file mach-o.c.

#define bfd_mach_o_generic_stat_arch_elt   _bfd_noarchive_generic_stat_arch_elt

Definition at line 44 of file mach-o.c.

#define bfd_mach_o_get_elt_at_index   _bfd_noarchive_get_elt_at_index

Definition at line 43 of file mach-o.c.

#define bfd_mach_o_get_lineno   _bfd_nosymbols_get_lineno

Definition at line 53 of file mach-o.c.

#define bfd_mach_o_get_reloc_upper_bound   _bfd_norelocs_get_reloc_upper_bound

Definition at line 58 of file mach-o.c.

#define bfd_mach_o_get_section_contents   _bfd_generic_get_section_contents

Definition at line 73 of file mach-o.c.

#define bfd_mach_o_get_section_contents_in_window   _bfd_generic_get_section_contents_in_window

Definition at line 49 of file mach-o.c.

#define bfd_mach_o_minisymbol_to_symbol   _bfd_generic_minisymbol_to_symbol

Definition at line 57 of file mach-o.c.

#define bfd_mach_o_mkarchive   _bfd_noarchive_mkarchive

Definition at line 36 of file mach-o.c.

#define bfd_mach_o_new_section_hook   _bfd_generic_new_section_hook

Definition at line 48 of file mach-o.c.

#define bfd_mach_o_read_ar_hdr   _bfd_noarchive_read_ar_hdr

Definition at line 37 of file mach-o.c.

#define bfd_mach_o_read_minisymbols   _bfd_generic_read_minisymbols

Definition at line 56 of file mach-o.c.

#define bfd_mach_o_section_already_linked   _bfd_generic_section_already_linked

Definition at line 79 of file mach-o.c.

#define bfd_mach_o_set_arch_mach   bfd_default_set_arch_mach

Definition at line 69 of file mach-o.c.

#define bfd_mach_o_set_section_contents   _bfd_generic_set_section_contents

Definition at line 74 of file mach-o.c.

#define bfd_mach_o_slurp_armap   _bfd_noarchive_slurp_armap

Definition at line 38 of file mach-o.c.

#define bfd_mach_o_slurp_extended_name_table   _bfd_noarchive_slurp_extended_name_table

Definition at line 39 of file mach-o.c.

#define bfd_mach_o_truncate_arname   _bfd_noarchive_truncate_arname

Definition at line 41 of file mach-o.c.

#define bfd_mach_o_update_armap_timestamp   _bfd_noarchive_update_armap_timestamp

Definition at line 45 of file mach-o.c.

#define bfd_mach_o_write_armap   _bfd_noarchive_write_armap

Definition at line 42 of file mach-o.c.

#define N_ABS   0x2

#define N_EXT   0x01

#define N_INDR   0xa

Definition at line 173 of file mach-o.c.

Referenced by aout_link_write_symbols().

#define N_SECT   0xe

Definition at line 172 of file mach-o.c.

#define N_STAB   0xe0

Definition at line 167 of file mach-o.c.

Referenced by aout_link_write_symbols().

#define N_TYPE   0x1e

#define N_UNDF   0x0

#define S_ATTR_EXT_RELOC   0x00000200

Definition at line 164 of file mach-o.c.

#define S_ATTR_LOC_RELOC   0x00000100

Definition at line 165 of file mach-o.c.

#define S_ATTR_PURE_INSTRUCTIONS   0x80000000

Definition at line 161 of file mach-o.c.

#define S_ATTR_SOME_INSTRUCTIONS   0x00000400

Definition at line 163 of file mach-o.c.

#define SECTION_ATTRIBUTES   0xffffff00

Definition at line 155 of file mach-o.c.

#define SECTION_ATTRIBUTES_SYS   0x00ffff00

Definition at line 162 of file mach-o.c.

#define SECTION_ATTRIBUTES_USR   0xff000000

Definition at line 160 of file mach-o.c.

#define SECTION_TYPE   0x000000ff

Definition at line 154 of file mach-o.c.

Referenced by dwarf_transform_to_disk_form().

#define TARGET_ARCHIVE   1

Definition at line 2172 of file mach-o.c.

#define TARGET_ARCHIVE   0

Definition at line 2172 of file mach-o.c.

#define TARGET_ARCHIVE   0

Definition at line 2172 of file mach-o.c.

#define TARGET_BIG_ENDIAN   1

Definition at line 2171 of file mach-o.c.

#define TARGET_BIG_ENDIAN   0

Definition at line 2171 of file mach-o.c.

#define TARGET_BIG_ENDIAN   1

Definition at line 2169 of file mach-o.c.

#define TARGET_NAME   mach_o_le_vec

Definition at line 2169 of file mach-o.c.

#define TARGET_NAME   mach_o_be_vec

Definition at line 2169 of file mach-o.c.

#define TARGET_STRING   "mach-o-fat"

Definition at line 2170 of file mach-o.c.

#define TARGET_STRING   "mach-o-le"

Definition at line 2170 of file mach-o.c.

#define TARGET_STRING   "mach-o-be"

Definition at line 2170 of file mach-o.c.

Referenced by expand_block_move(), and rs6000_override_options().


Function Documentation

const bfd_target* bfd_mach_o_archive_p ( bfd abfd  ) 

static bfd_boolean bfd_mach_o_bfd_copy_private_bfd_data ( bfd ibfd,
bfd obfd 
) [static]

static bfd_boolean bfd_mach_o_bfd_copy_private_section_data ( ibfd  ,
isection  ,
obfd  ,
osection   
) [static]

Definition at line 209 of file mach-o.c.

References TRUE.

static bfd_boolean bfd_mach_o_bfd_copy_private_symbol_data ( ibfd  ,
isymbol  ,
obfd  ,
osymbol   
) [static]

Definition at line 196 of file mach-o.c.

References TRUE.

static long bfd_mach_o_canonicalize_symtab ( bfd abfd,
asymbol **  alocation 
) [static]

static void bfd_mach_o_convert_architecture ( bfd_mach_o_cpu_type  mtype,
msubtype  ,
enum bfd_architecture type,
unsigned long subtype 
) [static]

int bfd_mach_o_core_fetch_environment ( bfd abfd,
unsigned char **  rbuf,
unsigned int *  rlen 
)

char* bfd_mach_o_core_file_failing_command ( bfd abfd  ) 

Definition at line 2116 of file mach-o.c.

References bfd_mach_o_core_fetch_environment(), buf, len, NULL, and ret.

int bfd_mach_o_core_file_failing_signal ( abfd   ) 

Definition at line 2131 of file mach-o.c.

bfd_boolean bfd_mach_o_core_file_matches_executable_p ( core_bfd  ,
exec_bfd   
)

Definition at line 2138 of file mach-o.c.

References TRUE.

const bfd_target* bfd_mach_o_core_p ( bfd abfd  ) 

static long bfd_mach_o_count_symbols ( bfd abfd  )  [static]

static void bfd_mach_o_flatten_sections ( bfd abfd  )  [static]

static void bfd_mach_o_get_symbol_info ( abfd  ,
asymbol symbol,
symbol_info ret 
) [static]

Definition at line 308 of file mach-o.c.

References bfd_symbol_info().

static long bfd_mach_o_get_symtab_upper_bound ( bfd abfd  )  [static]

Definition at line 256 of file mach-o.c.

References bfd_mach_o_count_symbols().

static const char* bfd_mach_o_i386_flavour_string ( unsigned int  flavour  )  [static]

int bfd_mach_o_lookup_command ( bfd abfd,
bfd_mach_o_load_command_type  type,
bfd_mach_o_load_command **  mcommand 
)

int bfd_mach_o_lookup_section ( bfd abfd,
asection section,
bfd_mach_o_load_command **  mcommand,
bfd_mach_o_section **  msection 
)

static asection* bfd_mach_o_make_bfd_section ( bfd abfd,
bfd_mach_o_section section 
) [static]

static asymbol* bfd_mach_o_make_empty_symbol ( bfd abfd  )  [static]

Definition at line 460 of file mach-o.c.

References bfd_zalloc(), and NULL.

bfd_boolean bfd_mach_o_mkobject ( bfd abfd  ) 

const bfd_target* bfd_mach_o_object_p ( bfd abfd  ) 

bfd* bfd_mach_o_openr_next_archived_file ( bfd archive,
bfd prev 
)

static const char* bfd_mach_o_ppc_flavour_string ( unsigned int  flavour  )  [static]

static void bfd_mach_o_print_symbol ( bfd abfd,
PTR  afile,
asymbol symbol,
bfd_print_symbol_type  how 
) [static]

static int bfd_mach_o_read_header ( bfd abfd,
bfd_mach_o_header header 
) [static]

int bfd_mach_o_scan ( bfd abfd,
bfd_mach_o_header header,
bfd_mach_o_data_struct mdata 
)

static int bfd_mach_o_scan_read_command ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_scan_read_dylib ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_scan_read_dylinker ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_scan_read_dysymtab ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

int bfd_mach_o_scan_read_dysymtab_symbol ( bfd abfd,
bfd_mach_o_dysymtab_command dysym,
bfd_mach_o_symtab_command sym,
asymbol s,
unsigned long  i 
)

static int bfd_mach_o_scan_read_prebound_dylib ( abfd  ,
command   
) [static]

Definition at line 1062 of file mach-o.c.

References BFD_ASSERT, and BFD_MACH_O_LC_PREBOUND_DYLIB.

Referenced by bfd_mach_o_scan_read_command().

static int bfd_mach_o_scan_read_section ( bfd abfd,
bfd_mach_o_section section,
bfd_vma  offset 
) [static]

static int bfd_mach_o_scan_read_segment ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_scan_read_symtab ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

int bfd_mach_o_scan_read_symtab_strtab ( bfd abfd,
bfd_mach_o_symtab_command sym 
)

int bfd_mach_o_scan_read_symtab_symbol ( bfd abfd,
bfd_mach_o_symtab_command sym,
asymbol s,
unsigned long  i 
)

int bfd_mach_o_scan_read_symtab_symbols ( bfd abfd,
bfd_mach_o_symtab_command sym 
)

static int bfd_mach_o_scan_read_thread ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

int bfd_mach_o_scan_start_address ( bfd abfd  ) 

static int bfd_mach_o_scan_write_section ( bfd abfd,
bfd_mach_o_section section,
bfd_vma  offset 
) [static]

static int bfd_mach_o_scan_write_segment ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_scan_write_symtab ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_scan_write_symtab_symbols ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_scan_write_thread ( bfd abfd,
bfd_mach_o_load_command command 
) [static]

static int bfd_mach_o_sizeof_headers ( a  ,
b   
) [static]

Definition at line 449 of file mach-o.c.

unsigned long bfd_mach_o_stack_addr ( enum bfd_mach_o_cpu_type  type  ) 

bfd_boolean bfd_mach_o_valid ( bfd abfd  ) 

static bfd_boolean bfd_mach_o_write_contents ( bfd abfd  )  [static]

static int bfd_mach_o_write_header ( bfd abfd,
bfd_mach_o_header header 
) [static]

static const char* bfd_mach_o_i386_flavour_string PARAMS ( (unsigned int)   )  [static]

static int bfd_mach_o_scan_write_symtab_symbols PARAMS ( (bfd *, bfd_mach_o_load_command *)   )  [static]

static int bfd_mach_o_scan_read_section PARAMS ( (bfd *, bfd_mach_o_section *, bfd_vma  )  [static]

static asection* bfd_mach_o_make_bfd_section PARAMS ( (bfd *, bfd_mach_o_section *)   )  [static]

static int bfd_mach_o_write_header PARAMS ( (bfd *, bfd_mach_o_header *)   )  [static]

static int bfd_mach_o_sizeof_headers PARAMS ( (bfd *, bfd_boolean)   )  [static]

static void bfd_mach_o_convert_architecture PARAMS ( (bfd_mach_o_cpu_type, bfd_mach_o_cpu_subtype, enum bfd_architecture *, unsigned long *)   )  [static]

static void bfd_mach_o_print_symbol PARAMS ( (bfd *, PTR, asymbol *, bfd_print_symbol_type  )  [static]

static void bfd_mach_o_get_symbol_info PARAMS ( (bfd *, asymbol *, symbol_info *)   )  [static]

static long bfd_mach_o_canonicalize_symtab PARAMS ( (bfd *, asymbol **)   )  [static]

static long bfd_mach_o_count_symbols PARAMS ( (bfd *)   )  [static]

static bfd_boolean bfd_mach_o_bfd_copy_private_bfd_data PARAMS ( (bfd *, bfd *)   )  [static]

static bfd_boolean bfd_mach_o_bfd_copy_private_section_data PARAMS ( (bfd *, asection *, bfd *, asection *)   )  [static]

static bfd_boolean bfd_mach_o_bfd_copy_private_symbol_data PARAMS ( (bfd *, asymbol *, bfd *, asymbol *)   )  [static]


Generated on Wed Apr 8 14:50:43 2009 for Open64 by  doxygen 1.5.6