From 75bed973c865be279cc0ab390372eab391b2541a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 3 Nov 2022 20:15:19 +0700 Subject: [PATCH] sim: ppc: include copyright & license in --version This makes it match the other sim run programs and GNU tools. --- sim/ppc/psim.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c index acc40edf8aa..863e2ed9688 100644 --- a/sim/ppc/psim.c +++ b/sim/ppc/psim.c @@ -359,6 +359,11 @@ psim_options(device *root, { extern const char version[]; printf ("GNU simulator %s%s\n", PKGVERSION, version); + printf ("Copyright (C) 2022 Free Software Foundation, Inc.\n"); + printf ( "\ +License GPLv3+: GNU GPL version 3 or later \ +\nThis is free software: you are free to change and redistribute it.\n\ +There is NO WARRANTY, to the extent permitted by law.\n"); if (kind == SIM_OPEN_STANDALONE) exit (0); else -- 2.30.2