Lines Matching defs:section

53    section.  */
690 /* 16-bit section relative relocation. */
705 /* 16-bit lower half section relative relocation. */
720 /* 16-bit upper half section relative relocation. */
735 /* 16-bit upper half adjusted section relative relocation. */
1261 address in the .sdata section, and returning the offset from
1278 address in the .sdata2 section, and returning the offset from
1647 if (bfd_is_com_section (symbol->section))
1652 relocation += symbol->section->output_section->vma;
1653 relocation += symbol->section->output_offset;
1694 /* Pointer to the bfd section. */
1695 asection *section;
1698 /* Associated bss section name. */
1714 /* offset of pointer from beginning of section */
1718 /* which linker section this is */
1816 /* Make a ".reg/999" section. */
1897 /* Return address for Ith PLT stub in section PLT, for relocation REL
1908 /* Handle a PowerPC specific section when reading an object file. This
1909 is called when bfd_section_from_shdr finds a section with an unknown
1936 /* Set up any other section flags and such that may be necessary. */
1953 need to bump up the number of section headers. */
1974 .PPC.EMB.sbss0 a normal section, and not a bss section so
2140 /* Just make sure that the output section exists as well. */
2166 error_message = _("corrupt or empty %s section in %B");
2173 error_message = _("unable to read in %s section from %B");
2177 /* Process the contents of the section. */
2179 error_message = _("corrupt %s section in %B");
2200 /* Make sure that we do not run off the end of the section. */
2204 /* Scan the apuinfo section, building a list of apuinfo numbers. */
2214 /* Compute the size of the output section. */
2222 error_message = _("warning: unable to set size of %s section in %B");
2231 /* Prevent the output section from accumulating the input sections'
2244 /* Finally we can generate the output section. */
2270 (_("failed to allocate space for new APUinfo section."));
2289 (*_bfd_error_handler) (_("failed to compute new APUinfo section."));
2292 (*_bfd_error_handler) (_("failed to install new APUinfo section."));
2317 /* The input section of the reloc. */
2320 /* Total number of relocs copied for the input section. */
2323 /* Number of pc-relative relocs copied for the input section. */
2339 /* The .got2 section. */
2366 section, and instead use a dynamic relocation to point into the
2378 from the beginning of the section. */
2426 /* The .got.plt section (VxWorks only)*/
2465 /* Small local sym to section mapping cache. */
2642 /* The VxWorks PLT is a loaded section with contents. */
2667 list. Merge any entries against the same section. */
2828 /* Create a special linker section. */
2852 lsect->section = s;
2872 /* Allocate a pointer to live in a linker created section. */
2930 /* Allocate space for a pointer in the linker section, and allocate
2944 linker_section_ptr->offset = lsect->section->size;
2945 lsect->section->size += 4;
2949 "Create pointer in linker section %s, offset = %ld, section size = %ld\n",
2951 (long) lsect->section->size);
3033 /* Look through the relocs for a section during the first phase, and
3063 _bfd_error_handler ("ppc_elf_check_relocs called for section %A in %B",
3177 if (htab->sdata[0].section == NULL
3198 if (htab->sdata[1].section == NULL
3323 section relative. */
3811 /* The new PLT is a loaded section. */
3823 /* Stop an unused .glink section from affecting .text alignment. */
3832 /* Return the section that should be marked against GC for a given
3854 section being removed. */
4209 regular object. The current definition is in some section of the
4275 h->root.u.def.section = h->u.weakdef->root.u.def.section;
4325 /* We must allocate the symbol in our .dynbss section, which will
4326 become part of the .bss section of the executable. There will be
4327 an entry for this symbol in the .dynsym section. The dynamic
4347 .rela.bss section we are going to use. */
4348 if ((h->root.u.def.section->flags & SEC_ALLOC) != 0)
4406 sh->root.u.def.section = htab->glink;
4515 h->root.u.def.section = s;
4552 h->root.u.def.section = s;
4569 /* We also need to make an entry in the .rela.plt section. */
4807 /* Set the contents of the .interp section to the interpreter. */
4847 /* Input section has been discarded, either because
4848 it is a copy of a linkonce section or due to
4956 sh->root.u.def.section = htab->glink;
4971 sh->root.u.def.section = htab->glink;
5005 /* Strip this section if we don't need it; see the
5008 else if (s == htab->sdata[0].section
5009 || s == htab->sdata[1].section)
5033 /* If we don't need this section, strip it from the
5049 /* Allocate memory for the section contents. */
5057 /* Add some entries to the .dynamic section. We fill in the
5060 the .dynamic section. The DT_DEBUG entry is filled in by the
5094 /* If any dynamic relocs apply to a read-only section, then we
5283 tsec = h->root.u.def.section;
5292 /* If the branch and target are in the same section, you have
5300 attribute for a code section, and we are only looking at
5309 section symbols have been adjusted.)
5312 sections to a relocation against the section symbol when
5314 a section symbol we should include the addend in the
5318 a section symbol should not include the addend; Such an
5390 /* Record the fixup so we don't do it again this section. */
5410 /* Get the section contents. */
5519 /* Cache the section contents for elf_link_input_bfd. */
5564 /* Fill in the address for a pointer generated in a linker section. */
5604 bfd_put_32 (lsect->section->owner,
5606 lsect->section->contents + linker_section_ptr->offset);
5610 relocation = (lsect->section->output_offset
5616 "Finish pointer in linker section %s, offset = %ld (0x%lx)\n",
5626 to handle the relocations for a section.
5628 The relocs are always passed as Rela structures; if the section
5632 This function is responsible for adjust the section contents as
5642 LOCAL_SECTIONS is an array giving the section in the input file
5650 going to be the section symbol corresponding to the output
5651 section, which means that the addend must be adjusted
5677 _bfd_error_handler ("ppc_elf_relocate_section called for %B section %A, "
5743 section contents zeroed. Avoid any special processing. */
6194 /* Init the .got section contents if we're not
6443 against a section symbol. It would be
6457 printf ("indx=%ld section=%s flags=%08x name=%s\n",
6538 BFD_ASSERT (htab->sdata[0].section != NULL);
6546 BFD_ASSERT (htab->sdata[1].section != NULL);
6553 section, not the actual VMA. This is appropriate when generating
6554 an embedded ELF object, for which the .got section acts like the
6555 AIX .toc section. */
6608 "in the wrong output section (%s)"),
6616 + sh->root.u.def.section->output_offset
6617 + sh->root.u.def.section->output_section->vma);
6634 "in the wrong output section (%s)"),
6646 + sh->root.u.def.section->output_offset
6647 + sh->root.u.def.section->output_section->vma);
6669 + sh->root.u.def.section->output_offset
6670 + sh->root.u.def.section->output_section->vma);
6679 + sh->root.u.def.section->output_offset
6680 + sh->root.u.def.section->output_section->vma);
6693 "in the wrong output section (%s)"),
6713 /* Relocate against the beginning of the section. */
6949 + htab->elf.hgot->root.u.def.section->output_offset
6950 + htab->elf.hgot->root.u.def.section->output_section->vma);
6969 start of the .rela.plt section. The value is stored in the
6977 the start of the PLT section. The address of this branch
7068 /* Fill in the entry in the .rela.plt section. */
7079 the .plt section. Leave the value alone. */
7111 + htab->elf.hgot->root.u.def.section->output_section->vma
7112 + htab->elf.hgot->root.u.def.section->output_offset);
7179 + h->root.u.def.section->output_section->vma
7180 + h->root.u.def.section->output_offset);
7249 + htab->elf.hgot->root.u.def.section->output_section->vma
7250 + htab->elf.hgot->root.u.def.section->output_offset);
7337 (htab->elf.hgot->root.u.def.section->output_section->vma
7338 + htab->elf.hgot->root.u.def.section->output_offset
7666 /* VxWorks uses the elf default section flags for .plt. */