
Go to the source code of this file.
Definition at line 38 of file ipa_ld.h.
Referenced by STMTREP::Clone(), Create_Sched_Est(), Eliminate_Expr(), Estimate_BB_Length(), FBV::FBV(), GCM_For_Loop(), initialize_strtab(), ipa_copy_of(), ipc_copy_of(), IPL_EX_Copy_Expr(), IPL_EX_Copy_Value(), IPL_EX_Eliminate_Value(), IPL_EXS_Sort_Exprs(), SUMMARIZE< program >::IPL_GEN_Value(), MEM_POOL_Realloc_P(), and TI_ASM_Pack_Inst().
| #define CLOSE | ( | fid | ) | close((int)(fid)) |
Definition at line 65 of file ipa_ld.h.
Referenced by check_for_whirl(), create_unique_file(), and extract_archive_member().
| #define DEFAULT_COMPILATION_ARGC 2 |
| #define DEFAULT_COMPILATION_FLAGS { "cc", "-c", 0} |
| #define DEFAULT_TMP_LIST_SIZE 32 |
| #define ELF_WORD int |
| #define F_CALL_SHARED 4 |
Definition at line 186 of file ipa_ld.h.
Referenced by get_extra_args(), count_WHIRL_external_gots::operator()(), fix_static_func::operator()(), Pic_optimization(), and process_whirl64().
| #define F_CALL_SHARED_RELOC (F_RELOCATABLE | F_CALL_SHARED) |
| #define F_EXEC (~F_RELOCATABLE) |
Definition at line 191 of file ipa_ld.h.
Referenced by _bfd_ecoff_write_object_contents(), coff_real_object_p(), print_global_hdr(), and xcoff64_write_object_contents().
| #define F_MAKE_SHARABLE 8 |
| #define F_NON_SHARED 2 |
Definition at line 185 of file ipa_ld.h.
Referenced by get_extra_args(), and fix_static_func::operator()().
| #define F_RELOCATABLE 1 |
Definition at line 184 of file ipa_ld.h.
Referenced by get_extra_args(), and get_extra_symtab_args().
| #define F_STATIC (F_NON_SHARED | F_RELOCATABLE) |
| #define FCHMOD | ( | fid, | |||
| mode | ) | fchmod((int)(fid), (mode_t)(mode)) |
| #define HS_DEFAULT 0 |
| #define HS_EXPORTS 2 |
| #define HS_IGNORE 3 |
| #define MALLOC | ( | nbytes | ) | malloc((size_t)(nbytes)) |
Definition at line 47 of file ipa_ld.h.
Referenced by add_to_tmp_file_list(), add_unique_name(), build_call_graph(), check_for_whirl(), concat_names(), create_tmp_file(), create_unique_file(), get_command_line(), ipa_copy_of(), ipa_opt(), ipa_search_command_line(), ipc_copy_of(), ir_prof_start(), main(), make_name(), make_symtab64(), open_counts_file(), process_counts(), Process_IPA_Options(), and sort_symbol_ref_count_array().
| #define MALLOC_ASSERT | ( | addr | ) | if (addr == 0) { perror("malloc failed: "); exit(1);} |
Definition at line 44 of file ipa_ld.h.
Referenced by add_to_tmp_file_list(), check_for_whirl(), concat_names(), create_unique_file(), get_command_line(), ipa_copy_of(), ipa_opt(), ipa_search_command_line(), ipc_copy_of(), and sort_symbol_ref_count_array().
Definition at line 50 of file ipa_ld.h.
Referenced by __profile_call(), add_to_tmp_file_list(), DEFUN(), and ipa_opt().
| #define WHIRL_ST_IDX_NOT_AVAILABLE (-1) |
Definition at line 347 of file ipa_ld.h.
Referenced by ipa_set_ndx(), ipa_symbol_sync(), Linker_mark_not_gp_rel(), and Merge_Global_St().
| #define WHIRL_ST_IDX_UNINITIALIZED (0) |
Definition at line 346 of file ipa_ld.h.
Referenced by ipa_set_ndx(), ipa_symbol_sync(), Linker_mark_not_gp_rel(), and Merge_Global_St().
| #define WT_COMP_FLAGS 0x3 |
Definition at line 96 of file ipa_ld.h.
Referenced by get_command_line(), WN_get_flags(), and WN_write_flags().
| typedef struct ld_ipa_option LD_IPA_OPTION |
| enum AUX_ST_FLAG |
| enum ld_ipa_option_enum |
| enum targos_enum |
| string concat_names | ( | const | string, | |
| const | string | |||
| ) |
Definition at line 180 of file ipa_ld.c.
References len, MALLOC, MALLOC_ASSERT, strcat(), strcpy, and strlen().
Referenced by add_WB_opt(), add_Y_opt(), create_tmpdir(), do_compile(), ipa_compile_init(), ipacom_doit(), make_link(), and Process_IPA_Options().
Definition at line 534 of file ipa_ld.c.
References ALLOCA, args, elf_internal_shdr::contents, DEFAULT_COMPILATION_ARGC, DEFAULT_COMPILATION_FLAGS, elf_internal_ehdr::e_shnum, elf_elfheader, elf_elfsections, ELF_WORD, i, MALLOC, MALLOC_ASSERT, OBJ_ASSERT, read_one_section(), elf_internal_shdr::sh_info, elf_internal_shdr::sh_size, TOS_IA64_32, TOS_IA64_64, TOS_MIPS_64, TOS_MIPS_N32, TOS_MIPS_O32, and WT_COMP_FLAGS.
Referenced by ipacom_process_file(), and ld_compile().
| char* ipa_copy_of | ( | char * | ) |
Definition at line 160 of file ipa_ld.c.
References BCOPY, len, MALLOC, MALLOC_ASSERT, p, and strlen().
Referenced by add_Y_opt(), create_tmp_file(), do_compile(), ipa_opt(), and make_temp_file().
| bfd_boolean ipa_is_whirl | ( | bfd * | ) |
Definition at line 1058 of file ipa_ld.c.
References elf_internal_ehdr::e_type, elf_elfheader, ET_SGI_IR, FALSE, and TRUE.
Referenced by _bfd_generic_link_add_one_symbol(), elf_link_add_archive_symbols(), elf_link_add_object_symbols(), ipa_set_ndx(), ldfile_try_open_bfd(), and load_symbols().
Definition at line 1088 of file ipa_ld.c.
References EF_IRIX_ABI64, elf_elfheader, FALSE, bfd::filename, p_ipa_open_input, PTR, and bfd::usrdata.
Referenced by load_symbols().
Definition at line 1156 of file ipa_ld.c.
References ar_hdr::ar_size, arch_hdr, bfd_alloc(), bfd_bread(), bfd_seek(), EF_IRIX_ABI64, einfo(), elf_elfheader, bfd::filename, ld_set_cur_obj(), O_RDONLY, open, SEEK_SET, strtol(), TRUE, and bfd::usrdata.
Referenced by elf_link_add_archive_symbols().
| int ipa_set_ndx | ( | bfd * | ) |
Definition at line 835 of file ipa_ld.c.
References ipa_is_whirl(), WHIRL_ST_IDX_NOT_AVAILABLE, and WHIRL_ST_IDX_UNINITIALIZED.
Definition at line 1219 of file ipa_ld.c.
References dlerror(), dlopen(), dlsym(), exit(), fputs(), p_ipa_add_link_flag, p_ipa_driver, p_ipa_init_link_line, p_ipa_insert_whirl_marker, p_ipa_modify_link_flag, p_ipa_open_input, p_process_whirl32, and p_process_whirl64.
Referenced by ipa_search_command_line().
Definition at line 697 of file ipa_ld.c.
References active_pid, add_to_tmp_file_list(), bfd::arelt_data, create_tmpdir(), create_unique_file(), do_compile(), ER_DEFAULT, ER_FATAL, ERN_COMPILE, ERN_MESSAGE2, exit(), extract_archive_member(), FALSE, file_name, bfd::filename, fprintf(), FREE, get_command_line(), if(), LD_IPA_SHOW, LD_IPA_VERBOSE, make_link(), msg, remove_from_tmp_file_list(), UNLINK, void, waitpid, and WEXITSTATUS.
Definition at line 952 of file ipa_ld.c.
References abfd, and bfd::usrdata.
Referenced by process_whirl().
| char* ld_get_section_base | ( | void * | , | |
| int | ||||
| ) |
Definition at line 906 of file ipa_ld.c.
References abfd, elf_elfsections, elf_internal_shdr::sh_offset, and bfd::usrdata.
Referenced by process_whirl().
| char* ld_get_section_name | ( | void * | , | |
| int | ||||
| ) |
Definition at line 935 of file ipa_ld.c.
References abfd, bfd_elf_get_str_section(), elf_elfheader, elf_elfsections, elf_internal_shdr::sh_name, and tbl.
Referenced by process_whirl().
Definition at line 921 of file ipa_ld.c.
References abfd, and elf_elfsections.
Referenced by process_whirl().
Definition at line 1004 of file ipa_ld.c.
References abfd, elf_internal_shdr::contents, elf_elfsections, and free().
Definition at line 1033 of file ipa_ld.c.
Referenced by ipa_process_whirl_in_archive(), and load_symbols().
Definition at line 966 of file ipa_ld.c.
References abfd, bfd_malloc(), bfd_read, bfd_seek(), buf, elf_internal_shdr::contents, elf_elfsections, exit(), bfd::filename, fprintf(), PTR, SEEK_SET, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, and size.
| void* ld_slookup_mext | ( | char * | , | |
| bfd_boolean | ||||
| ) |
Definition at line 774 of file ipa_ld.c.
References abfd, bfd_false(), bfd_wrapped_link_hash_lookup(), elf_hash_table, elf_link_hash_lookup, and link_info.
Referenced by ipa_symbol_sync(), and Merge_Global_St().
| char* __Release_ID |
| LD_IPA_OPTION ld_ipa_opt[MAX_LD_IPA] |
Referenced by Fix_up_static_functions(), output_queue::flush(), get_command_line(), get_extra_args(), get_extra_symtab_args(), IP_set_target(), ipa_dot_so_init(), ipa_driver(), ipa_search_command_line(), ipacom_doit(), ipacom_process_symtab(), IPO_Process_node(), count_WHIRL_external_gots::operator()(), parse_args(), Perform_Alias_Class_Annotation(), Pic_optimization(), Process_IPA_Options(), process_whirl(), and process_whirl64().
| void(* p_ipa_add_link_flag)(const char *) |
Referenced by ipa_set_syms().
| void(* p_ipa_driver)(int, char **) |
Referenced by ipa_set_syms().
| void(* p_ipa_init_link_line)(int, char **) |
Referenced by ipa_set_syms().
Referenced by ipa_set_syms().
| void(* p_ipa_modify_link_flag)(char *, char *) |
Referenced by ipa_set_syms().
| void*(* p_ipa_open_input)(char *, off_t *) |
Referenced by ipa_process_whirl(), and ipa_set_syms().
Referenced by ipa_set_syms().
Referenced by ipa_set_syms(), and load_symbols().
Definition at line 138 of file process.c.
Referenced by choose_tmpdir(), cif_convert_to_cifconv(), cif_convert_to_lines(), IPA_LNO_WRITE_FILE::Create_Temp_File(), create_temp_file(), create_temp_file_name(), get_object_file(), init_crash_reporting(), init_temp_files(), ipa_compile_init(), IPA_LNO_Write_Summary(), ipacom_doit(), and save_cpp_output().
Definition at line 127 of file process.c.
Referenced by emit_lkcord(), init_msg_processing(), init_phase_info(), ipa_compile_init(), and print_buffered_messages().
| string tos_string[TOS_MAX] |
1.5.6