Lines Matching refs:symbol
171 /* Translate an ELF symbol in external format into an ELF symbol in internal
205 /* Translate an ELF symbol in internal format into an ELF symbol in external
1125 elf_symbol_type *sym; /* Pointer to current bfd symbol */
1135 /* Read each raw ELF symbol, converting from external ELF form to
1137 canonical bfd symbol table entry.
1139 Note that we allocate the initial bfd canonical symbol buffer
1184 /* Read the raw ELF version symbol information. */
1189 (_("%s: version count (%ld) does not match symbol count (%ld)"),
1212 /* Skip first symbol, which is a null dummy. */
1220 sym->symbol.the_bfd = abfd;
1222 sym->symbol.name = bfd_elf_sym_name (abfd, hdr, isym, NULL);
1224 sym->symbol.value = isym->st_value;
1228 sym->symbol.section = bfd_und_section_ptr;
1232 sym->symbol.section = bfd_abs_section_ptr;
1236 sym->symbol.section = bfd_com_section_ptr;
1249 sym->symbol.section = xc;
1255 sym->symbol.value = isym->st_size;
1259 sym->symbol.section
1261 if (sym->symbol.section == NULL)
1263 /* This symbol is in a section for which we did not
1266 sym->symbol.section = bfd_abs_section_ptr;
1270 /* If this is a relocatable file, then the symbol value is
1273 sym->symbol.value -= sym->symbol.section->vma;
1278 sym->symbol.flags |= BSF_LOCAL;
1282 sym->symbol.flags |= BSF_GLOBAL;
1285 sym->symbol.flags |= BSF_WEAK;
1288 sym->symbol.flags |= BSF_GNU_UNIQUE;
1295 sym->symbol.flags |= BSF_SECTION_SYM | BSF_DEBUGGING;
1298 sym->symbol.flags |= BSF_FILE | BSF_DEBUGGING;
1301 sym->symbol.flags |= BSF_FUNCTION;
1308 sym->symbol.flags |= BSF_OBJECT;
1311 sym->symbol.flags |= BSF_THREAD_LOCAL;
1314 sym->symbol.flags |= BSF_RELC;
1317 sym->symbol.flags |= BSF_SRELC;
1320 sym->symbol.flags |= BSF_GNU_INDIRECT_FUNCTION;
1325 sym->symbol.flags |= BSF_DYNAMIC;
1336 /* Do some backend-specific processing on this symbol. */
1338 (*ebd->elf_backend_symbol_processing) (abfd, &sym->symbol);
1342 /* Do some backend-specific processing on this symbol table. */
1346 /* We rely on the zalloc to clear out the final symbol entry. */
1350 /* Fill in the user's symbol pointer vector if needed. */
1358 *symptrs++ = &sym->symbol;
1443 (_("%s(%s): relocation %d has invalid symbol index %ld"),
1516 dynamic symbol table, and in that case bfd_section_from_shdr