Home | History | Annotate | Download | only in bfd

Lines Matching defs:section

826   /* The stub section.  */
832 /* Given the symbol's value and its section we can determine its final
846 stub sections, the first input section in the group. */
868 /* The input section of the reloc. */
871 /* Total number of relocs copied for the input section. */
874 /* Number of pc-relative relocs copied for the input section. */
937 /* These are the section to which stubs in the group will be
941 or after the real section.*/
988 section. */
1031 /* Install 16-bit immediate value VALUE at offset OFFSET into section SEC. */
1044 section SEC. */
1095 /* Make a ".reg/999" section. */
1200 /* Section name for stubs is the associated section name plus this
1259 /* If this input section is part of a group of sections sharing one
1260 stub section, then use the id of the first/last section in the group,
1261 depending on the stub section placement relative to the group.
1262 Stub names need to include a section id, as there may well be
1301 asection *section,
1313 link_sec = htab->stub_group[section->id].first_sec;
1314 secptr = &(htab->stub_group[section->id].first_stub_sec);
1320 link_sec = htab->stub_group[section->id].last_sec;
1321 secptr = &(htab->stub_group[section->id].last_stub_sec);
1358 section->owner,
1370 for each output section included in the link. Returns -1 on error,
1378 asection *section;
1383 /* Count the number of input BFDs and find the top input section id. */
1389 for (section = input_bfd->sections;
1390 section
1391 section = section->next)
1393 if (top_id < section->id)
1394 top_id = section->id;
1406 section index as some sections may have been removed, and
1408 for (section = output_bfd->sections, top_index = 0;
1409 section != NULL;
1410 section = section->next)
1412 if (top_index < section->index)
1413 top_index = section->index;
1430 for (section = output_bfd->sections;
1431 section != NULL;
1432 section = section->next)
1436 if (((section->flags & SEC_CODE) != 0) ||
1437 strcmp(".ctors", section->name) ||
1438 strcmp(".dtors", section->name))
1439 input_list[section->index] = NULL;
1445 /* The linker repeatedly calls this function for each input section,
1487 a group to span more than one output section, since different output
1497 for the first section that begins in the same memory segment,
1512 /* This section spans more than one memory segment, or is
1585 in the end section, only the first instruction of the last stub
1607 neither the beginning nor end works if we have an input section
1615 allocate a stub at the beginning of the section on one pass and
1619 so code size and section addresses can only increase with each
1623 stub section accessible from the call site and not just the
1678 we know stub section sizes. */
1749 /* Determine and set the size of the stub section for a final link. */
1765 /* FIXME: We only compute the section groups once. This could cause
1766 problems if adding a large stub section causes following sections,
1789 asection *section;
1799 /* Walk over each section attached to the input bfd. */
1800 for (section = input_bfd->sections;
1801 section != NULL;
1802 section = section->next)
1808 if ((section->flags & SEC_RELOC) == 0
1809 || section->reloc_count == 0)
1812 /* If this section is a link-once section that will be
1814 if (section->output_section == NULL
1815 || section->output_section->owner != output_bfd)
1820 = _bfd_elf_link_read_relocs (input_bfd, section, NULL, NULL,
1827 irelaend = irela + section->reloc_count;
1847 if (elf_section_data (section)->relocs == NULL)
1857 section. */
1899 sym_sec = hh->root.root.u.def.section;
1929 stub_type = nios2_type_of_stub (section, irela, hh, htab,
1936 id_sec = htab->stub_group[section->id].first_sec;
1938 id_sec = htab->stub_group[section->id].last_sec;
1956 hsh = nios2_add_stub (stub_name, section, htab, stub_type);
1971 if (elf_section_data (section)->relocs == NULL)
2178 if (bfd_is_und_section (symbol->section) && !relocatable)
2190 *pgp = symbol->section->output_section->vma + 0x4000;
2388 changes in size of section don't screw up .align. */
2424 + symbol->section->output_section->vma
2425 + symbol->section->output_offset),
2452 + symbol->section->output_section->vma
2453 + symbol->section->output_offset),
2480 + symbol->section->output_section->vma
2481 + symbol->section->output_offset),
2506 (symbol->value + symbol->section->output_section->vma
2507 + symbol->section->output_offset),
2532 (symbol->value + symbol->section->output_section->vma
2533 + symbol->section->output_offset),
2560 + symbol->section->output_section->vma
2561 + symbol->section->output_offset),
2588 + symbol->section->output_section->vma
2589 + symbol->section->output_offset),
2617 + symbol->section->output_section->vma
2618 + symbol->section->output_offset);
2663 + symbol->section->output_section->vma
2664 + symbol->section->output_offset),
2690 + symbol->section->output_section->vma
2691 + symbol->section->output_offset),
2717 + symbol->section->output_section->vma
2718 + symbol->section->output_offset),
2942 /* If we've created a .plt section, and assigned a PLT entry
3560 Convert NIOS2 specific section flags to bfd internal section flags. */
3571 Set the correct type for an NIOS2 ELF section. We do this by the
3572 section name, which is a hack, but ought to work. */
3674 list. Merge any entries against the same section. */
3710 Look through the relocs for a section during the first phase. */
3801 /* Create the .got section. */
3913 /* If this reloc is in a read-only section, we might
3915 stage whether the section is read-only, as input
3943 section in dynobj and make room for this reloc. */
4006 Return the section that should be marked against GC for a given
4026 Update the got entry reference counts for the section being removed. */
4205 /* Fill in the entry in the .rela.plt section. */
4215 the .plt section. Leave the value alone. */
4300 + h->root.u.def.section->output_section->vma
4301 + h->root.u.def.section->output_offset);
4460 regular object. The current definition is in some section of the
4486 when we know the address of the .got section. */
4517 h->root.u.def.section = h->u.weakdef->root.u.def.section;
4543 /* We must allocate the symbol in our .dynbss section, which will
4544 become part of the .bss section of the executable. There will be
4545 an entry for this symbol in the .dynsym section. The dynamic
4558 .rela.bss section we are going to use. */
4559 if ((h->root.u.def.section->flags & SEC_ALLOC) != 0)
4570 if (align2 > h->root.u.def.section->alignment_power)
4571 align2 = h->root.u.def.section->alignment_power;
4579 /* Define the symbol as being at this point in the section. */
4580 h->root.u.def.section = s;
4583 /* Increment the section size to make room for the symbol. */
4610 if (htab->root.splt == h->root.u.def.section)
4673 h->root.u.def.section = s;
4680 /* We also need to make an entry in the .rela.plt section. */
4683 /* And the .got.plt section. */
4871 /* Set the contents of the .interp section to the interpreter. */
4882 /* We may have created entries in the .rela.got section.
4915 /* Input section has been discarded, either because
4916 it is a copy of a linkonce section or due to
4979 /* If the .got section is more than 0x8000 bytes, we add
5000 /* It's OK to base decisions on the section name, because none
5001 of the dynobj section names depend upon the input files. */
5035 /* If we don't need this section, strip it from the
5051 /* Allocate memory for the section contents. */
5053 Unused entries should be reclaimed before the section's contents
5055 order to prevent writing out garbage, we initialize the section's
5069 /* Add some entries to the .dynamic section. We fill in the
5072 the .dynamic section. The DT_DEBUG entry is filled in by the
5225 shared libraries into pcrel within the given input section. */
5233 /* We can't use PC-relative encodings in the .eh_frame section. */