summaryrefslogtreecommitdiff
path: root/source/compiler/asloptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/asloptions.c')
-rw-r--r--source/compiler/asloptions.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c
index 85f5aef8dfc1..b9d4e3c40702 100644
--- a/source/compiler/asloptions.c
+++ b/source/compiler/asloptions.c
@@ -70,6 +70,9 @@ 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__;
+
/*******************************************************************************
*
@@ -404,6 +407,11 @@ AslDoOptions (
UtDisplayConstantOpcodes ();
exit (0);
+ case 'd':
+
+ AslDisassemblyHelp ();
+ exit (0);
+
case 'f':
AslFilenameHelp ();
@@ -712,6 +720,12 @@ 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) */