
Go to the source code of this file.
| #define DEFAULT_MEMORY_REGION "*default*" |
Definition at line 30 of file ldlang.h.
Referenced by lang_get_regions(), lang_leave_overlay_section(), lang_memory_default(), lang_memory_region_lookup(), lang_size_sections_1(), and yyparse().
| #define LANG_FOR_EACH_INPUT_STATEMENT | ( | statement | ) |
Value:
lang_input_statement_type *statement; \ for (statement = (lang_input_statement_type *) file_chain.head; \ statement != (lang_input_statement_type *) NULL; \ statement = (lang_input_statement_type *) statement->next) \
Definition at line 505 of file ldlang.h.
Referenced by build_link_order(), get_first_input_target(), lang_do_version_exports_section(), lang_for_each_file(), lang_gc_sections(), lang_place_orphans(), and walk_wild().
| typedef union lang_statement_union lang_statement_union_type |
| enum section_type |
| void add_excluded_libs | ( | const char * | ) |
| void dprint_statement | ( | lang_statement_union_type * | , | |
| int | ||||
| ) |
Definition at line 3364 of file ldlang.c.
References config, lang_statement_union::header, ld_config_type::map_file, lang_statement_header_struct::next, print_statement(), and print_statement_list().
| void lang_abs_symbol_at_beginning_of | ( | const char * | , | |
| const char * | ||||
| ) |
Definition at line 5307 of file ldlang.c.
References _, bfd_abs_section_ptr, bfd_get_section_by_name(), bfd_get_section_vma, bfd_link_hash_defined, bfd_link_hash_lookup(), bfd_link_hash_new, bfd_link_hash_undefined, bfd_link_hash_entry::def, einfo(), h, bfd_link_info::hash, link_info, NULL, output_bfd, sec, TRUE, bfd_link_hash_entry::type, and bfd_link_hash_entry::u.
| void lang_abs_symbol_at_end_of | ( | const char * | , | |
| const char * | ||||
| ) |
Definition at line 5338 of file ldlang.c.
References _, bfd_abs_section_ptr, bfd_get_section_by_name(), bfd_get_section_vma, bfd_link_hash_defined, bfd_link_hash_lookup(), bfd_link_hash_new, bfd_link_hash_undefined, bfd_link_hash_entry::def, einfo(), h, bfd_link_info::hash, link_info, NULL, output_bfd, sec, bfd_section::size, TO_ADDR, TRUE, bfd_link_hash_entry::type, and bfd_link_hash_entry::u.
| lang_assignment_statement_type* lang_add_assignment | ( | union etree_union * | ) |
Definition at line 5215 of file ldlang.c.
References new_stat.
Referenced by lang_insert_orphan(), lang_leave_overlay_section(), ldctor_build_sets(), mri_public(), and yyparse().
| void lang_add_attribute | ( | enum | statement_enum | ) |
| void lang_add_data | ( | int | type, | |
| union etree_union * | ||||
| ) |
Definition at line 5176 of file ldlang.c.
References new_stat, and etree_union::type.
Referenced by ldctor_build_sets(), and yyparse().
| void lang_add_entry | ( | const char * | , | |
| bfd_boolean | ||||
| ) |
Definition at line 5130 of file ldlang.c.
References entry_from_cmdline, bfd_sym_chain::name, and NULL.
Referenced by parse_args(), and yyparse().
| lang_input_statement_type* lang_add_input_file | ( | const char * | , | |
| lang_input_file_enum_type | , | |||
| const char * | ||||
| ) |
Definition at line 506 of file ldlang.c.
References lang_has_input_file, new_afile(), and TRUE.
Referenced by add_bfd_to_link(), build_filler_bfd(), lang_init(), mri_load(), parse_args(), and yyparse().
| void lang_add_keepsyms_file | ( | const char * | ) |
| void lang_add_map | ( | const char * | ) |
Definition at line 5152 of file ldlang.c.
References map_option_f, and TRUE.
Referenced by yyparse().
| void lang_add_nocrossref | ( | lang_nocrossref_type * | ) |
Definition at line 5551 of file ldlang.c.
References link_info, lang_nocrossrefs::list, n, lang_nocrossrefs::next, bfd_link_info::notice_all, TRUE, and xmalloc().
Referenced by lang_leave_overlay(), and yyparse().
| void lang_add_output | ( | const char * | , | |
| int | from_script | |||
| ) |
Definition at line 4710 of file ldlang.c.
References had_output_filename, output_filename, and TRUE.
Referenced by mri_name(), parse_args(), and yyparse().
| void lang_add_output_format | ( | const char * | , | |
| const char * | , | |||
| const char * | , | |||
| int | ||||
| ) |
Definition at line 5376 of file ldlang.c.
References command_line, args_type::endian, ENDIAN_BIG, ENDIAN_LITTLE, NULL, and output_target.
Referenced by mri_format(), parse_args(), and yyparse().
| void lang_add_reloc | ( | bfd_reloc_code_real_type | , | |
| reloc_howto_type * | , | |||
| asection * | , | |||
| const char * | , | |||
| union etree_union * | ||||
| ) |
Definition at line 5195 of file ldlang.c.
References lang_reloc_statement_type::addend_exp, lang_reloc_statement_type::addend_value, lang_reloc_statement_type::howto, lang_reloc_statement_type::name, new_stat, NULL, lang_reloc_statement_type::output_section, lang_reloc_statement_type::output_vma, p, lang_reloc_statement_type::reloc, and lang_reloc_statement_type::section.
Referenced by ldctor_build_sets().
| void lang_add_section | ( | lang_statement_list_type * | , | |
| asection * | , | |||
| lang_output_section_statement_type * | , | |||
| lang_input_statement_type * | ||||
| ) |
Definition at line 1324 of file ldlang.c.
References bfd_section::alignment_power, bfd_abs_section_ptr, bfd_arch_tic54x, bfd_get_arch(), lang_output_section_statement_struct::bfd_section, lang_output_section_statement_struct::block_value, copy_section, DISCARD_SECTION_NAME, dsect_section, bfd_section::entsize, first, bfd_section::flags, flags, info_section, init_os(), link_info, bfd_section::linker_has_input, lang_output_section_statement_struct::name, new_stat, noload_section, normal_section, NULL, bfd_section::output_section, overlay_section, bfd_section::owner, bfd_link_info::relocatable, SEC_ALLOC, SEC_DEBUGGING, SEC_EXCLUDE, SEC_LINK_DUPLICATES, SEC_LINK_ONCE, SEC_LOAD, SEC_MERGE, SEC_NEVER_LOAD, SEC_READONLY, SEC_SMALL_DATA, SEC_STRINGS, SEC_TIC54X_BLOCK, lang_output_section_statement_struct::section_alignment, lang_output_section_statement_struct::sectype, strcmp(), bfd_link_info::strip, strip_all, strip_debugger, and TRUE.
Referenced by lang_insert_orphan(), lang_place_orphans(), and output_section_callback().
| void lang_add_target | ( | const char * | ) |
Definition at line 5142 of file ldlang.c.
References new_stat.
Referenced by parse_args(), and yyparse().
| void lang_add_unique | ( | const char * | ) |
Definition at line 6219 of file ldlang.c.
References unique_sections::name, unique_sections::next, strcmp(), xmalloc(), and xstrdup().
Referenced by parse_args().
| struct bfd_elf_version_deps* lang_add_vers_depend | ( | struct bfd_elf_version_deps * | , | |
| const char * | ||||
| ) | [read] |
Definition at line 6159 of file ldlang.c.
References _, einfo(), bfd_elf_version_tree::name, bfd_elf_version_deps::next, bfd_elf_version_tree::next, NULL, ret, strcmp(), bfd_elf_version_deps::version_needed, and xmalloc().
Referenced by yyparse().
| void lang_add_wild | ( | struct wildcard_spec * | , | |
| struct wildcard_list * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 5072 of file ldlang.c.
References by_name, FALSE, lang_has_input_file, lang_list_init(), wildcard_spec::name, new_stat, wildcard_list::next, next, NULL, placed_commons, wildcard_spec::sorted, strcmp(), TRUE, and wildcardp.
Referenced by mri_draw_tree(), and yyparse().
| void lang_do_assignments | ( | lang_statement_union_type * | , | |
| lang_output_section_statement_type * | , | |||
| fill_type * | , | |||
| bfd_vma | ||||
| ) |
Definition at line 4225 of file ldlang.c.
References lang_do_assignments_1(), and lang_statement_iteration.
Referenced by lang_process(), pe_dll_fill_sections(), and pe_exe_fill_sections().
Definition at line 5398 of file ldlang.c.
References lang_group_statement_type::children, g, lang_list_init(), and new_stat.
Referenced by parse_args(), and yyparse().
| lang_output_section_statement_type* lang_enter_output_section_statement | ( | const char * | output_section_statement_name, | |
| etree_type * | address_exp, | |||
| enum section_type | sectype, | |||
| etree_type * | align, | |||
| etree_type * | subalign, | |||
| etree_type * | , | |||
| int | ||||
| ) |
Definition at line 4742 of file ldlang.c.
References lang_output_section_statement_struct::addr_tree, lang_output_section_statement_struct::block_value, lang_output_section_statement_struct::children, exp_get_value_int(), lang_output_section_statement_struct::flags, lang_output_section_statement_lookup_1(), lang_output_section_statement_struct::load_base, noload_section, NULL, SEC_NEVER_LOAD, SEC_NO_FLAGS, lang_output_section_statement_struct::section_alignment, lang_output_section_statement_struct::sectype, lang_output_section_statement_struct::subsection_alignment, and topower().
Referenced by lang_enter_overlay_section(), lang_insert_orphan(), mri_draw_tree(), and yyparse().
| void lang_enter_overlay | ( | etree_type * | , | |
| etree_type * | ||||
| ) |
| void lang_enter_overlay_section | ( | const char * | ) |
Definition at line 5602 of file ldlang.c.
References ADDR, exp_binop(), exp_nameop(), lang_enter_output_section_statement(), MAX_K, n, overlay_list::next, normal_section, NULL, overlay_list::os, size, SIZEOF, and xmalloc().
Referenced by yyparse().
Definition at line 4781 of file ldlang.c.
References new_stat, and output_filename.
Referenced by main().
| void lang_float | ( | bfd_boolean | ) |
| void lang_for_each_file | ( | void(*)(lang_input_statement_type *) | dothis | ) |
Definition at line 4669 of file ldlang.c.
References f, func, and LANG_FOR_EACH_INPUT_STATEMENT.
Referenced by check_nocrossrefs().
| void lang_for_each_input_file | ( | void(*)(lang_input_statement_type *) | dothis | ) |
Definition at line 4654 of file ldlang.c.
References f, func, statement_list::head, lang_input_statement_struct::next_real_file, and NULL.
| void lang_for_each_statement | ( | void(*)(lang_statement_union_type *) | ) |
Definition at line 377 of file ldlang.c.
References func, statement_list::head, and lang_for_each_statement_worker().
Referenced by lang_process(), and ldwrite().
| const char* lang_get_output_target | ( | void | ) |
Definition at line 2226 of file ldlang.c.
References current_target, default_target, get_first_input_target(), NULL, output_target, and target.
Referenced by ldfile_try_open_bfd(), and open_output().
Definition at line 517 of file ldlang.c.
References _, BFD_ABS_SECTION_NAME, bfd_abs_section_ptr, bfd_hash_table_init_n(), lang_output_section_statement_struct::bfd_section, einfo(), lang_add_input_file(), lang_definedness_newfunc(), lang_definedness_table, lang_input_file_is_marker_enum, lang_list_init(), lang_output_section_statement_lookup(), lang_statement_iteration, NULL, obstack_begin, and stat_obstack.
Referenced by main().
| lang_output_section_statement_type* lang_insert_orphan | ( | lang_input_statement_type * | , | |
| asection * | , | |||
| const char * | , | |||
| lang_output_section_statement_type * | , | |||
| struct orphan_save * | , | |||
| etree_type * | , | |||
| lang_statement_list_type * | ||||
| ) |
Definition at line 839 of file ldlang.c.
References ADDR, ALIGN_K, bfd_section::alignment_power, etree_union::assign, bfd_get_symbol_leading_char, lang_output_section_statement_struct::bfd_section, bfd_section_list_insert, bfd_section_list_remove, ld_config_type::build_constructors, lang_output_section_statement_struct::children, config, etree_union::dst, lang_assignment_statement_type::exp, exp_assop(), exp_binop(), exp_intop(), exp_nameop(), exp_unop(), bfd_section::flags, statement_list::head, lang_output_section_statement_struct::header, lang_statement_union::header, ISALNUM, lang_add_assignment(), lang_add_section(), lang_enter_output_section_statement(), lang_leave_output_section_statement(), lang_list_init(), link_info, lang_output_section_statement_struct::load_base, NAME, lang_output_section_statement_struct::name, lang_statement_header_struct::next, bfd_section::next, lang_output_section_statement_struct::next, node_type::node_class, NULL, orphan_save::os_tail, output_bfd, output_prev_sec_find(), lang_statement_union::output_section_statement, bfd_link_info::relocatable, SEC_ALLOC, SEC_LOAD, orphan_save::section, bfd::sections, sprintf(), orphan_save::stmt, statement_list::tail, etree_union::type, where, and xmalloc().
| void lang_leave_output_section_statement | ( | fill_type * | , | |
| const char * | , | |||
| lang_output_section_phdr_list * | , | |||
| const char * | ||||
| ) |
Definition at line 5287 of file ldlang.c.
References lang_output_section_statement_struct::addr_tree, lang_output_section_statement_struct::fill, lang_get_regions(), lang_output_section_statement_struct::lma_region, lang_output_section_statement_struct::load_base, NULL, lang_output_section_statement_struct::phdrs, and lang_output_section_statement_struct::region.
Referenced by lang_insert_orphan(), lang_leave_overlay_section(), mri_draw_tree(), and yyparse().
| void lang_leave_overlay | ( | etree_type * | , | |
| int | , | |||
| fill_type * | , | |||
| const char * | , | |||
| lang_output_section_phdr_list * | , | |||
| const char * | ||||
| ) |
Definition at line 5679 of file ldlang.c.
References exp_assop(), exp_binop(), exp_nameop(), FALSE, lang_output_section_statement_struct::fill, free(), lang_add_nocrossref(), lang_get_regions(), lang_output_section_statement_struct::lma_region, lang_output_section_statement_struct::load_base, LOADADDR, lang_output_section_statement_struct::name, lang_nocrossref::name, overlay_list::next, next, lang_nocrossref::next, NULL, overlay_list::os, lang_output_section_statement_struct::phdrs, lang_output_section_statement_struct::region, region, SIZEOF, lang_output_section_statement_struct::update_dot_tree, and xmalloc().
Referenced by yyparse().
| void lang_leave_overlay_section | ( | fill_type * | , | |
| lang_output_section_phdr_list * | ||||
| ) |
Definition at line 5635 of file ldlang.c.
References buf, clean(), DEFAULT_MEMORY_REGION, exp_assop(), exp_binop(), exp_nameop(), free(), ISALNUM, lang_add_assignment(), lang_leave_output_section_statement(), LOADADDR, lang_output_section_statement_struct::name, s1, s2, SIZEOF, sprintf(), strlen(), and xmalloc().
Referenced by yyparse().
| void lang_list_init | ( | lang_statement_list_type * | ) |
Definition at line 385 of file ldlang.c.
References statement_list::head, NULL, and statement_list::tail.
Referenced by lang_add_wild(), lang_enter_group(), lang_init(), lang_insert_orphan(), lang_output_section_statement_lookup_1(), ldctor_build_sets(), open_input_bfds(), and output_section_callback().
Definition at line 1100 of file ldlang.c.
References _, bfd_link_hash_traverse(), bfd_map_over_sections(), buf, command_line, config, memory_region_struct::flags, fprintf(), bfd_link_info::hash, init_map_userdata(), bfd_link_info::input_bfds, lang_map_flags(), len, memory_region_struct::length, link_info, bfd::link_next, ld_config_type::map_file, map_obstack, minfo(), memory_region_struct::name, memory_region_struct::next, memory_region_struct::not_flags, NULL, obstack_begin, memory_region_struct::origin, p, print_nl(), print_space(), print_statements(), args_type::reduce_memory_overheads, sort_def_symbol(), sprintf_vma, and strlen().
Referenced by main().
| lang_memory_region_type* lang_memory_region_default | ( | asection * | ) |
| lang_memory_region_type* lang_memory_region_lookup | ( | const char * | const, | |
| bfd_boolean | ||||
| ) |
Definition at line 570 of file ldlang.c.
References _, DEFAULT_MEMORY_REGION, einfo(), FALSE, lang_memory_region_list_tail, memory_region_struct::name, memory_region_struct::next, NULL, memory_region_struct::origin, p, stat_alloc(), strcmp(), and xstrdup().
Referenced by fold_name(), lang_get_regions(), lang_memory_default(), lang_size_sections_1(), and yyparse().
| void lang_new_phdr | ( | const char * | , | |
| etree_type * | , | |||
| bfd_boolean | , | |||
| bfd_boolean | , | |||
| etree_type * | , | |||
| etree_type * | ||||
| ) |
Definition at line 5422 of file ldlang.c.
References lang_phdr::at, exp_get_value_int(), lang_phdr::filehdr, lang_phdr::flags, lang_final_phase_enum, n, lang_phdr::name, lang_phdr::next, NULL, lang_phdr::phdrs, stat_alloc(), and lang_phdr::type.
Referenced by yyparse().
| struct bfd_elf_version_tree* lang_new_vers_node | ( | struct bfd_elf_version_expr * | , | |
| struct bfd_elf_version_expr * | ||||
| ) | [read] |
Definition at line 5941 of file ldlang.c.
References bfd_elf_version_tree::globals, int, lang_vers_match(), bfd_elf_version_expr_head::list, bfd_elf_version_tree::locals, bfd_elf_version_tree::match, bfd_elf_version_tree::name_indx, ret, and xcalloc().
Referenced by lang_do_version_exports_section(), and yyparse().
| struct bfd_elf_version_expr* lang_new_vers_pattern | ( | struct bfd_elf_version_expr * | , | |
| const char * | , | |||
| const char * | ||||
| ) | [read] |
Definition at line 5908 of file ldlang.c.
References _, BFD_ELF_VERSION_C_TYPE, BFD_ELF_VERSION_CXX_TYPE, BFD_ELF_VERSION_JAVA_TYPE, einfo(), ldemul_new_vers_pattern(), bfd_elf_version_expr::mask, bfd_elf_version_expr::next, NULL, bfd_elf_version_expr::pattern, realsymbol(), ret, bfd_elf_version_expr::script, strcasecmp(), bfd_elf_version_expr::symbol, bfd_elf_version_expr::symver, and xmalloc().
Referenced by lang_do_version_exports_section(), and yyparse().
| lang_output_section_statement_type* lang_output_section_find | ( | const char * | const | ) |
Definition at line 648 of file ldlang.c.
References lang_output_section_find_1().
Referenced by exp_init_os(), and fold_name().
| lang_output_section_statement_type* lang_output_section_find_by_flags | ( | const asection * | , | |
| lang_output_section_statement_type ** | exact | |||
| ) |
Definition at line 703 of file ldlang.c.
References lang_output_section_statement_struct::bfd_section, first, lang_output_section_statement_struct::flags, bfd_section::flags, flags, statement_list::head, lang_output_section_statement_struct::next, NULL, lang_statement_union::output_section_statement, SEC_ALLOC, SEC_CODE, SEC_HAS_CONTENTS, SEC_LOAD, SEC_READONLY, SEC_SMALL_DATA, and SEC_THREAD_LOCAL.
| lang_output_section_statement_type* lang_output_section_statement_lookup | ( | const char * | const | ) |
Definition at line 692 of file ldlang.c.
References lang_output_section_statement_lookup_1().
Referenced by fold_name(), lang_init(), lang_place_orphans(), and map_input_to_output_sections().
Definition at line 4899 of file ldlang.c.
References _, bfd_get_section_by_name(), bfd_merge_sections, bfd_section_already_linked_table_free(), bfd_section_already_linked_table_init(), args_type::check_section_addresses, command_line, config, current_target, default_target, einfo(), FALSE, bfd_section::flags, bfd_link_info::gc_sym_list, statement_list::head, init_opb(), is_ipa, lang_check(), lang_check_section_addresses(), lang_common(), lang_do_assignments(), lang_do_version_exports_section(), lang_finish(), lang_for_each_statement(), lang_gc_sections(), lang_place_orphans(), lang_place_undefineds(), lang_record_phdrs(), lang_reset_memory_regions(), lang_set_startof(), lang_size_sections(), ldctor_build_sets(), ldemul_after_allocation(), ldemul_after_open(), ldemul_before_allocation(), ldemul_create_output_section_statements(), ldemul_finish(), ldlang_open_output(), ldlang_undef_chain_list_head, link_info, map_input_to_output_sections(), bfd_sym_chain::name, bfd_link_info::need_relax_finalize, NULL, open_input_bfds(), output_bfd, args_type::relax, bfd_link_info::relocatable, SEC_READONLY, strip_excluded_output_sections(), ld_config_type::text_read_only, TRUE, update_wild_statements(), and args_type::version_exports_section.
Referenced by main().
| void lang_register_vers_node | ( | const char * | , | |
| struct bfd_elf_version_tree * | , | |||
| struct bfd_elf_version_deps * | ||||
| ) |
Definition at line 6058 of file ldlang.c.
References _, bfd_elf_version_tree::deps, einfo(), free(), bfd_elf_version_tree::globals, bfd_elf_version_expr_head::htab, htab_find(), lang_finalize_version_expr_head(), bfd_elf_version_expr_head::list, bfd_elf_version_tree::locals, bfd_elf_version_expr::mask, bfd_elf_version_tree::name, bfd_elf_version_tree::next, bfd_elf_version_expr::next, NULL, bfd_elf_version_expr::pattern, bfd_elf_version_expr_head::remaining, strcmp(), bfd_elf_version_expr::symbol, and bfd_elf_version_tree::vernum.
Referenced by lang_do_version_exports_section(), and yyparse().
Definition at line 4792 of file ldlang.c.
References memory_region_struct::current, bfd_section::next, memory_region_struct::next, NULL, o, memory_region_struct::old_length, memory_region_struct::origin, output_bfd, p, bfd_section::rawsize, bfd::sections, and bfd_section::size.
Referenced by lang_process().
| void lang_section_start | ( | const char * | , | |
| union etree_union * | , | |||
| const segment_type * | ||||
| ) |
Definition at line 5113 of file ldlang.c.
References lang_address_statement_struct::address, new_stat, lang_address_statement_struct::section_name, and lang_address_statement_struct::segment.
Referenced by set_section_start(), and set_segment_start().
| void lang_set_flags | ( | lang_memory_region_type * | , | |
| const char * | , | |||
| int | ||||
| ) |
Definition at line 4612 of file ldlang.c.
References _, einfo(), memory_region_struct::flags, memory_region_struct::not_flags, SEC_ALLOC, SEC_CODE, SEC_DATA, SEC_LOAD, and SEC_READONLY.
Referenced by yyparse().
| bfd_vma lang_size_sections | ( | lang_statement_union_type * | , | |
| lang_output_section_statement_type * | , | |||
| lang_statement_union_type ** | , | |||
| fill_type * | , | |||
| bfd_vma | , | |||
| bfd_boolean * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 3974 of file ldlang.c.
References bfd_section::alignment_power, _ffestd_stmt_::end, first, lang_size_sections_1(), lang_statement_iteration, last, link_info, bfd_section::next, output_bfd, bfd_link_info::relro, bfd_link_info::relro_end, bfd_link_info::relro_start, result, sec, bfd::sections, and bfd_section::vma.
Referenced by lang_process(), pe_dll_fill_sections(), and pe_exe_fill_sections().
| void lang_startup | ( | const char * | ) |
Definition at line 5231 of file ldlang.c.
References _, einfo(), lang_input_statement_struct::filename, lang_input_statement_struct::local_sym_name, NULL, lang_input_statement_struct::real, startup_file, and TRUE.
Referenced by yyparse().
| void lang_statement_append | ( | lang_statement_list_type * | , | |
| lang_statement_union_type * | , | |||
| lang_statement_union_type ** | ||||
| ) |
Definition at line 5365 of file ldlang.c.
References statement_list::tail.
Referenced by lang_output_section_statement_lookup_1(), ldlang_add_file(), new_afile(), and new_statement().
| int lang_symbol_definition_iteration | ( | const char * | ) |
Definition at line 2504 of file ldlang.c.
References bfd_hash_lookup(), FAIL, FALSE, lang_definedness_hash_entry::iteration, lang_definedness_table, and NULL.
Referenced by fold_name().
| void lang_track_definedness | ( | const char * | ) |
Definition at line 2472 of file ldlang.c.
References _, bfd_hash_lookup(), einfo(), FALSE, lang_definedness_table, NULL, and TRUE.
Referenced by fold_name().
| void lang_update_definedness | ( | const char * | , | |
| struct bfd_link_hash_entry * | ||||
| ) |
Definition at line 2522 of file ldlang.c.
References bfd_hash_lookup(), bfd_link_hash_common, bfd_link_hash_new, bfd_link_hash_undefined, FALSE, lang_definedness_hash_entry::iteration, lang_definedness_table, lang_statement_iteration, NULL, and bfd_link_hash_entry::type.
Referenced by exp_fold_tree().
| void ldlang_add_file | ( | lang_input_statement_type * | ) |
Definition at line 4678 of file ldlang.c.
References ASSERT, bfd_map_over_sections(), bfd_set_gp_size(), g_switch_value, bfd_link_info::input_bfds, lang_statement_append(), link_info, bfd::link_next, NULL, output_bfd, and section_already_linked().
Referenced by add_archive_element(), add_bfd_to_link(), build_filler_bfd(), and load_symbols().
| void ldlang_add_undef | ( | const char * | const | ) |
Definition at line 2559 of file ldlang.c.
References insert_undefined(), ldlang_undef_chain_list_head, NULL, output_bfd, stat_alloc(), and xstrdup().
Referenced by parse_args(), and yyparse().
Definition at line 160 of file ldlang.c.
References obstack_alloc, and stat_obstack.
Referenced by exp_assert(), exp_assop(), exp_bigintop(), exp_binop(), exp_intop(), exp_nameop(), exp_provide(), exp_relop(), exp_trinop(), exp_unop(), init_map_userdata(), init_os(), insert_pad(), lang_memory_region_lookup(), lang_new_phdr(), ldlang_add_undef(), new_afile(), new_statement(), and set_segment_start().
| bfd_boolean unique_section_p | ( | const asection * | ) |
Definition at line 166 of file ldlang.c.
References bfd_is_group_section, FALSE, fnmatch(), link_info, unique_sections::name, bfd_section::name, unique_sections::next, NULL, bfd_section::owner, bfd_link_info::relocatable, strcmp(), TRUE, and wildcardp.
Referenced by check_section_callback(), and output_section_callback().
Definition at line 123 of file ldlang.c.
Referenced by exp_binop(), exp_fold_tree(), exp_get_abs_int(), exp_get_fill(), exp_get_vma(), exp_unop(), fold_binary(), fold_name(), fold_unary(), make_abs(), new_abs(), pe_dll_fill_sections(), and pe_exe_fill_sections().
Definition at line 139 of file ldlang.c.
Referenced by _ALLOCATE(), _cntig_chk(), _cpp_simplify_pathname(), _cpp_valid_ucn(), _DEALLOC(), _DEALLOCATE(), ANL_LOOP_CONSTRUCT::_First_Loop_Stmt(), ANL_REGION_CONSTRUCT::_First_Region_Stmt(), ANL_LOOP_CONSTRUCT::_Last_Loop_Stmt(), ANL_REGION_CONSTRUCT::_Last_Region_Stmt(), ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), _REALLOC(), _unpack_arry(), access_can_touch_variable(), add_address_candidates(), CODEMAP::Add_expr(), add_fdes(), add_iv_value_candidates(), PF_LOOPNODE::Add_Ref(), add_to_sequence(), add_vcall_offset(), addr_base_offset(), KEY_SCH::Addr_Generation(), adjust_result_of_qualified_name_lookup(), aligned_memory_operand(), alpha_build_builtin_va_list(), alpha_build_va_list(), alpha_gimplify_va_arg(), analyze_addressof_ty_being_split(), Analyze_OP_For_Unwind_Info(), POINTS_TO::Analyze_ST(), annotate_constant_pool_refs(), Append_Distribution(), apply_macro_to_string(), AR_convert_hex_str_to_float(), AR_INTRIN2(), ARA_REF::ARA_REF(), arc_print_operand_address(), arm_gen_rotated_half_load(), arm_legitimize_address(), arm_reload_in_hi(), arm_reload_out_hi(), aux_compute_alignment(), avr_override_options(), Base_Symbol(), Base_Symbol_And_Offset(), Base_Symbol_And_Offset_For_Addressing(), basename(), bfd_elf_final_link(), binary_search_single_encoding_fdes(), bsearch(), build_addr(), build_anon_union_vars(), ARRAY_REF::Build_Array(), Build_Class_Hierarchy(), build_fold_addr_expr_with_type(), build_insn_table(), build_object_call(), TRANSPOSE_DIRECTED_GRAPH16::Build_Snl_Array(), build_static_cast(), build_static_cast_1(), build_unary_op(), c4x_check_legit_addr(), c4x_legitimate_address_p(), c_initialize_diagnostics(), CGTARG_TN_For_Asm_Operand(), Check_range(), choose_temp_base(), choose_tmpdir(), chrec_convert_1(), classify_object_over_fdes(), OPT_STAB::Collect_nested_ref_info(), comp_except_specs(), comp_target_types(), compute_bb_dataflow(), compute_object_offset(), convert_binary_literal(), convert_hex_literal(), Convert_Regs(), convert_to_string(), count_ev_in_wider_type(), cp_parser_base_clause(), cpp_interpret_integer(), cpp_interpret_string(), Create_And_Set_ST_Base(), create_file_names(), create_new_iv(), Create_ST_For_Tree(), create_unique_file(), crx_decompose_address(), cwh_io_ST_base(), cwh_stab_adjust_base_name(), cwh_stab_altentry_TY(), cxx_initialize_diagnostics(), cygwin_gt_pch_get_address(), darwin_emit_unwind_label(), Dead_Store_Eliminate_Arrays(), Delete_Unwanted_Prefetches(), dequeue_and_dump(), desc_frgr_mem(), determine_base_object(), determine_biv_step(), determine_exit_conditions(), determine_iv_cost(), dfs_base_derived_from(), dfs_find_vbase_instance(), Do_Linearize(), do_spill(), double_max_option_seen(), DRA_Make_File_Name(), DST_Create_type(), DST_enter_member_function(), DST_enter_normal_field(), DST_enter_static_data_mem(), DST_enter_struct_union_members(), dw2_asm_output_offset(), EBO_Fold_Load_Duplicate(), EBO_Lea_Insertion(), EBO_Load_Execution(), EETARG_Call_Mcount(), elf_bfd_final_link(), eliminate_regs_in_insn(), emit_notes_in_bb(), emit_restore_regs(), emit_save_or_restore_regs(), emit_save_regs(), STMTREP::Enter_lhs(), EPROP(), Exp_Immediate(), Exp_Immediate_Int(), Expand_32Bit_Int_Less(), Expand_32Bit_Int_Less_Equal(), Expand_Add(), Expand_Int_Less(), Expand_Int_Less_Equal(), Expand_Sub(), expr_iter(), extract_force_align_mem_bit_field(), fde_single_encoding_compare(), fei_exponentiate(), fei_static_base(), fei_task_var(), ffestc_R1227(), final_equivalence_semantics(), find(), find_bivs(), find_givs_in_stmt(), find_interesting_uses_address(), Find_Reduction_Array_Base(), find_reloads_subreg_address(), finish_vtbls(), fix_lexical_addr(), FIX_PROC_HEAD(), Fixup_Common(), Fold_Base(), fold_const_aggregate_ref(), fold_offsetof_1(), fold_rtx(), fold_rtx_mem_1(), fold_unary(), Formal_Sym(), FPROP(), frv_hard_regno_mode_ok(), frv_index_memory(), gather_memory_references_ref(), gen_bypass(), Gen_Post_Incr_Memop(), generate_classfile(), get_address_cost(), get_aligned_mem(), Get_callee(), get_charset_aliases(), Get_element_mtype(), Get_element_ty(), Get_MP_modref(), Get_ST_Base(), Get_TN_Value(), get_unaligned_address(), ggc_allocated_p(), ggc_pch_this_base(), gimplify_omp_atomic_fetch_op(), REGION_BOUND::GRB_formal_ref(), hash_c_test(), hppa_expand_prologue(), hppa_legitimize_address(), i960_address_cost(), i960_va_arg(), i960_va_start(), ia64_split_timode(), ia64_split_tmode(), ia64_split_tmode_move(), Identify_and_delete_incr(), init_alias_analysis(), initialize_argument_information(), instantiate_class_template(), instantiate_element(), BB_LOOP::Invariant_cr_rec(), IP_READ_pu_infos(), IPO_Pad_Arrays(), Is_Allocated(), is_call_clobbered_ref(), Is_Common_Based_Symbol(), Is_Control_Speculation_Gratuitous(), Is_Local_Array_Reference(), ix86_decompose_address(), ix86_split_long_move(), java_get_line_col(), lambda_lattice_compute_base(), lbasename(), legitimate_address_p(), legitimize_address(), legitimize_pic_address(), legitimize_tls_address(), lex_number(), linear_search_fdes(), load_multiple_operation(), look_for_casts(), lookup_page_table_entry(), lower_bit_field_id(), lower_complex_expr(), lower_split_sym_addrs(), POINTS_TO::Lower_to_base(), lower_uplevel_reference(), m32c_print_operand(), m32r_legitimize_pic_address(), m32r_print_operand_address(), m68hc11_reload_operands(), m68hc11_small_indexed_indirect_p(), m68hc11_valid_addressing_p(), m88k_va_arg(), machopic_indirect_data_reference(), machopic_legitimize_pic_address(), main(), make_ii_file_name(), make_rii_file_name(), OPT_STAB::Make_st_group(), make_temp_file(), may_be_unaligned_p(), mcore_print_operand_address(), mdx_epilogue(), MEM_LARGE_BLOCK_realloc(), mem_min_alignment(), memory_address_length(), merge_types(), mf_xform_derefs_1(), mips16_optimize_gp(), mips_cannot_force_const_mem(), mips_expand_epilogue(), mips_legitimize_const_move(), mips_output_function_prologue(), mips_unspec_address(), MIR_Build_Loop_List_Array(), mpw_basename(), mpw_mixed_basename(), mri_base(), mri_draw_tree(), mri_load(), new_buff(), new_class_binding(), New_DACT(), New_Gather_References(), RVI_NODE::New_home_wn(), nlm_sparc_write_import(), nonlocal_mentioned_p_1(), object_analysis(), Offset_From_Base_Symbol(), Op_In_Working_Set(), open_files(), compress_path::operator()(), transfer_attributes_as_needed::operator()(), out_movhi_mr_r(), out_movhi_r_mr(), out_movsi_mr_r(), out_movsi_r_mr(), output_global_address(), output_restore_regs(), output_toc(), Pad_Arrays(), Pad_Local_Arrays_In_Whirl(), parse_identifier(), parse_line_table(), parse_number(), parse_slow(), pe_print_edata(), REGION_STRIDE_PREFETCH::Phased_Multi_Stride_Ins(), ARRAY_DIRECTED_GRAPH16::Print(), Print_Feedback_Info(), print_operand(), print_operand_address(), print_operand_reloc(), print_relative_path(), print_shift_count_operand(), SUMMARIZE< program >::Process_procedure(), process_set(), Process_Stack_Variable(), Promote_Pointer(), COPYPROP::Propagatable(), read_count_file(), read_graph_file(), Read_isr_cg(), Read_Pragma_Data_Affinity(), real_nan(), Record_unknown_memory_op(), register_indirect_p(), reload_combine(), resolve_offset_ref(), rs6000_override_options(), s390_decompose_address(), s390_optimize_prologue(), Scalarize_Arrays(), ACCESS_ARRAY::Set_Array(), set_mem_attributes_minus_bitpos(), set_page_table_entry(), Set_Reduction_Array_Base_is_shared_auto(), sort_mem_initializers(), sparc_nonflat_function_prologue(), sparc_output_addr_diff_vec(), Split_Common_Block(), ST_alignment(), ST_Block_Merge(), St_Block_Union(), ST_is_const_initialized_scalar(), ST_on_stack(), ST_Source_COMMON_Block(), store_killed_in_insn(), store_multiple_operation(), REGION_STRIDE_PREFETCH::Strong_Single_Stride_Ins(), synthesize_exception_spec(), TEST_FOR_FIX_PROC_HEAD(), thumb_load_double_from_address(), tree_could_trap_p(), tree_expr_nonzero_p(), tree_expr_nonzero_warnv_p(), true_dependence(), true_regnum(), tsubst_copy(), unaligned_memory_operand(), update_alias_info(), use_anchored_address(), va_list_counter_struct_op(), vect_analyze_data_refs(), vect_compute_data_ref_alignment(), vect_object_analysis(), vfp_output_fstmx(), vrp_expr_computes_nonzero(), vt_initialize(), walk_rtx(), WFE_Start_Function(), WGEN_Start_Function(), WN2F_String_Argument(), WN_get_global_symtab(), WN_get_PU_Infos(), WN_get_symtab(), write_dependence_p(), write_integer_cst(), xref_basetypes(), xstormy16_expand_builtin_va_arg(), xstormy16_expand_builtin_va_start(), and xt_true_regnum().
| bfd_boolean delete_output_file_on_failure |
| bfd_boolean entry_from_cmdline |
| const char* entry_section |
| bfd_boolean lang_has_input_file |
Definition at line 130 of file ldlang.c.
Referenced by lang_add_input_file(), lang_add_wild(), main(), and new_afile().
Definition at line 137 of file ldlang.c.
Referenced by fold_name(), lang_do_assignments(), lang_init(), lang_size_sections(), and lang_update_definedness().
Definition at line 134 of file ldlang.c.
Referenced by check_local_sym_xref(), check_nocrossref(), main(), and notice().
Definition at line 125 of file ldlang.c.
Referenced by ldctor_build_sets(), pe_dll_fill_sections(), and pe_exe_fill_sections().
1.5.6