| 903 | */ |
| 904 | #ifdef DDB |
| 905 | static int |
| 906 | linker_debug_lookup(const char *symstr, c_linker_sym_t *sym) |
| 907 | { |
| 908 | linker_file_t lf; |
| 909 | |
| 910 | TAILQ_FOREACH(lf, &linker_files, link) { |
| 911 | if (LINKER_LOOKUP_SYMBOL(lf, symstr, sym) == 0) |
| 912 | return (0); |
| 913 | } |
| 914 | return (ENOENT); |
| 915 | } |
| 916 | #endif |
| 917 | |
| 918 | static int |