mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-08 18:28:33 +00:00
* nlmconv.c (main): Warn about imported symbols that are not in
the IMPORT list even if the IMPORT keyword is not used. Fixes PR 4006.
This commit is contained in:
parent
0f6df2eee0
commit
4e58b3ebfc
@ -1,5 +1,8 @@
|
|||||||
Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
|
Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
|
||||||
|
|
||||||
|
* nlmconv.c (main): Warn about imported symbols that are not in
|
||||||
|
the IMPORT list even if the IMPORT keyword is not used.
|
||||||
|
|
||||||
* nlmconv.c (debug, unlink_on_exit): New static variables.
|
* nlmconv.c (debug, unlink_on_exit): New static variables.
|
||||||
(long_options): Add "debug" and "linker".
|
(long_options): Add "debug" and "linker".
|
||||||
(main): Handle -d and -l arguments. Make command line input and
|
(main): Handle -d and -l arguments. Make command line input and
|
||||||
|
@ -514,8 +514,7 @@ main (argc, argv)
|
|||||||
|
|
||||||
/* If it's an undefined symbol, see if it's on the import list.
|
/* If it's an undefined symbol, see if it's on the import list.
|
||||||
Change the prefix if necessary. */
|
Change the prefix if necessary. */
|
||||||
if (bfd_get_section (sym) == &bfd_und_section
|
if (bfd_get_section (sym) == &bfd_und_section)
|
||||||
&& import_symbols != NULL)
|
|
||||||
{
|
{
|
||||||
register struct string_list *l;
|
register struct string_list *l;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user