Lines Matching refs:symbol
77 /* An array containing ptrs to all the symbol names copied from
78 this object into the global symbol hash table. This is so that
300 // SYMBOL TABLE(s)
303 * lookup a symbol in the global symbol table
424 char *symbol = NULL;
453 /* First see if it is a local symbol. */
455 /* Yes, so we can get the address directly from the ELF symbol
457 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
464 symbol = strtab + sym.st_name;
465 S = (Elf_Addr)lookupSymbol( symbol );
468 S = (Elf_Addr)lookup_magic_hacks(symbol);
471 fprintf(stderr,"%s: unknown symbol `%s'\n",
472 oc->fileName, symbol);
476 fprintf(stderr, "\n`%s' resolves to %p\n", symbol, (void*)S );
517 delta, symbol);
550 char *symbol;
588 /* First see if it is a local symbol
590 /* Yes, so we can get the address directly from the ELF symbol
592 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
605 symbol = strtab + sym.st_name;
606 S = (Elf_Addr)lookupSymbol( symbol );
612 belch("%s: function %s with addend %p", oc->fileName, symbol, (void *)A);
616 fprintf(stderr,"%s: unknown symbol `%s'\n", oc->fileName, symbol);
619 IF_DEBUG(linker,belch( "`%s' resolves to %p\n", symbol, (void*)S ));
718 /* first find "the" symbol table */
725 fprintf(stderr,"%s: can't find string or symbol table\n", oc->fileName);
752 /* Free the local symbol table; we won't need it again. */
890 if (debug_linker>1) fprintf(stderr, "section %d is a symbol table\n", i );
900 fprintf(stderr,"%s: non-integral number of symbol table entries\n",
936 fprintf(stderr,"%s: didn't find any symbol tables\n", oc->fileName);
1040 /* copy stuff into this module's object symbol table */
1061 fprintf(stderr, "COMMON symbol, size %d name %s\n",
1071 /* and not an undefined symbol */
1086 fprintf(stderr, " BSS symbol, size %d off %d name %s\n",
1097 * in the symbol table */
1151 * Load an obj (populate the global symbol table, but don't resolve yet)
1250 /* build the symbol list for this image */