?? archures.texi
字號(hào):
bfd_arch_mmix, /* Donald Knuth's educational processor. */ bfd_arch_xstormy16,#define bfd_mach_xstormy16 1 bfd_arch_msp430, /* Texas Instruments MSP430 architecture. */#define bfd_mach_msp110 110#define bfd_mach_msp11 11#define bfd_mach_msp12 12#define bfd_mach_msp13 13#define bfd_mach_msp14 14#define bfd_mach_msp41 41#define bfd_mach_msp31 31#define bfd_mach_msp32 32#define bfd_mach_msp33 33#define bfd_mach_msp43 43#define bfd_mach_msp44 44#define bfd_mach_msp15 15#define bfd_mach_msp16 16 bfd_arch_xtensa, /* Tensilica's Xtensa cores. */#define bfd_mach_xtensa 1 bfd_arch_last @};@end example@subsection bfd_arch_info@strong{Description}@*This structure contains information on architectures for usewithin BFD.@exampletypedef struct bfd_arch_info@{ int bits_per_word; int bits_per_address; int bits_per_byte; enum bfd_architecture arch; unsigned long mach; const char *arch_name; const char *printable_name; unsigned int section_align_power; /* TRUE if this is the default machine for the architecture. The default arch should be the first entry for an arch so that all the entries for that arch can be accessed via @code{next}. */ bfd_boolean the_default; const struct bfd_arch_info * (*compatible) PARAMS ((const struct bfd_arch_info *a, const struct bfd_arch_info *b)); bfd_boolean (*scan) PARAMS ((const struct bfd_arch_info *, const char *)); const struct bfd_arch_info *next;@}bfd_arch_info_type;@end example@findex bfd_printable_name@subsubsection @code{bfd_printable_name}@strong{Synopsis}@exampleconst char *bfd_printable_name(bfd *abfd);@end example@strong{Description}@*Return a printable string representing the architecture and machinefrom the pointer to the architecture info structure.@findex bfd_scan_arch@subsubsection @code{bfd_scan_arch}@strong{Synopsis}@exampleconst bfd_arch_info_type *bfd_scan_arch(const char *string);@end example@strong{Description}@*Figure out if BFD supports any cpu which could be described withthe name @var{string}. Return a pointer to an @code{arch_info}structure if a machine is found, otherwise NULL.@findex bfd_arch_list@subsubsection @code{bfd_arch_list}@strong{Synopsis}@exampleconst char **bfd_arch_list(void);@end example@strong{Description}@*Return a freshly malloced NULL-terminated vector of the namesof all the valid BFD architectures. Do not modify the names.@findex bfd_arch_get_compatible@subsubsection @code{bfd_arch_get_compatible}@strong{Synopsis}@exampleconst bfd_arch_info_type *bfd_arch_get_compatible( const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);@end example@strong{Description}@*Determine whether two BFDs' architectures and machine typesare compatible. Calculates the lowest common denominatorbetween the two architectures and machine types implied bythe BFDs and returns a pointer to an @code{arch_info} structuredescribing the compatible machine.@findex bfd_default_arch_struct@subsubsection @code{bfd_default_arch_struct}@strong{Description}@*The @code{bfd_default_arch_struct} is an item of@code{bfd_arch_info_type} which has been initialized to a fairlygeneric state. A BFD starts life by pointing to thisstructure, until the correct back end has determined the realarchitecture of the file.@exampleextern const bfd_arch_info_type bfd_default_arch_struct;@end example@findex bfd_set_arch_info@subsubsection @code{bfd_set_arch_info}@strong{Synopsis}@examplevoid bfd_set_arch_info(bfd *abfd, const bfd_arch_info_type *arg);@end example@strong{Description}@*Set the architecture info of @var{abfd} to @var{arg}.@findex bfd_default_set_arch_mach@subsubsection @code{bfd_default_set_arch_mach}@strong{Synopsis}@examplebfd_boolean bfd_default_set_arch_mach(bfd *abfd, enum bfd_architecture arch, unsigned long mach);@end example@strong{Description}@*Set the architecture and machine type in BFD @var{abfd}to @var{arch} and @var{mach}. Find the correctpointer to a structure and insert it into the @code{arch_info}pointer.@findex bfd_get_arch@subsubsection @code{bfd_get_arch}@strong{Synopsis}@exampleenum bfd_architecture bfd_get_arch(bfd *abfd);@end example@strong{Description}@*Return the enumerated type which describes the BFD @var{abfd}'sarchitecture.@findex bfd_get_mach@subsubsection @code{bfd_get_mach}@strong{Synopsis}@exampleunsigned long bfd_get_mach(bfd *abfd);@end example@strong{Description}@*Return the long type which describes the BFD @var{abfd}'smachine.@findex bfd_arch_bits_per_byte@subsubsection @code{bfd_arch_bits_per_byte}@strong{Synopsis}@exampleunsigned int bfd_arch_bits_per_byte(bfd *abfd);@end example@strong{Description}@*Return the number of bits in one of the BFD @var{abfd}'sarchitecture's bytes.@findex bfd_arch_bits_per_address@subsubsection @code{bfd_arch_bits_per_address}@strong{Synopsis}@exampleunsigned int bfd_arch_bits_per_address(bfd *abfd);@end example@strong{Description}@*Return the number of bits in one of the BFD @var{abfd}'sarchitecture's addresses.@findex bfd_default_compatible@subsubsection @code{bfd_default_compatible}@strong{Synopsis}@exampleconst bfd_arch_info_type *bfd_default_compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b);@end example@strong{Description}@*The default function for testing for compatibility.@findex bfd_default_scan@subsubsection @code{bfd_default_scan}@strong{Synopsis}@examplebfd_boolean bfd_default_scan(const struct bfd_arch_info *info, const char *string);@end example@strong{Description}@*The default function for working out whether this is anarchitecture hit and a machine hit.@findex bfd_get_arch_info@subsubsection @code{bfd_get_arch_info}@strong{Synopsis}@exampleconst bfd_arch_info_type * bfd_get_arch_info(bfd *abfd);@end example@strong{Description}@*Return the architecture info struct in @var{abfd}.@findex bfd_lookup_arch@subsubsection @code{bfd_lookup_arch}@strong{Synopsis}@exampleconst bfd_arch_info_type *bfd_lookup_arch (enum bfd_architecture arch, unsigned long machine);@end example@strong{Description}@*Look for the architecure info structure which matches thearguments @var{arch} and @var{machine}. A machine of 0 matches themachine/architecture structure which marks itself as thedefault.@findex bfd_printable_arch_mach@subsubsection @code{bfd_printable_arch_mach}@strong{Synopsis}@exampleconst char *bfd_printable_arch_mach (enum bfd_architecture arch, unsigned long machine);@end example@strong{Description}@*Return a printable string representing the architecture andmachine type.This routine is depreciated.@findex bfd_octets_per_byte@subsubsection @code{bfd_octets_per_byte}@strong{Synopsis}@exampleunsigned int bfd_octets_per_byte(bfd *abfd);@end example@strong{Description}@*Return the number of octets (8-bit quantities) per target byte(minimum addressable unit). In most cases, this will be one, but someDSP targets have 16, 32, or even 48 bits per byte.@findex bfd_arch_mach_octets_per_byte@subsubsection @code{bfd_arch_mach_octets_per_byte}@strong{Synopsis}@exampleunsigned int bfd_arch_mach_octets_per_byte(enum bfd_architecture arch, unsigned long machine);@end example@strong{Description}@*See bfd_octets_per_byte.This routine is provided for those cases where a bfd * is notavailable
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -