Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 18:08:53 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r311529 - head/sys/contrib/dev/acpica/compiler
Message-ID:  <201701061808.v06I8rtS012472@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Fri Jan  6 18:08:53 2017
New Revision: 311529
URL: https://svnweb.freebsd.org/changeset/base/311529

Log:
  Remove '-vd' option to make iasl(8) reproducible.
  
  PR:		215421

Modified:
  head/sys/contrib/dev/acpica/compiler/aslhelp.c
  head/sys/contrib/dev/acpica/compiler/asloptions.c

Modified: head/sys/contrib/dev/acpica/compiler/aslhelp.c
==============================================================================
--- head/sys/contrib/dev/acpica/compiler/aslhelp.c	Fri Jan  6 18:08:42 2017	(r311528)
+++ head/sys/contrib/dev/acpica/compiler/aslhelp.c	Fri Jan  6 18:08:53 2017	(r311529)
@@ -73,7 +73,6 @@ Usage (
     ACPI_OPTION ("-I <dir>",        "Specify additional include directory");
     ACPI_OPTION ("-p <prefix>",     "Specify path/filename prefix for all output files");
     ACPI_OPTION ("-v",              "Display compiler version");
-    ACPI_OPTION ("-vd",             "Display compiler build date and time");
     ACPI_OPTION ("-vo",             "Enable optimization comments");
     ACPI_OPTION ("-vs",             "Disable signon");
 

Modified: head/sys/contrib/dev/acpica/compiler/asloptions.c
==============================================================================
--- head/sys/contrib/dev/acpica/compiler/asloptions.c	Fri Jan  6 18:08:42 2017	(r311528)
+++ head/sys/contrib/dev/acpica/compiler/asloptions.c	Fri Jan  6 18:08:53 2017	(r311529)
@@ -70,9 +70,6 @@ AslDoResponseFile (
 #define ASL_TOKEN_SEPARATORS    " \t\n"
 #define ASL_SUPPORTED_OPTIONS   "@:a:b|c|d^D:e:f^gh^i|I:l^m:no|p:P^r:s|t|T+G^v^w|x:z"
 
-static char ASL_BUILD_DATE[] = __DATE__;
-static char ASL_BUILD_TIME[] = __TIME__;
-
 
 /*******************************************************************************
  *
@@ -727,12 +724,6 @@ AslDoOptions (
             Gbl_NoErrors = TRUE;
             break;
 
-        case 'd':
-
-            printf ("%s Build date/time: %s %s\n",
-                ASL_COMPILER_NAME, ASL_BUILD_DATE, ASL_BUILD_TIME);
-            exit (0);
-
         case 'e':
 
             /* Disable all warning/remark messages (errors only) */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701061808.v06I8rtS012472>