Lines Matching refs:symbol
29 * crunchide.c - tiptoes through an a.out symbol table, hiding all defined
53 * relative reloc from a global symbol, other than PIC? The
54 * solution is to not hide the symbol from the linker in this case,
84 void add_to_keep_list(char *symbol);
134 "usage: %s [-k <symbol-name>] [-f <keep-list-file>] <files> ...\n",
147 add_to_keep_list(char *symbol)
155 if((cmp = strcmp(symbol, curp->sym)) <= 0) break;
161 if(newp) newp->sym = strdup(symbol);
173 in_keep_list(const char *symbol)
181 if((cmp = strcmp(symbol, curp->sym)) <= 0) break;
190 char symbol[1024];
198 while(fgets(symbol, sizeof(symbol), keepf)) {
199 len = strlen(symbol);
200 if(len && symbol[len-1] == '\n')
201 symbol[len-1] = '\0';
203 add_to_keep_list(symbol);