osprey/libelf/lib/32.xlatetof.c File Reference

#include <private.h>
#include <ext_types.h>
#include <byteswap.h>

Include dependency graph for 32.xlatetof.c:

Go to the source code of this file.

Defines

#define x
#define Cat2(a, b)   a/**/b
#define Cat3(a, b, c)   a/**/b/**/c
#define Ex1(m1, m2, a, b)   m1/**/m2(a/**/b)
#define Ex2(m1, m2, a, b, c)   m1/**/m2(a,b/**/c)
#define seq_forw(a, b)   a b
#define seq_back(a, b)   b a
#define copy_type_e_io(name, e, io, tfrom, tto, copy)
#define copy_type_e(name, e, type, copy)
#define copy_type(name, version, type, copy)
#define copy_scalar_tom(type)   *to = Cat2(__load_,type)(*from);
#define copy_scalar_tof(type)   Cat2(__store_,type)(*to, *from);
#define copy_tom(mb, type)   to->mb = Cat2(__load_,type)(from->mb);
#define copy_tof(mb, type)   Cat2(__store_,type)(to->mb, from->mb);
#define copy_byte(e, io, mb)   to->mb = from->mb;
#define copy_addr(e, io, mb)   Ex2(copy_,io,mb,u32,e)
#define copy_half(e, io, mb)   Ex2(copy_,io,mb,u16,e)
#define copy_off(e, io, mb)   Ex2(copy_,io,mb,u32,e)
#define copy_sword(e, io, mb)   Ex2(copy_,io,mb,i32,e)
#define copy_word(e, io, mb)   Ex2(copy_,io,mb,u32,e)
#define copy_arr(e, io, mb)   array_copy(to->mb, sizeof(to->mb), from->mb, sizeof(from->mb));
#define copy_addr_11(e, io, seq)   Ex1(copy_scalar_,io,u32,e)
#define copy_half_11(e, io, seq)   Ex1(copy_scalar_,io,u16,e)
#define copy_off_11(e, io, seq)   Ex1(copy_scalar_,io,u32,e)
#define copy_sword_11(e, io, seq)   Ex1(copy_scalar_,io,i32,e)
#define copy_word_11(e, io, seq)   Ex1(copy_scalar_,io,u32,e)
#define copy_dyn_11(e, io, seq)
#define copy_ehdr_11(e, io, seq)
#define copy_phdr_11(e, io, seq)
#define copy_rela_11(e, io, seq)
#define copy_rel_11(e, io, seq)
#define copy_shdr_11(e, io, seq)
#define copy_sym_11(e, io, seq)
#define nullcopy
#define translator(sv, dv, enc, type, d)

Functions/Subroutines

static size_t byte_copy (unsigned char *dst, const unsigned char *src, size_t n)
static void array_copy (unsigned char *dst, size_t dlen, const unsigned char *src, size_t slen)
 copy_type (addr_32, copy_type(_, Elf32_Addr, copy_addr_11)
size_t _elf32_xltsize (const Elf_Data *src, unsigned dv, unsigned encode, int tof)
static Elf_Dataelf32_xlate (Elf_Data *dst, const Elf_Data *src, unsigned encode, int tof)
Elf_Dataelf32_xlatetom (Elf_Data *dst, const Elf_Data *src, unsigned encode)
Elf_Dataelf32_xlatetof (Elf_Data *dst, const Elf_Data *src, unsigned encode)

Variables

static const char rcsid [] = "@(#) $Id: 32.xlatetof.c,v 1.1.1.1 2005/10/21 19:00:00 marcel Exp $"
static const xltab *const xlate32 [EV_CURRENT-EV_NONE][EV_CURRENT-EV_NONE]


Define Documentation

#define Cat2 ( a,
b   )     a/**/b

Definition at line 42 of file 32.xlatetof.c.

#define Cat3 ( a,
b,
c   )     a/**/b/**/c

Definition at line 43 of file 32.xlatetof.c.

#define copy_addr ( e,
io,
mb   )     Ex2(copy_,io,mb,u32,e)

Definition at line 114 of file 32.xlatetof.c.

#define copy_addr_11 ( e,
io,
seq   )     Ex1(copy_scalar_,io,u32,e)

Definition at line 126 of file 32.xlatetof.c.

#define copy_arr ( e,
io,
mb   )     array_copy(to->mb, sizeof(to->mb), from->mb, sizeof(from->mb));

Definition at line 119 of file 32.xlatetof.c.

#define copy_byte ( e,
io,
mb   )     to->mb = from->mb;

Definition at line 113 of file 32.xlatetof.c.

#define copy_dyn_11 ( e,
io,
seq   ) 

Value:

seq(copy_sword(e,io,d_tag),   \
    seq(copy_addr(e,io,d_un.d_ptr), \
    nullcopy))

Definition at line 136 of file 32.xlatetof.c.

#define copy_ehdr_11 ( e,
io,
seq   ) 

Value:

seq(copy_arr(e,io,e_ident),   \
    seq(copy_half(e,io,e_type),   \
    seq(copy_half(e,io,e_machine),  \
    seq(copy_word(e,io,e_version),  \
    seq(copy_addr(e,io,e_entry),  \
    seq(copy_off(e,io,e_phoff),   \
    seq(copy_off(e,io,e_shoff),   \
    seq(copy_word(e,io,e_flags),  \
    seq(copy_half(e,io,e_ehsize), \
    seq(copy_half(e,io,e_phentsize),  \
    seq(copy_half(e,io,e_phnum),  \
    seq(copy_half(e,io,e_shentsize),  \
    seq(copy_half(e,io,e_shnum),  \
    seq(copy_half(e,io,e_shstrndx), \
    nullcopy))))))))))))))

Definition at line 140 of file 32.xlatetof.c.

#define copy_half ( e,
io,
mb   )     Ex2(copy_,io,mb,u16,e)

Definition at line 115 of file 32.xlatetof.c.

#define copy_half_11 ( e,
io,
seq   )     Ex1(copy_scalar_,io,u16,e)

Definition at line 127 of file 32.xlatetof.c.

#define copy_off ( e,
io,
mb   )     Ex2(copy_,io,mb,u32,e)

Definition at line 116 of file 32.xlatetof.c.

#define copy_off_11 ( e,
io,
seq   )     Ex1(copy_scalar_,io,u32,e)

Definition at line 128 of file 32.xlatetof.c.

#define copy_phdr_11 ( e,
io,
seq   ) 

Value:

seq(copy_word(e,io,p_type),   \
    seq(copy_off(e,io,p_offset),  \
    seq(copy_addr(e,io,p_vaddr),  \
    seq(copy_addr(e,io,p_paddr),  \
    seq(copy_word(e,io,p_filesz), \
    seq(copy_word(e,io,p_memsz),  \
    seq(copy_word(e,io,p_flags),  \
    seq(copy_word(e,io,p_align),  \
    nullcopy))))))))

Definition at line 156 of file 32.xlatetof.c.

#define copy_rel_11 ( e,
io,
seq   ) 

Value:

seq(copy_addr(e,io,r_offset), \
    seq(copy_word(e,io,r_info),   \
    nullcopy))

Definition at line 171 of file 32.xlatetof.c.

#define copy_rela_11 ( e,
io,
seq   ) 

Value:

seq(copy_addr(e,io,r_offset), \
    seq(copy_word(e,io,r_info),   \
    seq(copy_sword(e,io,r_addend),  \
    nullcopy)))

Definition at line 166 of file 32.xlatetof.c.

#define copy_scalar_tof ( type   )     Cat2(__store_,type)(*to, *from);

Definition at line 102 of file 32.xlatetof.c.

#define copy_scalar_tom ( type   )     *to = Cat2(__load_,type)(*from);

Definition at line 101 of file 32.xlatetof.c.

#define copy_shdr_11 ( e,
io,
seq   ) 

Value:

seq(copy_word(e,io,sh_name),  \
    seq(copy_word(e,io,sh_type),  \
    seq(copy_word(e,io,sh_flags), \
    seq(copy_addr(e,io,sh_addr),  \
    seq(copy_off(e,io,sh_offset), \
    seq(copy_word(e,io,sh_size),  \
    seq(copy_word(e,io,sh_link),  \
    seq(copy_word(e,io,sh_info),  \
    seq(copy_word(e,io,sh_addralign), \
    seq(copy_word(e,io,sh_entsize), \
    nullcopy))))))))))

Definition at line 175 of file 32.xlatetof.c.

#define copy_sword ( e,
io,
mb   )     Ex2(copy_,io,mb,i32,e)

Definition at line 117 of file 32.xlatetof.c.

#define copy_sword_11 ( e,
io,
seq   )     Ex1(copy_scalar_,io,i32,e)

Definition at line 129 of file 32.xlatetof.c.

#define copy_sym_11 ( e,
io,
seq   ) 

Value:

seq(copy_word(e,io,st_name),  \
    seq(copy_addr(e,io,st_value), \
    seq(copy_word(e,io,st_size),  \
    seq(copy_byte(e,io,st_info),  \
    seq(copy_byte(e,io,st_other), \
    seq(copy_half(e,io,st_shndx), \
    nullcopy))))))

Definition at line 187 of file 32.xlatetof.c.

#define copy_tof ( mb,
type   )     Cat2(__store_,type)(to->mb, from->mb);

Definition at line 108 of file 32.xlatetof.c.

#define copy_tom ( mb,
type   )     to->mb = Cat2(__load_,type)(from->mb);

Definition at line 107 of file 32.xlatetof.c.

#define copy_type ( name,
version,
type,
copy   ) 

Value:

Definition at line 94 of file 32.xlatetof.c.

Referenced by tsubst().

#define copy_type_e ( name,
e,
type,
copy   ) 

Value:

Definition at line 87 of file 32.xlatetof.c.

#define copy_type_e_io ( name,
e,
io,
tfrom,
tto,
copy   ) 

Value:

static size_t           \
    Cat3(name,_,io)(unsigned char *dst, const unsigned char *src, size_t n) { \
  n /= sizeof(tfrom);         \
  if (n && dst) {           \
      const tfrom *from = (const tfrom*)src;    \
      tto *to = (tto*)dst;        \
      size_t i;           \
                \
      if (sizeof(tfrom) < sizeof(tto)) {      \
    from += n;          \
    to += n;          \
    for (i = 0; i < n; i++) {     \
        --from;         \
        --to;         \
        copy(e,io,seq_back)       \
    }           \
      }             \
      else {            \
    for (i = 0; i < n; i++) {     \
        copy(e,io,seq_forw)       \
        from++;         \
        to++;         \
    }           \
      }             \
  }             \
  return n * sizeof(tto);         \
    }

Definition at line 58 of file 32.xlatetof.c.

#define copy_word ( e,
io,
mb   )     Ex2(copy_,io,mb,u32,e)

Definition at line 118 of file 32.xlatetof.c.

#define copy_word_11 ( e,
io,
seq   )     Ex1(copy_scalar_,io,u32,e)

Definition at line 130 of file 32.xlatetof.c.

#define Ex1 ( m1,
m2,
a,
b   )     m1/**/m2(a/**/b)

Definition at line 44 of file 32.xlatetof.c.

#define Ex2 ( m1,
m2,
a,
b,
c   )     m1/**/m2(a,b/**/c)

Definition at line 45 of file 32.xlatetof.c.

#define nullcopy

Definition at line 196 of file 32.xlatetof.c.

#define seq_back ( a,
b   )     b a

Definition at line 53 of file 32.xlatetof.c.

#define seq_forw ( a,
b   )     a b

Definition at line 52 of file 32.xlatetof.c.

#define translator ( sv,
dv,
enc,
type,
d   ) 

Value:

(xlate32[(sv) - EV_NONE - 1]  \
      [(dv) - EV_NONE - 1]  \
      [(enc) - ELFDATA2LSB] \
      [(type) - ELF_T_BYTE] \
      [d])

Definition at line 322 of file 32.xlatetof.c.

Referenced by _elf32_xltsize(), Anl_Static_Analysis(), and elf32_xlate().

#define x

Definition at line 35 of file 32.xlatetof.c.

Referenced by $ssdallc(), __attribute__(), __bsign(), __cqpow(), __dsign(), __f77_f_back_com(), __fmod(), __hsign(), __hypot(), __ii_qnnt(), __iiqnnt(), __isign(), __j0(), __j1(), __j_qmax1(), __j_qmin1(), __ji_qnnt(), __jiqnnt(), __ki_qnnt(), __kiqnnt(), __lsign(), __ompc_copyin_thdprv(), __pow(), __pow_qi(), __pow_ql(), __powcc(), __powci(), __powcl(), __powcqi(), __powcql(), __powzi(), __powzl(), __powzz(), __q_dim(), __q_int(), __q_nint(), __q_sign(), __qatan2d(), __rsign(), __y1(), _bfd_coff_link_input_bfd(), _bfd_do_ns32k_reloc_contents(), _bfd_relocate_contents(), _dwarf_pro_generate_debugframe(), _dwarf_pro_generate_debugline(), _dwarf_transform_arange_to_disk(), _dwarf_transform_simplename_to_disk(), _dwf_pro_generate_ehframe(), _getfchar(), _unit_bksp(), add_dependance(), add_dependence(), add_fields_to_record_type(), add_fields_to_vec(), add_vect(), alloc_dwarf1_func(), alloc_dwarf1_unit(), allocate_dynrel_entries(), allocate_fptr(), allocate_global_data_dlt(), allocate_global_data_got(), allocate_global_data_opd(), allocate_global_data_plt(), allocate_global_data_stub(), allocate_global_fptr_got(), allocate_initial_values(), allocate_local_got(), allocate_plt2_entries(), allocate_plt_entries(), allocate_pltoff_entries(), alpha_set_memflags_1(), alpha_split_atomic_op(), alpha_split_compare_and_swap(), alpha_split_compare_and_swap_12(), alpha_split_lock_test_and_set(), alpha_split_lock_test_and_set_12(), alter_reg(), alter_subreg(), analyze_edges_for_bb(), any_condjump_p(), any_uncondjump_p(), apply_macro_to_rtx(), apply_macro_traverse(), approx_reg_cost_1(), ar_unpack_float_str(), arc_select_cc_mode(), arm_poke_function_name(), assemble_static_space(), assign_parm_setup_block(), assign_parm_setup_reg(), assign_parms(), assign_stack_local_1(), assign_vars(), associate_equivalences_with_edges(), avr_final_link_relocate(), avr_operand(), b_sign(), barrier_align(), VECTOR_SPACE< T >::Beautify(), begin_schedule_ready(), bfd_h8_disassemble(), bfd_install_relocation(), bfd_perform_relocation(), bfin_delegitimize_address(), bfin_reorg(), blocks_in_phiopt_order(), break_precolored_alias(), build_min(), build_min_non_dep(), build_min_nt(), build_outer_var_ref(), build_receiver_ref(), build_tree_conflict_graph(), c4x_parse_pragma(), c_a_to_q(), c_atoq(), c_finish_omp_atomic(), c_finish_omp_barrier(), c_finish_omp_flush(), c_mark_addressable(), calculate_live_on_exit(), can_hoist_insn_p(), CANON_EXPR::Canon_expr(), carry_compare_operand(), cbranch_predicted_taken_p(), ccp_initialize(), LU_MAT< T >::Cfactor(), check_field_decls(), check_init(), check_methods(), cleanup_v_may_defs(), clear_regs_live_in_seq(), coalesce_abnormal_edges(), coalesce_phi_operands(), coalesce_result_decls(), coalesce_ssa_name(), coalesce_tpa_members(), coalesce_vars(), coff_arm_reloc(), coff_arm_relocate_section(), coff_i386_reloc(), coff_i860_reloc(), coff_mips_reloc(), coff_ppc_relocate_section(), collapse_redundant_completers(), combinable_i3pat(), combine_reversed_comparison_code(), comp_hashnodes(), compact_distree(), compact_var_map(), compare_opcodes(), compute_completer_bits(), compute_dominance_frontiers_1(), compute_earliest(), compute_farthest(), compute_insert_delete(), compute_reloc_for_rtx_1(), compute_rev_insert_delete(), condjump_in_parallel_p(), condjump_label(), condjump_p(), const_desc_rtx_eq(), const_desc_rtx_sym_eq(), const_rtx_hash_1(), convert_local_reference(), convert_nl_goto_receiver(), convert_nl_goto_reference(), convert_nonlocal_reference(), convert_tramp_reference(), copy_lang_decl(), COPYPROP::Copy_propagate_stmt(), copy_replacements_1(), count_fields(), craytest128_1(), craytest128_1t(), craytest128_2t(), craytest128_64(), craytest128_i(), craytest64_1(), craytest64_1t(), craytest64_2(), craytest64_2t(), craytest64_c(), craytest64_i(), craytest64_i2(), create_ssa_artficial_load_stmt(), crx_secondary_reload_class(), cse_insn(), cselib_invalidate_mem(), cselib_invalidate_mem_1(), cselib_invalidate_regno(), cselib_process_insn(), cselib_record_sets(), cwh_dst_dope_bounds(), cxx_mark_addressable(), d_sign(), MAT< T >::D_Swap_Cols(), MAT< T >::D_Swap_Rows(), darwin_pragma_options(), darwin_pragma_unused(), decode_addr_const(), decompose(), default_assemble_integer(), DEFUN(), BITWISE_DCE::Delete_cvtls(), BITWISE_DCE::Delete_dead_nodes(), delete_duplicate_fields(), delete_duplicate_fields_1(), delete_insn_and_edges(), delete_tree_live_info(), Depgraph_Write(), detect_field_duplicates(), df_insn_refs_record(), df_rtx_reg_replace(), df_uses_record(), diddle_return_value(), Difference_Inequality(), Digest_Archive(), DMAT_to_IMAT(), do_goto_redirection(), OPT_MTYPE_B::Do_mtype_b(), OPT_MTYPE_B::Do_mtype_b_cr(), do_ns32k_reloc(), do_return_redirection(), do_spec_1(), dotest128_1(), dotest128_2(), dotest128_i(), dotest128_r(), dotest32_1s(), dotest32_2(), dotest32_2c(), dotest64_1(), dotest64_1s(), dotest64_2(), dotest64_2c(), dotest64_c(), dotest64_i(), dotest64_i2(), dump_coalesce_list(), dump_immediate_uses(), dump_instruction_fus(), dump_replaceable_exprs(), dump_var_map(), e_d(), elf32_sparc_relocate_section(), elf_xtensa_do_reloc(), elim_graph_add_node(), elim_graph_remove_succ_edge(), eliminate_phi(), emit_reload_insns(), emit_unlikely_jump(), entry_and_rtx_equal_p(), erase_from_pattern_seqs(), errata_find_address_regs(), estimate_num_insns_1(), event_get_word16(), event_get_word32(), event_get_word64(), expand_anon_union_decl(), expand_binop(), expand_builtin_synchronize(), expand_complex_move(), expand_computed_goto(), Expand_Constant_Multiply(), expand_decl(), expand_function_start(), expand_java_pushc(), expand_one_error_var(), expand_one_register_var(), expand_one_stack_var_at(), expand_unop(), extract_1(), f_inqu0_com(), f_open_com(), f_rew_com(), fei_ibits(), ffebld_new_accter(), ffebld_new_arrter(), ffebld_new_conter_with_orig(), ffebld_new_item(), ffebld_new_labter(), ffebld_new_labtok(), ffebld_new_none(), ffebld_new_one(), ffebld_new_symter(), ffebld_new_two(), ffetarget_integer1(), ffetarget_integerbinary(), ffetarget_integerhex(), ffetarget_integeroctal(), fibheap_consolidate(), fibheap_extr_min_node(), field_decl_cmp(), finalize_nesting_tree_1(), finalize_ssa_def_ops(), finalize_ssa_defs(), finalize_ssa_use_ops(), finalize_ssa_uses(), finalize_ssa_v_may_def_ops(), finalize_ssa_v_may_defs(), finalize_ssa_v_must_def_ops(), finalize_ssa_v_must_defs(), finalize_ssa_vuse_ops(), finalize_ssa_vuses(), find_btr_reference(), find_comparison_args(), find_dying_inputs(), find_edge_index(), find_replacement(), find_single_use_1(), find_spec_file(), find_split_point(), find_used_regs(), finish_struct(), finish_struct_1(), first_htab_element(), fixup_addr_diff_vecs(), fixup_var_refs_1(), flexible_array_type_p(), FMAT_to_IMAT(), fold_binary_to_constant(), fold_builtin_ceil(), fold_builtin_exponent(), fold_builtin_floor(), fold_builtin_int_roundingfn(), fold_builtin_logarithm(), fold_builtin_lround(), fold_builtin_pow(), fold_builtin_powi(), fold_builtin_round(), fold_builtin_sqrt(), fold_builtin_trunc(), fold_convert(), fold_convert_const_int_from_real(), OPT_REVISE_SSA::Fold_lda_iloads(), OPT_REVISE_SSA::Fold_lda_indirects(), force_expand_binop(), force_expr_to_var_cost(), force_var_cost(), OPT_REVISE_SSA::Form_extract(), OPT_REVISE_SSA::Form_extract_compose(), Formula_For_Ak(), fr30_elf_i20_reloc(), fr30_expand_prologue(), fr30_final_link_relocate(), free_temp_expr_table(), frob_into_branch_around(), frv_align_label(), frv_emit_movsi(), frv_expand_fdpic_call(), g_char(), gcd(), gen_alog(), gen_cabs(), gen_cdabs(), gen_cdexp(), gen_cdlog(), gen_cdsqrt(), gen_cdtocd(), gen_cdtoi(), gen_cexp(), gen_clog(), gen_compare_reg(), gen_csqrt(), gen_ctoc(), gen_ctoi(), gen_ctor(), gen_dexp(), gen_dis_table(), gen_dlog(), gen_dsqrt(), gen_dtod(), gen_dtoi(), gen_dtor(), gen_exp(), gen_hexp(), gen_hlog(), gen_hsqrt(), gen_htoi(), gen_itoi(), gen_modd(), gen_modf(), gen_mods(), gen_rtoi(), gen_rtor(), gen_sqrt(), gen_strtod(), gen_strtold(), generate_bytecode_insns(), EXP_WORKLST::Generate_save_reload(), get_frame_field(), get_jump_table_offset(), get_label_from_map(), get_last_value_validate(), get_some_local_dynamic_name_1(), get_static_chain(), ggc_add_root(), ggc_alloc(), ggc_get_size(), ggc_mark_roots(), ggc_marked_p(), ggc_pch_count_object(), ggc_set_mark(), ghs_pragma_endsda(), ghs_pragma_endtda(), ghs_pragma_endzda(), ghs_pragma_interrupt(), ghs_pragma_section(), ghs_pragma_startsda(), ghs_pragma_starttda(), ghs_pragma_startzda(), gimplify_function_tree(), gimplify_omp_atomic_pipeline(), global_alloc(), global_reg_mentioned_p_1(), gt_ggc_m_P17cselib_val_struct4htab(), gt_ggc_m_P7rtx_def4htab(), gt_ggc_m_P9mem_attrs4htab(), gt_ggc_m_P9tree_node4htab(), gt_ggc_mx_bitmap_element_def(), gt_ggc_mx_bitmap_head_def(), gt_ggc_mx_cselib_val_struct(), gt_ggc_mx_elt_list(), gt_ggc_mx_elt_loc_list(), gt_ggc_mx_emit_status(), gt_ggc_mx_expr_status(), gt_ggc_mx_function(), gt_ggc_mx_machine_function(), gt_ggc_mx_mem_attrs(), gt_ggc_mx_optab(), gt_ggc_mx_real_value(), gt_ggc_mx_rtvec_def(), gt_ggc_mx_rtx_def(), gt_ggc_mx_sequence_stack(), gt_ggc_mx_var_refs_queue(), gt_ggc_mx_varray_head_tag(), h_sign(), handle_int_attribute(), handle_pragma_java_exceptions(), hash_scan_insn(), hoist_insn_after(), hoist_update_store(), honor_protect_cleanup_actions(), htab_expand(), htab_traverse(), htab_traverse_noresize(), hwrite2(), hwrite3(), i386_simplify_dwarf_addr(), i_sign(), ia64_expand_vcondu_v2si(), ia64_expand_vecint_cmov(), ia64_expand_vecint_compare(), ia64_expand_vecint_minmax(), ia64_expand_widen_sum(), ia64_gen_check(), ia64_hpux_handle_builtin_pragma(), ia64_single_set(), ieeetest32_1t(), ieeetest32_2c(), ieeetest32_2cmp(), ieeetest32_2t(), ieeetest64_1t(), ieeetest64_2c(), ieeetest64_2cmp(), ieeetest64_2t(), IMAT_to_DMAT(), IMAT_to_FMAT(), in_expr_list_p(), inherently_necessary_register_1(), init_opb(), init_phase_names(), RG::Insert(), insert_1(), insert_gclist(), insert_string(), instantiate_virtual_regs_1(), instantiate_virtual_regs_in_insn(), instantiate_virtual_regs_in_rtx(), intrinsic_runtime(), invalidate_mems_from_autoinc(), ip2k_gen_unsigned_comp_branch(), ix86_expand_binop_builtin(), ix86_expand_prologue(), ix86_va_arg(), kill_autoinc_value(), l_sign(), lhs_lshift_cint_operand(), libcall_dead_p(), load_register_parameters(), local_cprop_find_used_regs(), locate_opcode_ent(), look_for_address_of(), lower_catch(), lower_cleanup(), lower_copyprivate_clauses(), lower_function_body(), lower_lastprivate_clauses(), lower_omp_master(), lower_omp_ordered(), lower_rec_input_clauses(), lower_reduction_clauses(), lower_rsqrt(), lower_send_clauses(), lower_send_shared_vars(), lower_try_finally(), lower_try_finally_copy(), lower_try_finally_nofallthru(), lower_try_finally_onedest(), lower_try_finally_switch(), m32c_legitimize_address(), m32r_cgen_dis_hash(), m32r_elf_do_10_pcrel_reloc(), m32r_elf_generic_reloc(), m68hc11_check_z_replacement(), m88k_special_reloc(), machine_dependent_reorg(), main(), make_decl_rtl(), make_edges(), make_insn_sequence(), mark_addressable(), mark_constant(), mark_oprs_set(), mark_references(), mcore_const_ok_for_inline(), mcore_const_trick_uses_not(), mcore_expand_prolog(), mcore_output_andn(), mcore_output_move(), memref_is_stack_slot(), merge_blocks_nomove(), mips_elf_obtain_contents(), mips_elf_perform_relocation(), mips_move_integer(), mips_select_rtx_section(), mmix_preferred_output_reload_class(), mmix_preferred_reload_class(), modd(), modf(), mods(), msp430_final_link_relocate(), my_print_insn(), NAME(), ne_d(), new_tree_live_info(), next_htab_element(), ETABLE::No_replace(), noce_process_if_block(), noce_try_bitop(), noce_try_cmove_arith(), nonlocal_mentioned_p_1(), nonlocal_referenced_p_1(), nonlocal_set_p_1(), notice_update_cc(), num_rshift(), opcodes_eq(), SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator!=(), SGI::int_iterator< Integer >::operator-(), SGI::operator<(), SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator==(), original_type(), out_movqi_mr_r(), out_movqi_r_mr(), output_constant_pool(), output_constant_pool_1(), output_inline_const(), output_jump(), output_min_issue_delay_table(), output_reserved_units_table(), parse_i(), parse_imm(), parse_mimm(), parse_strconst_pragma(), peephole(), pop(), pow_hh(), pre_insert_copy_insn(), pre_ldst_expr_hash(), prepare_cmp_insn(), prepare_decl_rtl(), prepare_float_lib_cmp(), print_completer_table(), print_dis_table(), Print_Dynsym(), print_edge_list(), print_insn_mmix(), print_operand_address(), print_rtl_graph_with_bb(), print_rtl_with_bb(), print_string_table(), process_command(), process_for_unwind_directive(), produce_memory_decl_rtl(), propagate_necessity_through_operand(), propagate_one_insn(), purge_addressof_1(), push(), push_namespace_with_attribs(), r_or_s_operand(), r_sign(), rd_I(), rd_Q(), read_word(), recompute_gain_for_pattern_seq(), record_edge_info(), record_stack_memrefs(), Rehash_tree_rec(), release_phi_node(), reload(), reload_as_needed(), reload_combine_note_use(), rename_equivalent_regs_in_insn(), rename_insn_1(), rename_ssa_copies(), replace_in_call_usage(), ETABLE::Replace_occurs(), replace_oldest_value_addr(), replace_pseudos_in(), replace_pseudos_in_call_usage(), resort_field_decl_cmp(), rest_of_compilation(), rest_of_handle_final(), returnjump_p_1(), root_var_init(), rs6000_get_some_local_dynamic_name_1(), rs6000_pragma_longcall(), rtl_merge_blocks(), rtl_verify_flow_info(), rtl_verify_flow_info_1(), rtx_equiv_p(), s390_delegitimize_address(), s390_simplify_dwarf_addr(), s_operand(), safe_insert_insn_on_edge(), sbitmap_vector_alloc(), scan_loop(), scan_rtx(), scan_rtx_address(), scan_rtx_reg(), schedule_ebbs(), searchc(), seq_insns_valid_p(), set_explicit_lang(), set_initial_label_offsets(), sh_elf_reloc_loop(), simplify_binary_operation(), simplify_binary_operation_1(), simplify_const_binary_operation(), simplify_const_unary_operation(), simplify_expand_binop(), simplify_relational_operation_1(), simplify_shift_const_1(), simplify_subreg(), simplify_test_exp(), simplify_test_exp_in_temp(), simplify_unary_operation(), simplify_unary_operation_1(), simplify_with_current_value(), sjlj_emit_function_enter(), skip_copy_to_return_value(), solaris_insert_attributes(), solaris_pragma_align(), some_small_symbolic_operand_1(), some_small_symbolic_operand_int(), sort_by_bb_live_in(), sort_coalesce_list(), sparc64_elf_relocate_section(), sparc_elf_wdisp16_reloc(), split_small_symbolic_operand_1(), stack_protect_epilogue(), stack_protect_prologue(), start_pc_cmp(), store_motion(), store_one_arg(), struct_ptr_eq(), struct_ptr_hash(), subst_constants(), sweep_objs(), synth_mult(), tail_recursion_label_p(), thumb_legitimize_reload_address(), tic30_aout_relocate_contents(), tpa_compact(), tpa_dump(), tpa_init(), type_var_init(), SNL_DEP_INFO::U_Fully_Permutable(), ujump_to_loop_cont(), unmentioned_reg_p_1(), unreverse_member_declarations(), unw_decode_x2(), unw_decode_x4(), update_equiv_regs(), use_thunk(), validate_replace_rtx_1(), vax_float_literal(), VECTOR_SPACE< T >::VECTOR_SPACE(), verify_expr(), verify_flow_info(), verify_insn_chain(), verify_wide_reg_1(), visit_expression(), VPARAMS(), walk_alter_subreg(), wrt_F(), wrt_FQ(), wrt_G(), wrt_I(), wrt_IM(), wrt_L(), wrt_LL(), wrt_LLM(), xstormy16_elf_24_reloc(), xstormy16_elf_finish_dynamic_sections(), xstormy16_elf_relocate_section(), xtensa_expand_block_move(), and yyparse().


Function Documentation

size_t _elf32_xltsize ( const Elf_Data src,
unsigned  dv,
unsigned  encode,
int  tof 
)

static void array_copy ( unsigned char *  dst,
size_t  dlen,
const unsigned char *  src,
size_t  slen 
) [static]

Definition at line 225 of file 32.xlatetof.c.

References byte_copy(), and memset.

static size_t byte_copy ( unsigned char *  dst,
const unsigned char *  src,
size_t  n 
) [static]

Definition at line 199 of file 32.xlatetof.c.

References i, memcpy, and memmove.

Referenced by array_copy(), and copy_type().

copy_type ( addr_32  ,
copy_type(  _,
Elf32_Addr  ,
copy_addr_11   
)

Definition at line 235 of file 32.xlatetof.c.

References byte_copy(), and NULL.

static Elf_Data* elf32_xlate ( Elf_Data dst,
const Elf_Data src,
unsigned  encode,
int  tof 
) [static]

Elf_Data* elf32_xlatetof ( Elf_Data dst,
const Elf_Data src,
unsigned  encode 
)

Definition at line 427 of file 32.xlatetof.c.

References elf32_xlate().

Referenced by _elf32_write().

Elf_Data* elf32_xlatetom ( Elf_Data dst,
const Elf_Data src,
unsigned  encode 
)

Definition at line 422 of file 32.xlatetof.c.

References elf32_xlate().

Referenced by _elf_xlatetom().


Variable Documentation

const char rcsid[] = "@(#) $Id: 32.xlatetof.c,v 1.1.1.1 2005/10/21 19:00:00 marcel Exp $" [static]

Definition at line 29 of file 32.xlatetof.c.

const xltab* const xlate32[EV_CURRENT-EV_NONE][EV_CURRENT-EV_NONE] [static]

Initial value:

 {
    { xlate32_11, },
}

Definition at line 318 of file 32.xlatetof.c.


Generated on Wed Apr 8 15:52:14 2009 for Open64 by  doxygen 1.5.6