Lines Matching defs:bfd_section
1437 abs_output_section->bfd_section = bfd_abs_section_ptr;
1725 if (look->bfd_section != NULL)
1727 look_flags = look->bfd_section->flags;
1729 look->bfd_section,
1752 if (look->bfd_section != NULL)
1754 look_flags = look->bfd_section->flags;
1756 look->bfd_section,
1773 if (look->bfd_section != NULL)
1775 look_flags = look->bfd_section->flags;
1777 look->bfd_section,
1801 if (look->bfd_section != NULL)
1802 look_flags = look->bfd_section->flags;
1830 if (look->bfd_section != NULL)
1832 look_flags = look->bfd_section->flags;
1834 look->bfd_section,
1853 if (look->bfd_section != NULL)
1855 look_flags = look->bfd_section->flags;
1857 look->bfd_section,
1873 if (look->bfd_section != NULL)
1875 look_flags = look->bfd_section->flags;
1877 look->bfd_section,
1892 if (look->bfd_section != NULL)
1893 look_flags = look->bfd_section->flags;
1920 if (lookup->bfd_section != NULL)
1921 return lookup->bfd_section;
1983 asection *s = (*where)->output_section_statement.bfd_section;
2060 if (after != NULL && os->bfd_section != NULL)
2066 snew = os->bfd_section;
2073 asection *bfd_section = after->bfd_section;
2076 sections (and thus doesn't have an output bfd_section),
2079 if (bfd_section == NULL)
2080 bfd_section = output_prev_sec_find (after);
2082 if (bfd_section != NULL
2083 && bfd_section->owner != NULL
2084 && bfd_section != snew)
2085 place->section = &bfd_section->next;
2208 if (stmt->bfd_section == after_sec)
2220 if (next && next->bfd_section == after_sec)
2237 if (stmt->bfd_section == after_sec)
2248 if (stmt->next->bfd_section == after_sec)
2538 s->bfd_section = bfd_get_section_by_name (link_info.output_bfd, s->name);
2539 if (s->bfd_section == NULL)
2540 s->bfd_section = bfd_make_section_anyway_with_flags (link_info.output_bfd,
2542 if (s->bfd_section == NULL)
2548 s->bfd_section->output_section = s->bfd_section;
2549 s->bfd_section->output_offset = 0;
2553 bfd_set_section_userdata (s->bfd_section, s);
2565 s->bfd_section->alignment_power = exp_get_power (s->section_alignment, s,
2625 if (os != NULL && os->bfd_section == NULL)
2747 if (section->output_section == output->bfd_section)
2750 if (link_info.non_contiguous_regions_warnings && output->bfd_section)
2755 output->bfd_section);
2851 if (output->bfd_section == NULL)
2856 output->bfd_section->flags &= flags | ~SEC_READONLY;
2858 if (output->bfd_section->linker_has_input)
2864 if ((output->bfd_section->flags & (SEC_MERGE | SEC_STRINGS))
2867 && output->bfd_section->entsize != section->entsize))
2869 output->bfd_section->flags &= ~ (SEC_MERGE | SEC_STRINGS);
2873 output->bfd_section->flags |= flags;
2875 if (!output->bfd_section->linker_has_input)
2877 output->bfd_section->linker_has_input = 1;
2883 output->bfd_section,
2886 output->bfd_section->entsize = section->entsize;
2900 && strcmp (output->bfd_section->name, ".init_array") == 0)
2902 && strcmp (output->bfd_section->name, ".fini_array") == 0))
2906 if (section->alignment_power > output->bfd_section->alignment_power)
2907 output->bfd_section->alignment_power = section->alignment_power;
2909 section->output_section = output->bfd_section;
2913 asection *s = output->bfd_section->map_tail.s;
2914 output->bfd_section->map_tail.s = section;
2920 output->bfd_section->map_head.s = section;
4421 if (os->bfd_section == NULL)
4424 os->bfd_section->flags |= flags;
4425 os->bfd_section->type = type;
4434 if (os != NULL && os->bfd_section == NULL)
4439 if (os != NULL && os->bfd_section == NULL)
4470 if (tos->bfd_section == NULL)
4595 if (os->bfd_section != NULL
4596 && os->bfd_section->owner != NULL)
4598 last_sec = os->bfd_section;
4607 asection *sec = where->bfd_section;
4730 output_section = os->bfd_section;
4759 /* We don't set bfd_section to NULL since bfd_section of the
4790 output_section = os->bfd_section;
4808 asection *section = output_section_statement->bfd_section;
4868 osec = output_section->bfd_section;
5575 asection *o = output_section_statement->bfd_section;
5905 os->bfd_section->owner,
5906 os->bfd_section->name,
5914 os->bfd_section->owner,
5915 os->bfd_section->name,
5976 init_opb (os->bfd_section);
6004 if (os->bfd_section == NULL)
6016 && (os->bfd_section->flags & SEC_COFF_SHARED_LIBRARY) != 0)
6028 bfd_set_section_vma (os->bfd_section,
6030 if (!(os->bfd_section->flags & SEC_FIXED_SIZE))
6031 os->bfd_section->size = input->size;
6037 if (bfd_is_abs_section (os->bfd_section))
6040 ASSERT (os->bfd_section->vma == 0);
6049 || ((os->bfd_section->flags & (SEC_ALLOC | SEC_LOAD))
6054 os->region = lang_memory_default (os->bfd_section);
6061 && !IGNORE_SECTION (os->bfd_section)
6084 bfd_section_name (os->bfd_section));
6088 bfd_section_name (os->bfd_section));
6092 section_alignment = os->bfd_section->alignment_power;
6113 diff = newdot - os->bfd_section->vma;
6125 bfd_set_section_vma (os->bfd_section, newdot);
6127 os->bfd_section->output_offset = 0;
6135 if (bfd_is_abs_section (os->bfd_section) || os->ignored)
6141 ASSERT (os->bfd_section->size == 0);
6144 dot = os->bfd_section->vma;
6149 + TO_ADDR (os->bfd_section->size)
6153 if (!(os->bfd_section->flags & SEC_FIXED_SIZE))
6154 os->bfd_section->size = TO_SIZE (after
6155 - os->bfd_section->vma);
6166 os->bfd_section->lma = lma;
6188 os->bfd_section->lma = lma;
6191 && (os->bfd_section->flags & SEC_ALLOC) != 0)
6196 last = r->last_os->output_section_statement.bfd_section;
6203 && os->bfd_section->size != 0
6204 && dot + TO_ADDR (os->bfd_section->size) <= last->vma)
6226 lma = os->bfd_section->vma + last->lma - last->vma;
6230 os->bfd_section->lma = lma;
6249 if (((!IGNORE_SECTION (os->bfd_section)
6250 && (os->bfd_section->size != 0
6252 && os->bfd_section->vma != os->bfd_section->lma)
6255 .bfd_section->vma))))
6261 if (bfd_is_abs_section (os->bfd_section) || os->ignored)
6265 if (!IS_TBSS (os->bfd_section)
6267 dotdelta = TO_ADDR (os->bfd_section->size);
6280 && (os->bfd_section->flags & (SEC_ALLOC | SEC_LOAD)))
6287 os->bfd_section->vma);
6290 && ((os->bfd_section->flags & SEC_LOAD)
6293 os->lma_region->current = os->bfd_section->lma + dotdelta;
6297 os->bfd_section->lma);
6312 s->data_statement.output_offset = dot - current_os->bfd_section->vma;
6313 s->data_statement.output_section = current_os->bfd_section;
6341 if (!(current_os->bfd_section->flags & SEC_FIXED_SIZE))
6342 current_os->bfd_section->size
6343 = TO_SIZE (dot - current_os->bfd_section->vma);
6353 = dot - current_os->bfd_section->vma;
6355 = current_os->bfd_section;
6358 if (!(current_os->bfd_section->flags & SEC_FIXED_SIZE))
6359 current_os->bfd_section->size
6360 = TO_SIZE (dot - current_os->bfd_section->vma);
6371 link_info.create_object_symbols_section = current_os->bfd_section;
6372 current_os->bfd_section->flags |= SEC_KEEP;
6401 s->fill_statement.output_section = current_os->bfd_section;
6413 exp_fold_tree (tree, os, current_os->bfd_section, &newdot);
6441 current_os->bfd_section, dot);
6454 current_os->bfd_section->flags |= SEC_ALLOC;
6475 = dot - current_os->bfd_section->vma;
6745 init_opb (os->bfd_section);
6747 if (os->bfd_section != NULL)
6749 if (!os->ignored && (os->bfd_section->flags & SEC_ALLOC) != 0)
6754 newdot = os->bfd_section->vma;
6760 if (os->bfd_section != NULL)
6762 newdot = os->bfd_section->vma;
6765 if (!IS_TBSS (os->bfd_section)
6767 newdot += TO_ADDR (os->bfd_section->size);
6866 (current_os->bfd_section != NULL
6867 ? current_os->bfd_section : bfd_und_section_ptr),
6938 && (os->bfd_section == NULL
6939 || (os->bfd_section->flags & SEC_EXCLUDE) != 0
6941 os->bfd_section)))
6947 s = os->bfd_section;
6961 s = current_section->bfd_section;
9169 || os->bfd_section == NULL
9170 || (os->bfd_section->flags & SEC_ALLOC) == 0)
9201 if (os->bfd_section == NULL)
9214 secs[c] = os->bfd_section;
9247 || os->bfd_section == NULL)