Home | History | Annotate | Download | only in siop

Lines Matching refs:symbols

127 } symbols[MAXSYMBOLS];
503 if ((symbols[i].flags & F_DEFINED) == 0 &&
504 symbols[i].type != S_EXTERNAL) {
506 symbols[i].name);
508 if (symbols[i].type == S_ABSOLUTE)
510 else if (symbols[i].type == S_RELATIVE)
512 else if (symbols[i].type == S_EXTERNAL)
514 else if (symbols[i].flags & F_ENTRY)
518 fprintf (outfp, "#define\t%s%s\t0x%08x\n", code, symbols[i].name,
519 symbols[i].value);
520 if (symbols[i].flags & F_ENTRY || symbols[i].patchlist == NULL)
522 fprintf (outfp, "u_int32_t %s%s_Used[] = {\n", code, symbols[i].name);
524 p = symbols[i].patchlist;
543 fprintf (listfp, "%08x: %-8s %s\n", symbols[i].value,
544 stypes[symbols[i].type], symbols[i].name);
631 if (symbols[i].type == type && strcmp (symbols[i].name, name) == 0) {
632 if (symbols[i].flags & F_DEFINED) {
637 symbols[i].flags |= flags;
638 symbols[i].value = value;
639 p = symbols[i].patchlist;
655 symbols[nsymbols].type = type;
656 symbols[nsymbols].flags = flags;
657 symbols[nsymbols].value = value;
658 symbols[nsymbols].patchlist = NULL;
659 symbols[nsymbols].name = malloc (strlen (name) + 1);
660 strcpy (symbols[nsymbols].name, name);
831 if (strcmp (name, symbols[i].name) == 0) {
832 if ((symbols[i].flags & F_DEFINED) == 0) {
833 p = (struct patchlist *) &symbols[i].patchlist;
841 return ((int) symbols[i].value);
848 symbols[nsymbols].type = S_LABEL; /* assume forward reference */
849 symbols[nsymbols].flags = 0;
850 symbols[nsymbols].value = 0;
852 symbols[nsymbols].patchlist = p;
855 symbols[nsymbols].name = malloc (strlen (name) + 1);
856 strcpy (symbols[nsymbols].name, name);
889 * f_list: process list of symbols for the ENTRY and EXTERNAL directive