Lines Matching defs:symbol

35      asymbol *symbol ATTRIBUTE_UNUSED,
50 asymbol *symbol,
66 if (bfd_is_und_section (symbol->section)
67 && (symbol->flags & BSF_WEAK) == 0
71 if (bfd_is_com_section (symbol->section))
74 relocation = symbol->value;
76 output_section = symbol->section->output_section;
83 if (!relocatable || !strcmp (symbol->name, symbol->section->name))
84 relocation += output_base + symbol->section->output_offset;
86 if (!relocatable && !strcmp (symbol->name, symbol->section->name))
119 reloc_entry->addend += symbol->section->output_offset;
147 asymbol *symbol,
164 if (bfd_is_und_section (symbol->section)
165 && (symbol->flags & BSF_WEAK) == 0
169 output_section = symbol->section->output_section;
170 relocation = symbol->value;
172 /* Convert input-section-relative symbol value to absolute. */
178 if (!relocatable || !strcmp (symbol->name, symbol->section->name))
179 relocation += output_base + symbol->section->output_offset;
187 reloc_entry->addend += symbol->section->output_offset;
207 symbol we are relocating against, plus any addend. */
219 asymbol *symbol,
235 if (bfd_is_und_section (symbol->section)
236 && (symbol->flags & BSF_WEAK) == 0
240 output_section = symbol->section->output_section;
241 relocation = symbol->value;
242 /* Convert input-section-relative symbol value to absolute. */
248 if ((symbol->name
249 && symbol->section->name
250 && !strcmp (symbol->name, symbol->section->name))
253 relocation += output_base + symbol->section->output_offset;
262 reloc_entry->addend += symbol->section->output_offset;
270 symbol we are relocating against, plus any addend. */
285 asymbol *symbol,
302 if (bfd_is_und_section (symbol->section)
303 && (symbol->flags & BSF_WEAK) == 0
307 /* Get symbol value. (Common symbols are special.) */
308 if (bfd_is_com_section (symbol->section))
311 relocation = symbol->value;
313 output_section = symbol->section->output_section;
315 /* Convert input-section-relative symbol value to absolute. */
321 if (!relocatable || !strcmp (symbol->name, symbol->section->name))
322 relocation += output_base + symbol->section->output_offset;
324 if (!relocatable && !strcmp (symbol->name, symbol->section->name))
331 symbol we are relocating against, plus any addend. */
344 reloc_entry->addend += symbol->section->output_offset;
711 the symbol. */
727 symbol. */
743 symbol. */
885 the symbol. */
901 symbol. */
917 symbol. */
1186 /* Decide whether a reference to a symbol can be resolved locally or
1187 not. If the symbol is protected, we want the local address, but
1197 certain symbol. */
1200 /* The index of the symbol, as stored in the relocation r_info, if
1201 we have a local symbol; -1 otherwise. */
1205 /* The input bfd in which the symbol is defined, if it's a local
1206 symbol. */
1209 symbol (even if it turns out to bind locally, in which case it
1213 /* The addend of the relocation that references the symbol. */
1219 /* The following 2 fields record whether the symbol+addend above was
1224 /* Whether a FUNCDESC relocation references symbol+addend. */
1226 /* Whether a FUNCDESC_GOT relocation references symbol+addend. */
1229 /* Whether a FUNCDESC_GOTOFF relocation references symbol+addend. */
1232 /* Whether symbol+addend is referenced with GOTOFF17M4, GOTOFFLO or
1234 envision that this will only be used to check whether the symbol
1237 /* Whether symbol+addend is referenced by a LABEL24 relocation. */
1239 /* Whether symbol+addend is referenced by a 32 or FUNCDESC_VALUE
1242 /* Whether we need a PLT entry for a symbol. Should be implied by
1247 for symbol+addend. Should be implied by something like:
1252 /* Whether a lazy PLT entry is needed for this symbol+addend.
1258 needed for this symbol. */
1262 relocations referencing the symbol. */
1266 for this symbol, minus any that might have already been used. */
1269 /* The offsets of the GOT entries assigned to symbol+addend, to the
1275 /* The offsets of the PLT entries assigned to symbol+addend,
1336 /* Obtain the address of the entry in HT associated with H's symbol +
1356 local symbol of the input bfd ABFD, plus the addend, creating a new
1375 mapped to the same (presumably global) symbol. */
1528 /* If the symbol is dynamic, consider it for dynamic
1543 /* Generate relocation for GOT entry pointing to the symbol. */
1549 /* If the symbol is dynamic but binds locally, use
1566 omit the dynamic relocation as long as the symbol is local to
1613 /* If the symbol is dynamic and there may be dynamic symbol
1617 symbol needs a non-local function descriptor but binds
1653 /* If there is room for dynamic symbol resolution, emit the
1656 dynamic symbol entry for the got section, so idx will be
1703 /* If the symbol is dynamic but binds locally, use
1720 omit the dynamic relocation as long as the symbol is local to
1769 addresses of the symbol and of the local GOT base offset. */
2006 /* Make sure this symbol is output as a dynamic symbol. */
2022 /* This is a global offset table entry for a local symbol. */
2083 address or the reloc symbol index.
2088 corresponding to the st_shndx field of each local symbol.
2094 STB_LOCAL/STT_SECTION symbols specially. The output symbol is
2095 going to be the section symbol corresponding to the output
2270 (_("%B: relocation at `%A+0x%x' references symbol `%s' with nonzero addend"),
2284 (info, _("relocation references symbol not defined in the module"),
2359 /* If the symbol is dynamic and there may be dynamic
2360 symbol resolution because we are or are linked with a
2363 descriptor. If the symbol needs a non-local function
2381 (info, _("R_BFIN_FUNCDESC references dynamic symbol with nonzero addend"),
2400 /* If there is room for dynamic symbol resolution, emit
2403 dynamic symbol entry for the got section, so idx will
2484 /* If the symbol is dynamic but binds locally, use
2491 (info, _("R_BFIN_FUNCDESC_VALUE references dynamic symbol with nonzero addend"),
2514 can omit the dynamic relocation as long as the symbol
2598 the fixed addresses of the symbol and of the local
2701 but rather to the referenced symbol. The actual entry
2905 /* Relocation is to the address of the entry for this symbol
2911 /* Relocation is the offset of the entry for this symbol in
2939 -Bsymbolic link and the symbol is defined
2940 locally, or the symbol was forced to be local
3058 (_("%B(%A+0x%lx): unresolvable relocation against symbol `%s'"),
3292 /* Define the symbol _GLOBAL_OFFSET_TABLE_ at the start of the .got
3294 because we don't want to define the symbol if we are not creating
3301 /* Machine-specific: we want the symbol for executables as
3385 /* Define the symbol _PROCEDURE_LINKAGE_TABLE_ at the start of the
3492 /* Compute the total GOT size required by each symbol in each range.
3494 the symbol, an entry pointing to its function descriptor, and a
3504 /* Allocate space for a GOT entry pointing to the symbol. */
3524 GOT, and a lazy PLT entry for this symbol. */
3824 /* If this symbol requires a local function descriptor, allocate
3876 points to the final symbol definition. P must point to a pointer
4216 /* Obtain the pointer to the __stacksize symbol. */
4224 /* Set the section size from the symbol value. We
4225 intentionally ignore the symbol section. */
4331 /* Adjust a symbol defined by a dynamic object and referenced by a
4350 /* If this is a weak symbol, and there is a real definition, the
4438 the target of a call is a dynamic symbol, a PLT entry must be
4442 GPREL relocations require the referenced symbol to be in the same
4450 regardless of whether the symbol is dynamic. However, since a
4451 global symbol that turns out to not be exported may have the same
4452 address of a non-dynamic symbol, we don't assign GOT entries at
4455 private symbol by the section load address, be it to get the symbol
4462 FUNCDESC relocations referencing a symbol that turns out to NOT be
4465 the private descriptor. If the symbol is dynamic, the FUNCDESC
4476 created and, unless lazy binding is disabled or the symbol is not
4478 whether a symbol is going to be dynamic, we have to decide later
4489 enabled and on whether the referenced symbol is dynamic.
4904 /* Number of PC relative relocs copied for this symbol. */
5001 /* Finish up dynamic symbol handling. We set the contents of various
5021 /* This symbol has an entry in the global offset table.
5032 /* If this is a -Bsymbolic link, and the symbol is defined
5034 the symbol was forced to be local because of a version file.
5074 /* Adjust a symbol defined by a dynamic object and referenced by a
5104 /* If this is a weak symbol, and there is a real definition, the
5116 /* This is a reference to a symbol defined by a dynamic object which
5120 only references to the symbol are via the global offset table.
5126 /* We must allocate the symbol in our .dynbss section, which will
5128 an entry for this symbol in the .dynsym section. The dynamic
5130 from the dynamic object to this symbol will go through the global
5153 /* We need to figure out the alignment required for this symbol. I
5167 /* Define the symbol as being at this point in the section. */
5171 /* Increment the section size to make room for the symbol. */
5178 decides to copy in check_relocs for each symbol. This is so that it
5184 copied for a given symbol. */
5201 symbol visibility changes. We allocated space for them in the
5459 /* A local symbol. */
5482 /* An external symbol. */