• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/bfd/

Lines Matching defs:section

109   /* The offset from the beginning of the .got section to the entry
254 a readonly section. */
264 16 bit function, this points to the section containing the stub. */
272 32 bit function, this points to the section containing the stub. */
312 /* String section indices for the dynamic section symbols. */
317 /* The size of the .compact_rel section (if SGI_COMPAT). */
330 /* True if we already reported the small-data section overflow. */
384 /* These structures are used to generate the .compact_rel section on
539 /* The name of the options section. */
543 /* True if NAME is the recognized name of any SHT_MIPS_OPTIONS section.
548 /* Whether the section is readonly. */
553 /* The name of the stub section. */
599 two relocation sections for this section, one of them is REL and
601 in range for the first relocation section, check that the external
603 rel_idx is not in range for the first section, and this first
604 section contains REL relocs, then the relocation is in the second
605 section, that is RELA. */
614 /* The name of the dynamic relocation section. */
627 /* The offset of $gp from the beginning of the .got section. */
657 section. */
714 information will indicate which symbol the section is for.
871 /* Read ECOFF debugging information from a .mdebug section into a
875 _bfd_mips_elf_read_ecoff_info (bfd *abfd, asection *section,
889 if (! bfd_get_section_contents (abfd, section, ext_hdr, 0,
977 /* Create a runtime procedure table from the .mdebug section. */
1092 /* Set the size and contents of .rtproc section. */
1096 /* Skip this section later on (I don't think this currently
1196 R_MIPS16_26 reloc to be against a section, so the addend is
1332 if (bfd_is_com_section (symbol->section))
1337 relocation += symbol->section->output_section->vma;
1338 relocation += symbol->section->output_offset;
1343 /* Set val to the offset into the section or symbol. */
1348 /* Adjust val for the final section location and GP value. If we
1373 R_MIPS_GOT16. REL is the relocation, INPUT_SECTION is the section
1525 relocation against a section symbol. Add in the section's
1527 val += symbol->section->output_section->vma;
1528 val += symbol->section->output_offset;
1576 /* Swap an entry in a .gptab section. Note that these routines rely
1623 /* A .reginfo section holds a single Elf32_RegInfo structure. These
1651 /* In the 64 bit ABI, the .MIPS.options section holds register
1691 in->section = H_GET_16 (abfd, ex->section);
1703 H_PUT_16 (abfd, in->section, ex->section);
1770 section, and we must set the size of the .mdebug section before we
1855 sec = h->root.root.u.def.section;
1902 sec = h->root.root.u.def.section;
1926 sec = hd->root.root.u.def.section;
2056 /* Return the dynamic relocation section. If it doesn't exist, try to
2087 /* Returns the GOT section for ABFD. */
2101 section. */
2428 got_value = (htab->root.hgot->root.u.def.section->output_section->vma
2429 + htab->root.hgot->root.u.def.section->output_offset
2506 && h->root.u.def.section->output_section)
2508 + h->root.u.def.section->output_offset
2509 + h->root.u.def.section->output_section->vma);
2530 && h->root.u.def.section->output_section)
2532 + h->root.u.def.section->output_offset
2533 + h->root.u.def.section->output_section->vma);
2750 section symbols are added and the count is higher. */
3264 the (primary) GOT section to the entry in G corresponding to the
3741 /* Create the .compact_rel section. */
3767 /* Create the .got section to hold the global offset table. */
3844 /* VxWorks also needs a .got.plt section. */
3905 /* The place (section offset or address) of the storage unit being
3914 /* The section in which the symbol referenced by the relocation is
4039 && h->root.root.u.def.section)
4041 sec = h->root.root.u.def.section;
4295 /* If we've written this relocation for a readonly section,
4632 appropriate position. The SECTION is the section to which the
4736 /* Returns TRUE if SECTION is a MIPS16 stub section. */
4739 mips16_stub_section_p (bfd *abfd ATTRIBUTE_UNUSED, asection *section)
4741 const char *name = bfd_get_section_name (abfd, section);
4747 /* Add room for N relocations to the .rel(a).dyn section in ABFD. */
4864 /* Instead of generating a relocation using the section
4869 which is mandated by the ABI for section symbols. In
4872 section-relative relocations. It's not like they're
4954 /* Make sure the output section is writable. The dynamic linker
4990 /* If we've written this relocation for a readonly section,
5108 section. This approach is copied from ecoff.c. */
5113 /* MIPS ELF also uses an acommon section, which represents an
5120 /* Handle the special MIPS section numbers that a symbol may use.
5132 /* This section is used in a dynamically linked executable file.
5133 It is an allocated common section. The dynamic linker can
5136 we can consider these symbols to be in a new section. */
5139 /* Initialize the acommon section. */
5147 mips_elf_acom_symbol.section = &mips_elf_acom_section;
5150 asym->section = &mips_elf_acom_section;
5164 /* Initialize the small common section. */
5172 mips_elf_scom_symbol.section = &mips_elf_scom_section;
5175 asym->section = &mips_elf_scom_section;
5180 asym->section = bfd_und_section_ptr;
5185 asection *section = bfd_get_section_by_name (abfd, ".text");
5188 if (section != NULL)
5190 asym->section = section;
5192 to the base of the .text section. So substract the section
5194 asym->value -= section->vma;
5201 asection *section = bfd_get_section_by_name (abfd, ".data");
5204 if (section != NULL)
5206 asym->section = section;
5208 to the base of the .data section. So substract the section
5210 asym->value -= section->vma;
5228 an empty .gcc_compiled_longXX section, where XX is the size of longs
5237 - If ABFD contains a .gcc_compiled_longXX section, use it to
5286 relocations against two unnamed section symbols to resolve to the
5296 We can work around this problem by giving names to local section symbols.
5306 /* Work over a section just before writing it out. This routine is
5338 /* We stored the section contents in the tdata field in the
5339 set_section_contents routine. We save the section contents
5342 through the section contents to see if there is an
5437 /* Handle a MIPS specific section when reading an object file. This
5438 is called when elfcode.h finds a section with an unknown type.
5531 /* FIXME: We should record sh_info for a .gptab section. */
5533 /* For a .reginfo section, set the gp value in the tdata information
5534 from the contents of this section. We need the gp value while
5535 processing relocs, so we just get it now. The .reginfo section
5549 /* For a SHT_MIPS_OPTIONS section, look for a ODK_REGINFO entry, and
5611 /* Set the correct type for a MIPS ELF section. We do this by the
5612 section name, which is a hack, but ought to work. This routine is
5639 /* In a shared object on IRIX 5.3, the .mdebug section has an
5649 /* In a shared object on IRIX 5.3, the .reginfo section has an
5728 /* Given a BFD section, try to locate the corresponding ELF section
5732 the .scommon section. */
5753 file. We must handle the special MIPS section numbers here. */
5801 /* This section is used in a shared object. */
5817 /* Initialize the section. */
5831 elf_text_symbol->section = elf_text_section;
5842 /* This section is used in a shared object. */
5858 /* Initialize the section. */
5872 elf_data_symbol->section = elf_data_section;
5962 /* The psABI requires a read-only .dynamic section, but the VxWorks
5974 /* We need to create .got section. */
5981 /* Create .stub section. */
6029 /* We need to create a .compact_rel section. */
6075 /* __rld_map is a four byte word located in the .data section
6142 /* Look through the relocs for a section during the first phase, and
6439 (_("%B: Malformed reloc detected for section %s"),
6767 References from a stub section do not count. */
6845 && h->root.root.u.def.section)
6850 sym_sec = h->root.root.u.def.section;
6904 /* Get the section contents if we haven't done so already. */
6940 /* Cache the section contents for elf_link_input_bfd. */
6955 regular object. The current definition is in some section of the
7010 /* We need .stub section. */
7015 h->root.u.def.section = s;
7025 of this symbol in .dynsym section. */
7045 h->root.u.def.section = h->u.weakdef->root.u.def.section;
7126 h->root.u.def.section = htab->splt;
7161 h->root.u.def.section = h->u.weakdef->root.u.def.section;
7171 /* We must allocate the symbol in our .dynbss section, which will
7172 become part of the .bss section of the executable. There will be
7173 an entry for this symbol in the .dynsym section. The dynamic
7181 if ((h->root.u.def.section->flags & SEC_ALLOC) != 0)
7191 /* Return the number of dynamic section symbols required by OUTPUT_BFD.
7240 /* The .reginfo section has a fixed size. */
7293 At this point, dynsymcount does not account for section symbols
7374 /* Set the contents of the .interp section to the interpreter. */
7395 /* It's OK to base decisions on the section name, because none
7396 of the dynobj section names depend upon the input files. */
7409 /* If this relocation section applies to a read only
7410 section, then we probably need a DT_TEXTREL entry.
7411 If the relocation section is .rel(a).dyn, we always
7413 there exists a relocation to a read only section or
7525 of .text section. So put a dummy. XXX */
7556 /* Allocate memory for this section last, since we may increase its
7564 /* Allocate memory for the section contents. */
7573 /* Allocate memory for the .rel(a).dyn section. */
7586 /* Add some entries to the .dynamic section. We fill in the
7589 the .dynamic section. */
7731 /* Adjust REL's addend to account for section merging. */
7744 /* Relocate a MIPS ELF section. */
7806 sec = h->root.u.def.section;
7813 section contents zeroed. Avoid any special processing. */
7824 lowermost or uppermost 32-bit section of the 64-bit address
7919 (_("%B: Can't find matching LO16 reloc against `%s' for %s at 0x%lx in section `%A'"),
8085 _("small-data section exceeds 64KB;"
8439 /* IRIX6 does not use a .rld_map section. */
8608 rel.r_offset = (h->root.u.def.section->output_section->vma
8609 + h->root.u.def.section->output_offset
8643 got_value = (htab->root.hgot->root.u.def.section->output_section->vma
8644 + htab->root.hgot->root.u.def.section->output_offset
8792 of the ".got" section in DYNOBJ. */
8949 ".dynamic" section. The second is initialized by the
9048 /* Adjust the section size too. Tools like the prelinker
9071 /* Write .compact_rel section out. */
9255 info for each special section. */
9368 /* If there is a .reginfo section, we need a PT_MIPS_REGINFO
9405 for this section, so don't create another. I'm not sure this
9443 for the RTPROC header. FIXME: Rewrite without section names. */
9505 /* GNU/Linux binaries do not need the extended PT_DYNAMIC section.
9579 .dynamic to be in a read-only segment, and the section will often
9609 /* Return the section that should be marked against GC for a given
9632 /* Update the got entry reference counts for the section being removed. */
9904 _bfd_mips_elf_find_nearest_line (bfd *abfd, asection *section,
9912 if (_bfd_dwarf1_find_nearest_line (abfd, section, symbols, offset,
9917 if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
9986 if (_bfd_ecoff_locate_line (abfd, section, offset, &fi->d, swap,
9999 return _bfd_elf_find_nearest_line (abfd, section, symbols, offset,
10019 /* When are writing out the .options or .MIPS.options section,
10024 _bfd_mips_elf_set_section_contents (bfd *abfd, sec_ptr section,
10028 if (MIPS_ELF_OPTIONS_SECTION_NAME_P (section->name))
10032 if (elf_section_data (section) == NULL)
10035 section->used_by_bfd = bfd_zalloc (abfd, amt);
10036 if (elf_section_data (section) == NULL)
10039 c = mips_elf_section_data (section)->u.tdata;
10042 c = bfd_zalloc (abfd, section->size);
10045 mips_elf_section_data (section)->u.tdata = c;
10051 return _bfd_elf_set_section_contents (abfd, section, location, offset,
10068 bfd *input_bfd = link_order->u.indirect.section->owner;
10069 asection *input_section = link_order->u.indirect.section;
10083 /* read in the section */
10333 the lowest index it may use is. That's the number of section
10337 section above. */
10362 + h->u.def.section->output_section->vma
10363 + h->u.def.section->output_offset);
10369 elf_gp (abfd) = (h->u.def.section->output_section->vma
10370 + h->u.def.section->output_offset
10376 /* Find the GP-relative section with the lowest offset. */
10405 /* We have found the .reginfo section in the output file.
10422 input_section = p->u.indirect.section;
10438 mips_elf32_section_processing when the section is
10442 elf_link_input_bfd ignores this section. */
10449 /* Skip this section later on (I don't think this currently
10461 /* We have found the .mdebug section in the output file.
10540 input_section = p->u.indirect.section;
10548 doing with a .mdebug section, but I don't really
10622 elf_link_input_bfd ignores this section. */
10628 /* Create .rtproc section. */
10660 /* Set the size of the .mdebug section. */
10663 /* Skip this section later on (I don't think this currently
10695 input_section = p->u.indirect.section;
10698 elf_link_input_bfd ignores this section. */
10702 /* Skip this section later on (I don't think this
10706 /* Really remove the section. */
10722 (_("%s: illegal section name `%s'"),
10731 no .sdata or .sbss section in the output file, in which
10732 case we must change the name of the output section. */
10769 input_section = p->u.indirect.section;
10772 /* Combine the gptab entries for this input section one
10851 elf_link_input_bfd ignores this section. */
10875 /* Skip this section later on (I don't think this currently