Home | History | Annotate | Download | only in switchback

Lines Matching refs:symbol

141     /* An array containing ptrs to all the symbol names copied from
142 this object into the global symbol hash table. This is so that
366 // SYMBOL TABLE(s)
369 * lookup a symbol in the global symbol table
518 char *symbol = NULL;
547 /* First see if it is a local symbol. */
549 /* Yes, so we can get the address directly from the ELF symbol
551 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
558 symbol = strtab + sym.st_name;
559 S = (Elf_Addr)lookupSymbol( symbol );
562 S = (Elf_Addr)lookup_magic_hacks(symbol);
565 fprintf(stderr,"%s: unknown symbol `%s'\n",
566 oc->fileName, symbol);
570 fprintf(stderr, "\n`%s' resolves to %p\n", symbol, (void*)S );
611 delta, symbol);
644 char *symbol;
693 /* First see if it is a local symbol. */
695 /* Yes, so we can get the address directly from the ELF symbol
697 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
710 symbol = strtab + sym.st_name;
711 S = (Elf_Addr)lookupSymbol( symbol );
717 belch("%s: function %s with addend %p", oc->fileName, symbol, (void *)A);
721 fprintf(stderr,"%s: unknown symbol `%s'\n", oc->fileName, symbol);
725 fprintf(stderr, "`%s' resolves to %p\n", symbol, (void*)S );
876 /* first find "the" symbol table */
883 fprintf(stderr,"%s: can't find string or symbol table\n", oc->fileName);
910 /* Free the local symbol table; we won't need it again. */
1051 if (debug_linker>1) fprintf(stderr, "section %d is a symbol table\n", i );
1061 fprintf(stderr,"%s: non-integral number of symbol table entries\n",
1097 fprintf(stderr,"%s: didn't find any symbol tables\n", oc->fileName);
1200 /* copy stuff into this module's object symbol table */
1227 fprintf(stderr, "COMMON symbol, size %lld name %s allocd %p\n",
1236 /* and not an undefined symbol */
1251 fprintf(stderr, " BSS symbol, size %d off %d name %s\n",
1262 * in the symbol table */
1316 * Load an obj (populate the global symbol table, but don't resolve yet)
1416 /* build the symbol list for this image */