Home | History | Annotate | Download | only in switchback

Lines Matching refs:symbol

143     /* An array containing ptrs to all the symbol names copied from
144 this object into the global symbol hash table. This is so that
368 // SYMBOL TABLE(s)
371 * lookup a symbol in the global symbol table
520 char *symbol = NULL;
549 /* First see if it is a local symbol. */
551 /* Yes, so we can get the address directly from the ELF symbol
553 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
560 symbol = strtab + sym.st_name;
561 S = (Elf_Addr)lookupSymbol( symbol );
564 S = (Elf_Addr)lookup_magic_hacks(symbol);
567 fprintf(stderr,"%s: unknown symbol `%s'\n",
568 oc->fileName, symbol);
572 fprintf(stderr, "\n`%s' resolves to %p\n", symbol, (void*)S );
613 delta, symbol);
646 char *symbol;
695 /* First see if it is a local symbol. */
697 /* Yes, so we can get the address directly from the ELF symbol
699 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
712 symbol = strtab + sym.st_name;
713 S = (Elf_Addr)lookupSymbol( symbol );
719 belch("%s: function %s with addend %p", oc->fileName, symbol, (void *)A);
723 fprintf(stderr,"%s: unknown symbol `%s'\n", oc->fileName, symbol);
727 fprintf(stderr, "`%s' resolves to %p\n", symbol, (void*)S );
878 /* first find "the" symbol table */
885 fprintf(stderr,"%s: can't find string or symbol table\n", oc->fileName);
912 /* Free the local symbol table; we won't need it again. */
1053 if (debug_linker>1) fprintf(stderr, "section %d is a symbol table\n", i );
1063 fprintf(stderr,"%s: non-integral number of symbol table entries\n",
1099 fprintf(stderr,"%s: didn't find any symbol tables\n", oc->fileName);
1202 /* copy stuff into this module's object symbol table */
1229 fprintf(stderr, "COMMON symbol, size %lld name %s allocd %p\n",
1238 /* and not an undefined symbol */
1253 fprintf(stderr, " BSS symbol, size %d off %d name %s\n",
1264 * in the symbol table */
1318 * Load an obj (populate the global symbol table, but don't resolve yet)
1418 /* build the symbol list for this image */