Lynx support

This commit is contained in:
Stan Shebs 1993-09-28 20:51:22 +00:00
parent 9b3fa58950
commit 3f905ec153
2 changed files with 7 additions and 7 deletions

View File

@ -211,7 +211,7 @@ process_keepsyms (table, size)
ks_file = fopen (keepsyms_file, "r"); ks_file = fopen (keepsyms_file, "r");
if (!ks_file) if (!ks_file)
{ {
info ("%X%P: cannot open keep-symbols file `%s'\n", keepsyms_file); info_msg ("%X%P: cannot open keep-symbols file `%s'\n", keepsyms_file);
goto egress; goto egress;
} }
errno = 0; errno = 0;
@ -239,7 +239,7 @@ process_keepsyms (table, size)
if (!feof (ks_file)) if (!feof (ks_file))
/* error occurred */ /* error occurred */
{ {
info ("%X%P: error reading keep-symbols file `%s': %E\n", info_msg ("%X%P: error reading keep-symbols file `%s': %E\n",
keepsyms_file); keepsyms_file);
out = end; out = end;
goto egress; goto egress;
@ -247,7 +247,7 @@ process_keepsyms (table, size)
if (obstack_next_free (&obstack) != obstack_base (&obstack) + 1) if (obstack_next_free (&obstack) != obstack_base (&obstack) + 1)
/* eof in middle of symbol */ /* eof in middle of symbol */
{ {
info ("%X%P: eof reached mid-line while reading keep-symbols file `%s'\n", info_msg ("%X%P: eof reached mid-line while reading keep-symbols file `%s'\n",
keepsyms_file); keepsyms_file);
out = end; out = end;
goto egress; goto egress;
@ -268,7 +268,7 @@ process_keepsyms (table, size)
found = 1; found = 1;
} }
if (!found) if (!found)
info ("%P: symbol `%s' (requested to be kept) not found\n", ptr); info_msg ("%P: symbol `%s' (requested to be kept) not found\n", ptr);
} }
/* It'd be slightly faster to move this pass above the previous one, /* It'd be slightly faster to move this pass above the previous one,
but that'd mean any symbols preserved in this pass would generate but that'd mean any symbols preserved in this pass would generate
@ -304,7 +304,7 @@ list_file_locals (entry)
/* If this is a definition, /* If this is a definition,
update it if necessary by this file's start address. */ update it if necessary by this file's start address. */
if (p->flags & BSF_LOCAL) if (p->flags & BSF_LOCAL)
info (" %V %s\n", p->value, p->name); info_msg (" %V %s\n", p->value, p->name);
} }
} }
} }
@ -621,7 +621,7 @@ ldsym_write ()
if (keepsyms_file != 0 if (keepsyms_file != 0
&& strip_symbols != STRIP_SOME) && strip_symbols != STRIP_SOME)
{ {
info ("%P: `-retain-symbols-file' overrides `-s' and `-S'\n"); info_msg ("%P: `-retain-symbols-file' overrides `-s' and `-S'\n");
strip_symbols = STRIP_SOME; strip_symbols = STRIP_SOME;
} }
if (strip_symbols != STRIP_ALL) if (strip_symbols != STRIP_ALL)

View File

@ -87,7 +87,7 @@ produce_warnings (lgs, it)
ptr = lgs->srefs_chain; ptr = lgs->srefs_chain;
while (ptr != (asymbol **)NULL) { while (ptr != (asymbol **)NULL) {
asymbol *ref = *ptr; asymbol *ref = *ptr;
info("%B: %s\n", bfd_asymbol_bfd(ref), fetch_warning(it)); info_msg ("%B: %s\n", bfd_asymbol_bfd(ref), fetch_warning(it));
ptr = (asymbol **)(ref->udata); ptr = (asymbol **)(ref->udata);
} }
} }