diff options
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/dllwrap.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4acc0d4..d6af8df 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2020-11-20 Linda Zhang <lindasc@qq.com> + + PR 20979 + * dllwrap.c (main): Deprecate and warn the use of dllwrap. + 2020-11-20 Jozef Lawrynowicz <jozef.l@mittosystems.com> * testsuite/binutils-all/readelf-maskos-1a.d: Fix test for unrecognized diff --git a/binutils/dllwrap.c b/binutils/dllwrap.c index c8cdf84..97c8cb8 100644 --- a/binutils/dllwrap.c +++ b/binutils/dllwrap.c @@ -639,6 +639,9 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); + warn (_("WARNING: %s is deprecated, use gcc -shared or ld -shared instead\n"), + prog_name); + expandargv (&argc, &argv); saved_argv = (char **) xmalloc (argc * sizeof (char*)); |