• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/

Lines Matching +defs:symbol +defs:file

6    This file is part of BFD, the Binary File Descriptor library.
242 /* I think this can be done just like an object file. */
317 symbol SYMOFFSET. If any of INTSYM_BUF, EXTSYM_BUF or EXTSHNDX_BUF
319 symbols, and symbol section index extensions, respectively. */
406 (*_bfd_error_handler) (_("%B symbol number %lu references "
422 /* Look up a symbol name. */
460 /* Return the name of the group signature symbol. Why isn't the
471 /* First we need to ensure the symbol table is available. Make sure
472 that it is a symbol table section. */
478 /* Go read the symbol. */
894 /* This section is part of this segment if its file
928 /* With contiguous segments, we can't tell from file
990 output, and the reloc is against an external symbol, and nothing
992 be against the same symbol. In such a case, we don't want to
997 relocatable output against an external symbol. */
1002 asymbol *symbol,
1009 && (symbol->flags & BSF_SECTION_SYM) == 0
1349 /* Display ELF-specific fields of a symbol. */
1354 asymbol *symbol,
1357 FILE *file = filep;
1361 fprintf (file, "%s", symbol->name);
1364 fprintf (file, "elf ");
1365 bfd_fprintf_vma (abfd, file, symbol->value);
1366 fprintf (file, " %lx", (long) symbol->flags);
1376 section_name = symbol->section ? symbol->section->name : "(*none*)";
1380 name = (*bed->elf_backend_print_symbol_all) (abfd, filep, symbol);
1384 name = symbol->name;
1385 bfd_print_symbol_vandf (abfd, file, symbol);
1388 fprintf (file, " %s\t", section_name);
1389 /* Print the "other" value for a symbol. For common symbols,
1393 if (bfd_is_com_section (symbol->section))
1394 val = ((elf_symbol_type *) symbol)->internal_elf_sym.st_value;
1396 val = ((elf_symbol_type *) symbol)->internal_elf_sym.st_size;
1397 bfd_fprintf_vma (abfd, file, val);
1407 vernum = ((elf_symbol_type *) symbol)->version & VERSYM_VERSION;
1438 if ((((elf_symbol_type *) symbol)->version & VERSYM_HIDDEN) == 0)
1439 fprintf (file, " %-11s", version_string);
1444 fprintf (file, " (%s)", version_string);
1446 putc (' ', file);
1451 st_other = ((elf_symbol_type *) symbol)->internal_elf_sym.st_other;
1456 case STV_INTERNAL: fprintf (file, " .internal"); break;
1457 case STV_HIDDEN: fprintf (file, " .hidden"); break;
1458 case STV_PROTECTED: fprintf (file, " .protected"); break;
1462 fprintf (file, " 0x%02x", (unsigned int) st_other);
1465 fprintf (file, " %s", name);
1502 /* Assume that we have been called by a non-ELF symbol reader.
1504 file. This ensures that a symbol created by a non-ELF symbol
1512 /* Copy data from an indirect symbol to its direct symbol, hiding the
1513 old indirect symbol. Also used for copying flags to a weakdef. */
1523 symbol which just became indirect. */
1603 /* The first dynamic symbol is a dummy. */
1635 tell the backend linker what file name to use for the DT_NEEDED
1809 /* ELF .o/exec file reading */
1880 case SHT_SYMTAB: /* A symbol table */
1892 /* Sometimes a shared object will map in the symbol table. If
1896 set in a relocatable object file, which would confuse the
1932 case SHT_DYNSYM: /* A dynamic symbol table */
1944 /* Besides being a symbol table, we also treat this as a regular
2042 one suitable symbol table, we clobber the sh_link to point
2068 /* Get the symbol table. */
2074 /* If this reloc section does not use the main symbol table we
2204 required to correctly process the section and the file should
2226 /* Return the section for the local symbol specified by ABFD, R_SYMNDX.
2515 /* When we read a file, we don't need to set ELF section type and
2542 Note that some program segments may have a file size that is different than
2545 but only initialize it with the first "file size" bytes read from the
2546 file. This would occur for example, with program segments consisting
2551 the file size of the segment, and the second has the length specified
3133 /* sh_link of a reloc section is the section index of the symbol
3214 section. sh_link is the section index of the symbol
3217 allocated reloc section uses the dynamic symbol table.
3270 used for the dynamic entries, or the symbol table, or the
3280 used for the dynamic entries, or the symbol table, or the
3291 /* sh_link is the section header index of the symbol table
3312 /* Map symbol from it's internal number to the external number, moving
3404 /* We will be adding a section symbol for each normal BFD section. Most
3405 sections will already have a section symbol in outsymbols, but
3406 eg. SHT_GROUP sections will not, and we need the section symbol mapped
3412 if (!sym_is_global (abfd, asect->symbol))
3443 asymbol *sym = asect->symbol;
3463 /* Align to the maximum file alignment that could be required for any
3472 /* Assign a file position to a section, optionally aligning to the
3496 /* Compute the file positions we are going to put the sections at, and
3497 otherwise prepare to begin writing out the ELF file. If LINK_INFO
3531 /* The backend linker builds symbol table information itself. */
3935 /* If the file is not demand paged, which means that we
3937 file, then there is no other reason for a new segment. */
4024 generate two .note sections in the output file. FIXME: Using
4235 /* Assign file positions to the sections based on the mapping from
4237 the file header. */
4309 available file offset for PT_LOAD and PT_NOTE segments. VOFF is
4310 an adjustment we use for segments that have no file contents
4333 objcopy, we set m->p_align from the input file. Use this
4383 any other sections. Since the segment won't need file
4522 /* The section VMA must equal the file position
4625 /* Assign file positions for the other sections. */
4693 /* Now that we have set the section file positions, we can set up
4694 the file positions for the non PT_LOAD segments. */
4800 /* Work out the file positions of all the sections. This is called by
4836 the sections in the file is unimportant. */
4864 /* Assign file positions for the loaded sections based on the
4901 Elf_Internal_Ehdr *i_ehdrp; /* Elf file header, internal form */
4990 /* Assign file positions for all the reloc sections which are not part
4991 of the loadable file image. */
5073 /* Hopefully this can be done just like an object file. */
5113 /* Given a BFD symbol, return the index in the ELF symbol table, or -1
5124 own symbol for the section, but does put the symbol into the
5125 symbol chain, so udata is 0. When the linker is generating
5126 relocatable output, this section symbol may be for one of the
5148 /* This case can occur when using --strip-symbol on a symbol
5151 (_("%B: symbol `%s' required but not present"),
5437 /* Determine if this segment contains the ELF file header
5740 file, we get confused. Check for this case, and if we find it
5848 /* Determine if this segment contains the ELF file header
6117 /* Copy private symbol information. If this symbol is in a section
6146 && bfd_is_abs_section (isym->symbol.section))
6237 /* Fill in zeroth symbol and swap it out. */
6320 /* This symbol is in a real ELF section which we did
6358 section of a symbol to be a section that is
6359 actually in the output file. */
6364 Unable to find equivalent output section for symbol '%s' from section '%s'"),
6460 the vector allocated based on this size. However, the ELF symbol table
6461 always has a dummy entry as symbol #0, so it ends up even. */
6555 or SHT_RELA, and uses the dynamic symbol table, is considered to be a
6588 dynamic symbol table, is considered to be a dynamic reloc section. */
6959 newsym->symbol.the_bfd = abfd;
6960 return &newsym->symbol;
6966 asymbol *symbol,
6969 bfd_symbol_info (symbol, ret);
6972 /* Return whether a symbol name implies a local symbol. Most targets
7003 asymbol *symbol ATTRIBUTE_UNUSED)
7036 asymbol *func, *file;
7039 /* ??? Given multiple file symbols, it is impossible to reliably
7040 choose the right file name for global symbols. File symbols are
7041 local symbols, and thus all file symbols must sort before any
7043 file symbol must sort before other local symbols, but currently
7045 make a better choice of file name for local symbols by ignoring
7046 file symbols appearing after a given local symbol. */
7051 file = NULL;
7066 file = &q->symbol;
7072 if (bfd_get_section (&q->symbol) == section
7073 && q->symbol.value >= low_func
7074 && q->symbol.value <= offset)
7077 low_func = q->symbol.value;
7079 if (file != NULL
7082 filename = bfd_asymbol_name (file);
7159 /* Find the line for a symbol. */
7162 _bfd_elf_find_line (bfd *abfd, asymbol **symbols, asymbol *symbol,
7165 return _bfd_dwarf2_find_line (abfd, symbols, symbol,
7366 struct bfd_symbol *symbol ATTRIBUTE_UNUSED,
7374 /* Elf core file support. Much of this only works on native
7974 creates a core file. */
8512 Elf_Internal_Ehdr *i_ehdrp; /* Elf file header, internal form */
8540 Elf_Internal_Ehdr *i_ehdrp; /* Elf file header, internal form */
8572 relocation against a local symbol. */
8646 /* Create a new BFD as if by bfd_openr. Rather than opening a file,
8647 reconstruct an ELF file by reading the segments out of remote memory
8648 based on the ELF file header at EHDR_VMA and the ELF program headers it
8651 file headers (and hence BFD's idea of each section's VMA) put them at.
8746 we are defining a symbol, ensure one of them is set. */
9028 /* Sort symbol by name. */
9074 /* Sort symbol by name. */