Lines Matching defs:symbol

428      symbol.  */
444 the symbol. */
460 the symbol. */
476 the symbol. */
491 /* This is used only by the dynamic linker. The symbol should exist
493 dynamic linker copies the data addressed by the symbol from the
527 entry for a symbol. */
605 /* 32-bit relocation to the symbol's procedure linkage table. */
620 /* 32-bit PC relative relocation to the symbol's procedure linkage table.
637 the symbol. */
653 the symbol. */
669 the symbol. */
868 /* 64-bit relocation to the symbol's procedure linkage table. */
883 /* 64-bit PC relative relocation to the symbol's procedure linkage
989 editor (a) may replace with the symbol value. If the link editor
990 is unable to fully resolve the symbol, it may (b) create a PLT
994 R_PPC64_GLOB_DAT to tie the symbol to the GOT entry. */
2197 ppc64_elf_ha_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2205 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2216 ppc64_elf_branch_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2221 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2224 if (strcmp (symbol->section->name, ".opd") == 0
2225 && (symbol->section->owner->flags & DYNAMIC) == 0)
2227 bfd_vma dest = opd_entry_value (symbol->section,
2228 symbol->value + reloc_entry->addend,
2231 reloc_entry->addend = dest - (symbol->value
2232 + symbol->section->output_section->vma
2233 + symbol->section->output_offset);
2239 ppc64_elf_brtaken_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2253 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2281 if (!bfd_is_com_section (symbol->section))
2282 target = symbol->value;
2283 target += symbol->section->output_section->vma;
2284 target += symbol->section->output_offset;
2297 return ppc64_elf_branch_reloc (abfd, reloc_entry, symbol, data,
2302 ppc64_elf_sectoff_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2310 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2313 /* Subtract the symbol section base address. */
2314 reloc_entry->addend -= symbol->section->output_section->vma;
2319 ppc64_elf_sectoff_ha_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2327 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2330 /* Subtract the symbol section base address. */
2331 reloc_entry->addend -= symbol->section->output_section->vma;
2339 ppc64_elf_toc_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2349 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2362 ppc64_elf_toc_ha_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2372 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2388 ppc64_elf_toc64_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2399 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2412 ppc64_elf_unhandled_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
2420 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
2605 Specifies the relocation symbol index used at a given toc offset. */
2718 /* Search SYMS for a symbol of the given VALUE. */
2758 /* Create synthetic symbols, effectively restoring "dot-symbol" function
2794 /* Use both symbol tables. */
3046 functions have both a function code symbol and a function descriptor
3047 symbol. A call to foo in a relocatable object file looks like:
3095 the function descriptor symbol, foo. Somewhere along the line, we need
3096 to carefully copy dynamic link information from one symbol to the other.
3098 symbol as is normal for most other backends. We need foo dynamic
3106 calls may use the function descriptor symbol, ie. "bl foo". This
3110 decides to copy as dynamic relocs in check_relocs for each symbol.
3129 /* Track GOT entries needed for a given symbol. We might need more
3130 than one got entry per symbol. */
3135 /* The symbol addend that we'll be placing in the GOT. */
3139 symbol referenced from different input files. This is to support
3174 even when the symbol is local. */
3192 redefines the function descriptor symbol to point to the copy. This
3194 initialized from the function descriptor symbol and the copy reloc
3269 /* Given the symbol's value and its section we can determine its final
3274 /* The symbol table entry, if any, that this was derived from. */
3302 symbol. */
3305 /* Track dynamic relocs copied for this symbol. */
3321 /* Set if we twiddled this symbol to weak at some stage. */
3324 /* Contexts in which symbol is used in the GOT (or TOC).
4004 symbol which just became indirect. */
4114 descriptor symbol. We need to make any combination of reference and
4153 NAME is a symbol defined in an archive. Return a symbol in the hash
4192 We also check and correct mismatched symbol visibility here. The
4194 function entry symbol is used. */
4409 if we reference an .opd symbol (a function descriptor), we
4410 want to keep the function code symbol's section. This is
4493 /* This symbol requires a global offset table entry. */
4527 /* This is a global offset table entry for a local symbol. */
4538 /* This symbol requires a procedure linkage table entry. We
4546 table entry for a local symbol. */
4786 against a global symbol, or a non PC relative reloc
4787 against a local symbol, then we need to copy the reloc
4790 global symbol which is defined in an object we are
4799 shared libraries and symbol visibility changes render the
4800 symbol local.
4805 symbol. */
4866 /* If this is a global symbol, we count the number of
4867 relocations we need for this symbol. */
5037 building shared libraries, we must assume that any visible symbol is
5587 information on function code symbol entries to their corresponding
5588 function descriptor symbol entries. */
5628 /* If this is a function code symbol, transfer dynamic linking
5629 information to the function descriptor symbol. */
5641 /* Find the corresponding function descriptor symbol. Create it
5661 code symbol is strong undefined, make the fake sym the same.
5662 If the function code symbol is defined, then force the fake
5725 dynamic linking information gathered so far on function code symbol
5726 entries, to their corresponding function descriptor symbol entries. */
5769 /* Adjust a symbol defined by a dynamic object and referenced by a
5789 /* Clear procedure linkage table information for any symbol that
5807 /* If this is a weak symbol, and there is a real definition, the
5822 only references to the symbol are via the global offset table.
5828 /* If there are no references to this symbol that do not use the
5868 /* This is a reference to a symbol defined by a dynamic object which
5878 /* We must allocate the symbol in our .dynbss section, which will
5880 an entry for this symbol in the .dynsym section. The dynamic
5882 from the dynamic object to this symbol will go through the global
5898 /* We need to figure out the alignment required for this symbol. I
5913 /* Define the symbol as being at this point in the section. */
5917 /* Increment the section size to make room for the symbol. */
5923 /* If given a function descriptor symbol, hide both the function code
6081 /* Returns TLS_MASKP for the given REL symbol. Function return is 0 on
6450 current input bfd. If the symbol isn't defined in the
6607 /* Redefine the function descriptor symbol to
6874 /* These relocs should never be against a symbol
7666 /* Make sure this symbol is output as a dynamic symbol.
7706 space for relocs that have become local due to symbol visibility
7740 /* Make sure this symbol is output as a dynamic symbol.
7760 /* Make sure this symbol is output as a dynamic symbol.
8147 either a defined function descriptor or a defined entry symbol
8320 /* H is an opd symbol. The addend must be zero. */
8419 exporting ".foo" for each "foo". This can happen when symbol
8425 /* Point the symbol at the stub. There may be multiple stubs,
8427 defined somewhere. Maybe defining the symbol in the stub
8957 can't find their function symbol (shouldn't ever happen now). */
9125 /* We'll need the symbol table in a second. */
9415 the dynamic symbol table is corrupted since the section symbol
9723 address or the reloc symbol index.
9728 corresponding to the st_shndx field of each local symbol.
9734 STB_LOCAL/STT_SECTION symbols specially. The output symbol is
9735 going to be the section symbol corresponding to the output
9806 /* For old style R_PPC64_TOC relocs with a zero symbol, use the
9807 symbol of the previous ADDR64 reloc. The symbol gives us the
9825 /* It's a local symbol. */
9844 If it is a reloc against some other .opd symbol,
9845 then the symbol value will be adjusted later. */
9909 /* R_PPC64_TLS is OK against a symbol in the TOC. */
9914 ? _("%B(%A+0x%lx): %s used with TLS symbol %s")
9915 : _("%B(%A+0x%lx): %s used with non-TLS symbol %s"),
9999 /* We changed the symbol. Start over in order to
10052 /* We changed the symbol. Start over in order to
10178 /* We changed the symbol. Start over in order
10431 (_("%B: unknown relocation type %d for symbol %s"),
10444 /* GOT16 relocations. Like an ADDR16 using the symbol's
10446 symbol's value itself. Also, create a GOT entry for the
10447 symbol and put the symbol value there. */
10484 /* Relocation is to the entry for this symbol in the global
10507 -Bsymbolic link and the symbol is defined
10508 locally, or the symbol was forced to be local
10649 /* Relocation is to the entry for this symbol in the
10652 /* Resolve a PLT reloc against a local symbol directly,
10658 symbol. This happens when statically linking PIC code,
10859 /* This symbol is local, or marked to become local,
10906 against a section symbol, so subtract out
10928 /* If this reloc is against an external symbol, it will
10975 (_("%B: relocation %s is not supported for symbol %s."),
11012 /* It's just possible that this symbol is a weak symbol
11014 'sec' would be NULL, and we should leave the symbol
11073 (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
11103 detects the symbol is undefined. If this is the case,
11134 adjusted. Worse, reloc symbol indices will be for the output
11182 /* Finish up dynamic symbol handling. We set the contents of various
11203 /* This symbol has an entry in the procedure linkage
11230 /* This symbol needs a copy reloc. Set it up. */