From 6fd36c3b7af51a7af730edd9fa5bff04c493abf9 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 6 May 2020 01:08:19 +0000 Subject: [PATCH] GNU as: print a deprecation warning on program start GNU as 2.17.50 will be removed before FreeBSD 13. --- contrib/binutils/gas/as.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/binutils/gas/as.c b/contrib/binutils/gas/as.c index b05f9d514a30..feaa7fb95136 100644 --- a/contrib/binutils/gas/as.c +++ b/contrib/binutils/gas/as.c @@ -1089,6 +1089,7 @@ main (int argc, char ** argv) expandargv (&argc, &argv); START_PROGRESS (myname, 0); + fprintf (stderr, _("warning: as 2.17.50 is deprecated in FreeBSD and will be removed\n")); #ifndef OBJ_DEFAULT_OUTPUT_FILE_NAME #define OBJ_DEFAULT_OUTPUT_FILE_NAME "a.out"