Lines Matching refs:bfd_section
485 abs_output_section->bfd_section = bfd_abs_section_ptr; in lang_init()
625 lookup->bfd_section = NULL; in lang_output_section_statement_lookup()
724 if (s->bfd_section != NULL) in init_os()
732 s->bfd_section = bfd_get_section_by_name (output_bfd, s->name); in init_os()
733 if (s->bfd_section == NULL) in init_os()
734 s->bfd_section = bfd_make_section (output_bfd, s->name); in init_os()
735 if (s->bfd_section == NULL) in init_os()
740 s->bfd_section->output_section = s->bfd_section; in init_os()
744 s->bfd_section->output_offset = 0; in init_os()
745 get_userdata (s->bfd_section) = new; in init_os()
797 if (os != NULL && os->bfd_section == NULL) in exp_init_os()
1055 if (output->bfd_section == NULL) in lang_add_section()
1058 first = ! output->bfd_section->linker_has_input; in lang_add_section()
1059 output->bfd_section->linker_has_input = 1; in lang_add_section()
1066 section->output_section = output->bfd_section; in lang_add_section()
1123 output->bfd_section->flags &= ~SEC_ALLOC; in lang_add_section()
1126 output->bfd_section->flags &= ~SEC_LOAD; in lang_add_section()
1127 output->bfd_section->flags |= SEC_NEVER_LOAD; in lang_add_section()
1135 if (section->alignment_power > output->bfd_section->alignment_power) in lang_add_section()
1136 output->bfd_section->alignment_power = section->alignment_power; in lang_add_section()
1140 output->bfd_section->alignment_power = output->section_alignment; in lang_add_section()
2110 && output_section_statement->bfd_section == NULL) in map_input_to_output_sections()
2115 && output_section_statement->bfd_section == NULL) in map_input_to_output_sections()
2132 if (os->bfd_section == NULL) in map_input_to_output_sections()
2158 s = os->bfd_section; in strip_excluded_output_sections()
2163 os->bfd_section = NULL; in strip_excluded_output_sections()
2180 asection *section = output_section_statement->bfd_section; in print_output_section_statement()
2239 value = result.value + result.section->bfd_section->vma; in print_assignment()
2738 o = output_section_statement->bfd_section; in size_input_section()
2763 i->output_offset = i->vma - output_section_statement->bfd_section->vma; in size_input_section()
2852 os->bfd_section->owner, in os_region_check()
2853 os->bfd_section->name, in os_region_check()
2860 os->bfd_section->owner, in os_region_check()
2861 os->bfd_section->name); in os_region_check()
2891 if (os->bfd_section == NULL) in lang_size_sections_1()
2899 if ((os->bfd_section->flags & SEC_COFF_SHARED_LIBRARY) != 0) in lang_size_sections_1()
2910 bfd_set_section_vma (os->bfd_section->owner, in lang_size_sections_1()
2911 os->bfd_section, in lang_size_sections_1()
2913 os->bfd_section->_raw_size = input->_raw_size; in lang_size_sections_1()
2917 if (bfd_is_abs_section (os->bfd_section)) in lang_size_sections_1()
2920 ASSERT (os->bfd_section->vma == 0); in lang_size_sections_1()
2929 || (((bfd_get_section_flags (output_bfd, os->bfd_section) in lang_size_sections_1()
2934 os->region = lang_memory_default (os->bfd_section); in lang_size_sections_1()
2940 if (!IGNORE_SECTION (output_bfd, os->bfd_section) in lang_size_sections_1()
2961 os->bfd_section)); in lang_size_sections_1()
2965 os->bfd_section)); in lang_size_sections_1()
2976 os->bfd_section->alignment_power); in lang_size_sections_1()
2998 dot = r.value + r.section->bfd_section->vma; in lang_size_sections_1()
3007 bfd_set_section_vma (0, os->bfd_section, dot); in lang_size_sections_1()
3009 os->bfd_section->output_offset = 0; in lang_size_sections_1()
3017 after = ((os->bfd_section->vma in lang_size_sections_1()
3018 + TO_ADDR (os->bfd_section->_raw_size) in lang_size_sections_1()
3022 if (bfd_is_abs_section (os->bfd_section)) in lang_size_sections_1()
3023 ASSERT (after == os->bfd_section->vma); in lang_size_sections_1()
3025 os->bfd_section->_raw_size in lang_size_sections_1()
3026 = TO_SIZE (after - os->bfd_section->vma); in lang_size_sections_1()
3028 dot = os->bfd_section->vma; in lang_size_sections_1()
3030 if ((os->bfd_section->flags & SEC_HAS_CONTENTS) != 0 in lang_size_sections_1()
3031 || (os->bfd_section->flags & SEC_THREAD_LOCAL) == 0 in lang_size_sections_1()
3033 dot += TO_ADDR (os->bfd_section->_raw_size); in lang_size_sections_1()
3050 && ((bfd_get_section_flags (output_bfd, os->bfd_section) in lang_size_sections_1()
3052 || (bfd_get_section_flags (output_bfd, os->bfd_section) in lang_size_sections_1()
3060 os->bfd_section->vma); in lang_size_sections_1()
3072 TO_ADDR (os->bfd_section->_raw_size); in lang_size_sections_1()
3075 os->bfd_section->lma); in lang_size_sections_1()
3093 dot - output_section_statement->bfd_section->vma; in lang_size_sections_1()
3095 output_section_statement->bfd_section; in lang_size_sections_1()
3123 output_section_statement->bfd_section->_raw_size += size; in lang_size_sections_1()
3126 output_section_statement->bfd_section->flags |= SEC_HAS_CONTENTS; in lang_size_sections_1()
3129 output_section_statement->bfd_section->flags |= in lang_size_sections_1()
3140 dot - output_section_statement->bfd_section->vma; in lang_size_sections_1()
3142 output_section_statement->bfd_section; in lang_size_sections_1()
3145 output_section_statement->bfd_section->_raw_size += size; in lang_size_sections_1()
3160 output_section_statement->bfd_section; in lang_size_sections_1()
3192 output_section_statement->bfd_section; in lang_size_sections_1()
3220 output_section_statement->bfd_section, dot); in lang_size_sections_1()
3230 output_section_statement->bfd_section->flags |= SEC_ALLOC; in lang_size_sections_1()
3251 = dot - output_section_statement->bfd_section->vma; in lang_size_sections_1()
3349 if (os->bfd_section != NULL) in lang_do_assignments_1()
3351 dot = os->bfd_section->vma; in lang_do_assignments_1()
3353 dot = (os->bfd_section->vma in lang_do_assignments_1()
3354 + TO_ADDR (os->bfd_section->_raw_size)); in lang_do_assignments_1()
3361 if (os->bfd_section) in lang_do_assignments_1()
3363 os->bfd_section->lma in lang_do_assignments_1()
3395 = value.value + value.section->bfd_section->vma; in lang_do_assignments_1()
4726 || os->bfd_section == NULL in lang_record_phdrs()
4727 || (os->bfd_section->flags & SEC_ALLOC) == 0) in lang_record_phdrs()
4732 if (os->bfd_section == NULL) in lang_record_phdrs()
4744 secs[c] = os->bfd_section; in lang_record_phdrs()
4778 if (u->output_section_statement.bfd_section == NULL) in lang_record_phdrs()