summaryrefslogtreecommitdiffstats
path: root/source/compiler
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
committerjkim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
commitdbd90a99cde8c4a942a41f095faa72f479694173 (patch)
treeadad4747b5f7a0166c805c0a7a6bdd4c884aa24b /source/compiler
parentbed871bb76b9fc47b3a3595700ef242f22f33ea4 (diff)
downloadFreeBSD-src-dbd90a99cde8c4a942a41f095faa72f479694173.zip
FreeBSD-src-dbd90a99cde8c4a942a41f095faa72f479694173.tar.gz
Import ACPICA 20120711.
Diffstat (limited to 'source/compiler')
-rw-r--r--source/compiler/Makefile1
-rw-r--r--source/compiler/aslmain.c9
2 files changed, 8 insertions, 2 deletions
diff --git a/source/compiler/Makefile b/source/compiler/Makefile
index 9f704d2..86e0753 100644
--- a/source/compiler/Makefile
+++ b/source/compiler/Makefile
@@ -201,6 +201,7 @@ OBJECTS = \
utdebug.o \
utdecode.o \
utdelete.o \
+ utexcep.o \
utglobal.o \
utinit.o \
utlock.o \
diff --git a/source/compiler/aslmain.c b/source/compiler/aslmain.c
index 0e3e34d..568f395 100644
--- a/source/compiler/aslmain.c
+++ b/source/compiler/aslmain.c
@@ -96,7 +96,7 @@ AslDoResponseFile (
#define ASL_TOKEN_SEPARATORS " \t\n"
-#define ASL_SUPPORTED_OPTIONS "@:2b|c|d^D:e:fgh^i|I:l^mno|p:P^r:s|t|T:G^v|w|x:z"
+#define ASL_SUPPORTED_OPTIONS "@:2b|c|d^D:e:fgh^i|I:l^mno|p:P^r:s|t|T:G^v^w|x:z"
/*******************************************************************************
@@ -119,6 +119,7 @@ Options (
printf ("\nGlobal:\n");
ACPI_OPTION ("-@ <file>", "Specify command file");
ACPI_OPTION ("-I <dir>", "Specify additional include directory");
+ ACPI_OPTION ("-v", "Display compiler version");
printf ("\nPreprocessor:\n");
ACPI_OPTION ("-D <symbol>", "Define symbol for preprocessor use");
@@ -751,9 +752,13 @@ AslDoOptions (
break;
- case 'v': /* Verbosity settings */
+ case 'v': /* Version and verbosity settings */
switch (AcpiGbl_Optarg[0])
{
+ case '^':
+ printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
+ exit (0);
+
case 'a':
/* Disable All error/warning messages */
OpenPOWER on IntegriCloud