Lines Matching defs:is

6    This file is part of BFD, the Binary File Descriptor library.
8 This program is free software; you can redistribute it and/or modify
13 This program is distributed in the hope that it will be useful,
64 /* If there is a TOC relative reloc against a global symbol, and the
65 index of the TOC symbol is not known when the reloc was handled,
66 an entry is added to this linked list. This is not an array,
67 like rel_hashes, because this case is quite uncommon. */
424 /* Most dynamic relocs have the same type. FIXME: This is only
532 /* Read internal relocs for an XCOFF csect. This is a wrapper around
610 file in turn, since that apparently is what the AIX native linker
670 the link. *PNEEDED is set according to whether this element is
671 needed in the link or not. This is called via
737 /* This symbol is externally visible, and is defined by this
747 undefined. If a symbol is currently known to be common,
1014 XCOFF is a weird format. A normal XCOFF .o files will have three
1018 considered a section in its own right. For example, a TOC entry is
1024 From the point of view of our linker, this is, of course, a hideous
1028 csect they belong to is to examine the address. */
1099 not easily determine which section a symbol is in, so we store
1188 Normally csect is a .pr, .rw etc. created in the loop
1329 /* This is an external reference. */
1342 /* An XMC_XO external reference is actually a reference to
1354 /* This is a csect definition. */
1371 (_("%B: XMC_TC0 symbol `%s' is class %d scnlen %d"),
1391 They are what is used to create the TOC csects in the first
1415 /* 32 bit R_POS r_size is 31
1416 64 bit R_POS r_size is 63 */
1439 /* At this point we know that the TOC entry is
1447 /* We only merge TOC entries if the TC name is
1510 /* The enclosing section is the main section : .data, .text
1511 or .bss that the csect is coming from. */
1592 /* If this symbol is C_EXT, we treat it as starting at the
1600 /* If this is a TOC section for a symbol, record it. */
1607 /* This is a label definition. The x_scnlen field is the
1640 /* This is an unitialized csect. We could base the name on
1642 an XMC_TD symbol. If this csect is externally visible,
1643 it is a common symbol. We put XMC_TD symbols in sections
1752 definitions when there is a reference to the symbol. If
1753 a symbol is defined multiple times, and the only
1757 other hand, if there is a reference, the linker reports
1766 the second definition is in an archive rather than an
1774 although this is an easier case to detect. */
1799 /* This is a second definition of a defined symbol. */
1806 /* The new symbol is from a shared library, and
1807 either the existing symbol is not global
1808 linkage code or this symbol is global linkage
1809 code. If the existing symbol is global
1810 linkage code and the new symbol is not, then
1818 /* The existing symbol is from a shared library.
1826 /* This is a redefinition in an object contained
1843 class. There is at least a chance that this
1844 is a semi-legitimate redefinition. */
1856 /* This is a reference to a multiply defined symbol.
1860 sure the XCOFF linker is wholly prepared to
1938 data is now attached to the csects. Don't reset the size of
1979 /* If the symbol name starts with a period, it is
1980 the code of a function. If the symbol is
2023 information is now attached to the csects. */
2072 /* This function is used to add symbols from a dynamic object to the
2105 table. If there is a global symbol in a dynamic object which is
2175 /* If the symbol is undefined, and the BFD it was found in is
2196 /* Unless this is an XMC_XO symbol, we don't bother to actually
2253 function descriptor. This is how some math functions are
2282 shared object appears to always be empty. The file name is the
2301 /* We start c at 1 because the first import file number is reserved
2319 it is defined. */
2526 /* Record the number of elements in a set. This is used to output the
2544 per global symbol, so instead the size is kept on a linked list
2580 /* A symbol name which starts with a period is the code for a
2581 function. If the symbol is undefined, then add an undefined
2609 /* Now, if the descriptor is undefined, import the descriptor
2647 /* We start c at 1 because the first entry in the import list is
2695 /* FIXME: I'm not at all sure what syscall is supposed to mean, so
2698 /* See if this is a function descriptor. It may be one even though
2699 it is not so marked. */
2730 /* If this is a function descriptor, make sure we don't garbage
2744 /* Count a reloc against a symbol. This is called for relocs
2779 /* This function is called for each symbol to which the linker script
2803 /* Build the .loader section. This is called by the XCOFF linker
2806 LIBPATH is the library path to search for shared objects; this is
2808 is the name of the entry point symbol (the -e linker option).
2809 FILE_ALIGN is the alignment to use for sections within the file
2810 (the -H linker option). MAXSTACK is the maximum stack size (the
2811 -bmaxstack linker option). MAXDATA is the maximum data size (the
2812 -bmaxdata linker option). GC is whether to do garbage collection
2813 (the -bgc linker option). MODTYPE is the module type (the
2814 -bmodtype linker option). TEXTRO is whether the text section must
2815 be read only (the -btextro linker option). EXPORT_DEFINEDS is
2817 option). SPECIAL_SECTIONS is set by this routine to csects with
2930 /* This symbol is written out by xcoff_write_global_symbol
2999 of names is the path to use to find objects, which the linker has
3200 /* Clear the size of subdeb, so that it is not included directly
3278 /* If this is a final link, and the symbol was defined as a common
3300 /* We don't export a symbol which is being defined by an object
3302 rationale is that if an archive contains both an unshared and
3304 unshared object is unshared, and we don't want to start
3308 so it is essential that these functions be linked in directly
3311 them. This is confusing, but I haven't been able to think of
3340 XCOFF files. This is a convenient place to mark them. */
3350 /* If this symbol is called and defined in a dynamic object, or it
3351 is imported, then we need to set up global linkage code for it.
3411 /* If this symbol is exported, but not defined, we need to try to
3426 /* This is an undefined function descriptor associated with
3438 /* The size of the function descriptor depends if this is an
3461 /* If this is still a common symbol, and it wasn't garbage
3473 /* We need to add a symbol to the .loader section if it is mentioned
3475 not defined or common, or if it is the entry point, or if it is
3661 contents and is loaded, if it is preceded by some other
3662 section which has contents and is loaded. */
3708 code knows what compute_section_file_positions is going
3847 input BFD's. We want at least 6 symbols, since that is the
3953 /* The value of the last C_FILE symbol is supposed to be -1. Write
4041 appear in the symbol table, which is not necessarily by
4214 /* We can just skip DYNAMIC files, unless this is a static link. */
4270 /* If this is a C_EXT or C_HIDEXT symbol, we need the csect
4285 always sees the original values. This is more reliable than
4290 /* If this symbol is in the .loader section, swap out the
4291 .loader symbol information. If this is an external symbol
4421 /* We want to find out if tocval is a good value to use
4422 as the TOC anchor--that is, whether we can access all
4505 /* If we stripping debugging symbols, and this is a debugging
4588 /* The value of a C_FILE symbol is the symbol index of the
4590 is -1. We try to get this right, below, just before we
4602 /* The last C_FILE symbol is in this input file. */
4634 /* The value of a C_BINCL or C_EINCL symbol is a file offset
4662 /* If this is a symbol in the TOC which we may have merged
4718 /* The value of a C_BSTAT symbol is the symbol table
4749 /* This is the file name (or some comment put in by
4750 the compiler). If it is long, we must put it in
4823 to include. I don't know if this is
5139 /* This is a TOC relative reloc with a symbol
5141 this reloc is for. We want to make this
5168 /* This is a global symbol. */
5173 /* This symbol is being written at the end
5191 struct internal_syment *is;
5196 is = finfo->internal_syms + r_symndx;
5197 if (is->n_sclass == C_HIDEXT
5198 && is->n_numaux > 0)
5206 + ((r_symndx + is->n_numaux)
5209 is->n_type, is->n_sclass,
5210 is->n_numaux - 1,
5211 is->n_numaux,
5224 struct internal_syment *is;
5229 /* This reloc is against a symbol we are
5232 is = finfo->internal_syms + r_symndx;
5235 (input_bfd, is, buf));
5447 the l_smtype XTY_SD. But this is not correct, it should
5556 The /4 is because the glink code is in bytes and we are going
5599 /* Initialize the aux union here instead of closer to when it is
5601 whether the output is 32 or 64 bit. */
5612 Which one is determined by the backend. */
5657 /* note : iraux is initialized above */
5681 /* If this symbol is a specially defined function descriptor, write
5682 it out. The first word is the address of the function code
5683 itself, the second word is the address of the TOC, and the third
5684 word is zero.
5782 the backend is neither has already been checked. */
5960 /* Handle a link order which is supposed to generate a reloc. */
6145 /* Sort relocs by VMA. This is called via qsort. */