Lines Matching defs:symbol
31 * crunchide.c - tiptoes through a symbol table, hiding all defined
55 * relative reloc from a global symbol, other than PIC? The
56 * solution is to not hide the symbol from the linker in this case,
82 static void add_to_keep_list(char *symbol);
131 "Usage: %s [-k keep-symbol] [-f keep-list-file] object-file\n"
145 add_to_keep_list(char *symbol)
153 if ((cmp = strcmp(symbol, curp->sym)) <= 0)
161 newp->sym = strdup(symbol);
175 in_keep_list(const char *symbol)
183 if((cmp = strcmp(symbol, curp->sym)) <= 0)
193 char symbol[1024];
201 while (fgets(symbol, 1024, keepf)) {
202 len = strlen(symbol);
203 if (len && symbol[len-1] == '\n')
204 symbol[len-1] = '\0';
206 add_to_keep_list(symbol);