Add a warning to dllwrap that it is deprecated.
PR 20979 * dllwrap.c (main): Deprecate and warn the use of dllwrap.
This commit is contained in:
parent
cc6fd584ed
commit
8881640c80
@ -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
|
||||
|
@ -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*));
|
||||
|
Loading…
x
Reference in New Issue
Block a user