Home | History | Annotate | Download | only in bfd

Lines Matching refs:sec

225     asection *sec;
1049 if (hdh_q->sec == hdh_p->sec)
1141 asection *sec,
1162 rela_end = relocs + sec->reloc_count;
1305 if (!bfd_elf_gc_record_vtinherit (abfd, sec, &hh->eh, rela->r_offset))
1314 && !bfd_elf_gc_record_vtentry (abfd, sec, &hh->eh, rela->r_addend))
1412 if ((sec->flags & SEC_ALLOC) != 0)
1477 && (sec->flags & SEC_ALLOC) != 0
1485 && (sec->flags & SEC_ALLOC) != 0
1498 (sec, htab->etab.dynobj, 2, abfd, /*rela?*/ TRUE);
1529 sr = sec;
1536 if (hdh_p == NULL || hdh_p->sec != sec)
1543 hdh_p->sec = sec;
1566 elf32_hppa_gc_mark_hook (asection *sec,
1580 return _bfd_elf_gc_mark_hook (sec, info, rela, hh, sym);
1589 asection *sec,
1606 elf_section_data (sec)->local_dynrel = NULL;
1615 relend = relocs + sec->reloc_count;
1636 if (hdh_p->sec == sec)
1638 /* Everything must go for SEC. */
1811 asection *sec;
1886 sec = hdh_p->sec->output_section;
1887 if (sec != NULL && (sec->flags & SEC_READONLY) != 0)
1923 sec = htab->sdynbss;
1925 return _bfd_elf_adjust_dynamic_copy (info, eh, sec);
1937 asection *sec;
1974 sec = htab->splt;
1975 eh->plt.offset = sec->size;
1976 sec->size += PLT_ENTRY_SIZE;
2002 asection *sec;
2022 sec = htab->splt;
2023 eh->plt.offset = sec->size;
2024 sec->size += PLT_ENTRY_SIZE;
2043 sec = htab->sgot;
2044 eh->got.offset = sec->size;
2045 sec->size += GOT_ENTRY_SIZE;
2048 sec->size += GOT_ENTRY_SIZE * 2;
2050 sec->size += GOT_ENTRY_SIZE;
2150 asection *sreloc = elf_section_data (hdh_p->sec)->sreloc;
2187 asection *sec = hdh_p->sec->output_section;
2189 if (sec != NULL && (sec->flags & SEC_READONLY) != 0)
2211 asection *sec;
2227 sec = bfd_get_linker_section (dynobj, ".interp");
2228 if (sec == NULL)
2230 sec->size = sizeof ELF_DYNAMIC_INTERPRETER;
2231 sec->contents = (unsigned char *) ELF_DYNAMIC_INTERPRETER;
2256 for (sec = ibfd->sections; sec != NULL; sec = sec->next)
2261 elf_section_data (sec)->local_dynrel);
2265 if (!bfd_is_abs_section (hdh_p->sec)
2266 && bfd_is_abs_section (hdh_p->sec->output_section))
2275 srel = elf_section_data (hdh_p->sec)->sreloc;
2277 if ((hdh_p->sec->output_section->flags & SEC_READONLY) != 0)
2291 sec = htab->sgot;
2297 *local_got = sec->size;
2298 sec->size += GOT_ENTRY_SIZE;
2300 sec->size += 2 * GOT_ENTRY_SIZE;
2302 sec->size += GOT_ENTRY_SIZE;
2328 sec = htab->splt;
2334 *local_plt = sec->size;
2335 sec->size += PLT_ENTRY_SIZE;
2369 for (sec = dynobj->sections; sec != NULL; sec = sec->next)
2371 if ((sec->flags & SEC_LINKER_CREATED) == 0)
2374 if (sec == htab->splt)
2382 int pltalign = bfd_section_alignment (dynobj, sec);
2386 (void) bfd_set_section_alignment (dynobj, sec, gotalign);
2388 sec->size = (sec->size + sizeof (plt_stub) + mask) & ~mask;
2391 else if (sec == htab->sgot
2392 || sec == htab->sdynbss)
2394 else if (CONST_STRNEQ (bfd_get_section_name (dynobj, sec), ".rela"))
2396 if (sec->size != 0)
2400 if (sec != htab->srelplt)
2405 sec->reloc_count = 0;
2414 if (sec->size == 0)
2425 sec->flags |= SEC_EXCLUDE;
2429 if ((sec->flags & SEC_HAS_CONTENTS) == 0)
2434 sec->contents = bfd_zalloc (dynobj, sec->size);
2435 if (sec->contents == NULL)
2590 #define PREV_SEC(sec) (htab->stub_group[(sec)->id].link_sec)
2769 asection *sec;
2773 sec = hh->eh.root.u.def.section;
2780 hsh = hppa_add_stub (stub_name, sec, htab);
3106 asection *sec = NULL;
3121 sec = h->u.def.section;
3136 sec = strcmp (bfd_get_target (abfd), "elf32-hppa-netbsd") == 0
3138 if (sec != NULL)
3140 gp_val = sec->size;
3148 sec = sgot;
3149 if (sec != NULL)
3155 if (sec->size > 0x2000)
3162 sec = bfd_get_section_by_name (abfd, ".data");
3170 if (sec != NULL)
3171 h->u.def.section = sec;
3177 if (sec != NULL && sec->output_section != NULL)
3178 gp_val += sec->output_section->vma + sec->output_offset;
3823 asection *sec = htab->srelgot;
3830 loc = sec->contents;
3831 loc += sec->reloc_count++ * sizeof (Elf32_External_Rela);
4433 asection *sec;
4442 sec = htab->srelbss;
4449 loc = sec->contents + sec->reloc_count++ * sizeof (Elf32_External_Rela);