#include "bfd.h"#include "sysdep.h"#include "libbfd.h"#include "libiberty.h"

Go to the source code of this file.
Data Types | |
| type | arm_Note |
Defines | |
| #define | N(number, print, default, next) { 32, 32, 8, bfd_arch_arm, number, "arm", print, 4, default, compatible, scan, next } |
| #define | NOTE_ARCH_STRING "arch: " |
Functions/Subroutines | |
| static const bfd_arch_info_type * | compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b) |
| static bfd_boolean | scan (const struct bfd_arch_info *info, const char *string) |
| bfd_boolean | bfd_arm_merge_machines (bfd *ibfd, bfd *obfd) |
| static bfd_boolean | arm_check_note (bfd *abfd, bfd_byte *buffer, bfd_size_type buffer_size, const char *expected_name, char **description_return) |
| bfd_boolean | bfd_arm_update_notes (bfd *abfd, const char *note_section) |
| unsigned int | bfd_arm_get_mach_from_notes (bfd *abfd, const char *note_section) |
Variables | |
| type { | |
| unsigned int mach | |
| char * name | |
| } | processors [] |
| static const bfd_arch_info_type | arch_info_struct [] |
| const bfd_arch_info_type | bfd_arm_arch |
| type { | |
| const char * string | |
| unsigned int mach | |
| } | architectures [] |
| #define NOTE_ARCH_STRING "arch: " |
Definition at line 269 of file cpu-arm.c.
Referenced by bfd_arm_get_mach_from_notes(), and bfd_arm_update_notes().
| static bfd_boolean arm_check_note | ( | bfd * | abfd, | |
| bfd_byte * | buffer, | |||
| bfd_size_type | buffer_size, | |||
| const char * | expected_name, | |||
| char ** | description_return | |||
| ) | [static] |
Definition at line 220 of file cpu-arm.c.
References bfd_get_32, FALSE, NULL, offsetof, strcmp(), strlen(), and TRUE.
Referenced by bfd_arm_get_mach_from_notes(), and bfd_arm_update_notes().
| unsigned int bfd_arm_get_mach_from_notes | ( | bfd * | abfd, | |
| const char * | note_section | |||
| ) |
Definition at line 367 of file cpu-arm.c.
References architectures, arm_check_note(), ARRAY_SIZE, bfd_get_section_by_name(), bfd_mach_arm_unknown, bfd_malloc_and_get_section(), FAIL, free(), i, NOTE_ARCH_STRING, NULL, bfd_section::size, and strcmp().
Definition at line 158 of file cpu-arm.c.
References _, _bfd_error_handler, bfd_arch_arm, bfd_error_wrong_format, bfd_get_mach(), bfd_mach_arm_ep9312, bfd_mach_arm_iWMMXt, bfd_mach_arm_unknown, bfd_mach_arm_XScale, bfd_set_arch_mach, bfd_set_error(), FALSE, in, out, and TRUE.
Referenced by coff_arm_merge_private_bfd_data().
| bfd_boolean bfd_arm_update_notes | ( | bfd * | abfd, | |
| const char * | note_section | |||
| ) |
Definition at line 272 of file cpu-arm.c.
References _, arm_check_note(), bfd_get_filename, bfd_get_mach(), bfd_get_section_by_name(), bfd_mach_arm_2, bfd_mach_arm_2a, bfd_mach_arm_3, bfd_mach_arm_3M, bfd_mach_arm_4, bfd_mach_arm_4T, bfd_mach_arm_5, bfd_mach_arm_5T, bfd_mach_arm_5TE, bfd_mach_arm_ep9312, bfd_mach_arm_iWMMXt, bfd_mach_arm_unknown, bfd_mach_arm_XScale, bfd_malloc_and_get_section(), bfd_set_section_contents(), FAIL, FALSE, free(), NOTE_ARCH_STRING, NULL, offsetof, bfd_section::size, strcmp(), strcpy, strlen(), and TRUE.
Referenced by coff_arm_final_link_postscript().
| static const bfd_arch_info_type* compatible | ( | const bfd_arch_info_type * | a, | |
| const bfd_arch_info_type * | b | |||
| ) | [static] |
Definition at line 36 of file cpu-arm.c.
References bfd_arch_info::arch, bfd_arch_info::mach, NULL, and bfd_arch_info::the_default.
Referenced by Change_ld_Form(), IPO_Types_Are_Compatible(), lang_check(), and Types_are_compatible().
| static bfd_boolean scan | ( | const struct bfd_arch_info * | info, | |
| const char * | string | |||
| ) | [static] |
Definition at line 103 of file cpu-arm.c.
References FALSE, i, bfd_arch_info::mach, bfd_arch_info::printable_name, strcasecmp(), bfd_arch_info::the_default, and TRUE.
Referenced by arm_special(), bfd_section_from_shdr(), coverage_checksum_string(), demangle_prefix(), dump_table(), edit_fn_definition(), freeargv(), gen_block_redirect(), machine_dependent_reorg(), mips16_gp_pseudo_reg(), and sh_reorg().
const bfd_arch_info_type arch_info_struct[] [static] |
Initial value:
{
N (bfd_mach_arm_2, "armv2", FALSE, & arch_info_struct[1]),
N (bfd_mach_arm_2a, "armv2a", FALSE, & arch_info_struct[2]),
N (bfd_mach_arm_3, "armv3", FALSE, & arch_info_struct[3]),
N (bfd_mach_arm_3M, "armv3m", FALSE, & arch_info_struct[4]),
N (bfd_mach_arm_4, "armv4", FALSE, & arch_info_struct[5]),
N (bfd_mach_arm_4T, "armv4t", FALSE, & arch_info_struct[6]),
N (bfd_mach_arm_5, "armv5", FALSE, & arch_info_struct[7]),
N (bfd_mach_arm_5T, "armv5t", FALSE, & arch_info_struct[8]),
N (bfd_mach_arm_5TE, "armv5te", FALSE, & arch_info_struct[9]),
N (bfd_mach_arm_XScale, "xscale", FALSE, & arch_info_struct[10]),
N (bfd_mach_arm_ep9312, "ep9312", FALSE, & arch_info_struct[11]),
}
struct { ... }
architectures[] [static] |
Referenced by bfd_arm_get_mach_from_notes().
| unsigned int mach |
Definition at line 67 of file cpu-arm.c.
Referenced by _bfd_ecoff_set_arch_mach_hook(), arc_elf_object_p(), elf_hppa_final_write_processing(), elf_xtensa_final_write_processing(), elf_xtensa_object_p(), fr30_cgen_cpu_open(), fr30_cgen_rebuild_tables(), frv_cgen_cpu_open(), frv_cgen_rebuild_tables(), ip2k_cgen_cpu_open(), ip2k_cgen_rebuild_tables(), iq2000_cgen_cpu_open(), iq2000_cgen_rebuild_tables(), m32r_cgen_cpu_open(), m32r_cgen_rebuild_tables(), mips_elf32_object_p(), mips_elf64_object_p(), mips_elf_n32_object_p(), openrisc_cgen_cpu_open(), openrisc_cgen_rebuild_tables(), or32_elf_final_write_processing(), print_insn_fr30(), print_insn_frv(), print_insn_ip2k(), print_insn_iq2000(), print_insn_m32r(), print_insn_openrisc(), print_insn_xstormy16(), sparc64_elf_object_p(), vms_set_arch_mach(), xstormy16_cgen_cpu_open(), and xstormy16_cgen_rebuild_tables().
struct { ... }
processors[] [static] |
1.5.6