summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@google.com>2018-10-05 16:05:48 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-01-04 10:28:46 +0000
commitd1584fb2502a5d4741cf3f97d6f572dffd1aea04 (patch)
tree893dab031a04263b9728cf3b4def4c36888aefc7 /util/crossgcc/patches
parentaedb1dfbbbb231c0e8b58a21f56cf70bd9aa829a (diff)
downloadcoreboot-d1584fb2502a5d4741cf3f97d6f572dffd1aea04.tar.xz
crossgcc: Update acpica to 20180927
Update to latest version of iasl: (From the acpica.org changelogs) * Fixed a regression introduced in version 20180927 that could cause the compiler to fault, especially with NamePaths containing one or more carats (^). Such as: ^^_SB_PCI0 * Added a new remark for the Sleep() operator when the sleep time operand is larger than one second. This is a very long time for the ASL/BIOS code and may not be what was intended by the ASL writer. * Implemented detection of extraneous/redundant uses of the Offset() operator within a Field Unit list. A remark is now issued for these. For example, the first two of the Offset() operators below are extraneous. Because both the compiler and the interpreter track the offsets automatically, these Offsets simply refer to the current offset and are unnecessary. Note, when optimization is enabled, the iASL compiler will in fact remove the redundant Offset operators and will not emit any AML code for them. Change-Id: I46a1b1be44328aa2172f4741e9fd0c9b0f4e0430 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/c/28944 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r--util/crossgcc/patches/acpica-unix2-20181003_iasl.patch (renamed from util/crossgcc/patches/acpica-unix2-20180810_iasl.patch)20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/crossgcc/patches/acpica-unix2-20180810_iasl.patch b/util/crossgcc/patches/acpica-unix2-20181003_iasl.patch
index 58ccb02a7e..8110b61771 100644
--- a/util/crossgcc/patches/acpica-unix2-20180810_iasl.patch
+++ b/util/crossgcc/patches/acpica-unix2-20181003_iasl.patch
@@ -1,27 +1,27 @@
-diff -Naur acpica-unix2-20180810_/source/compiler/asloptions.c acpica-unix2-20180810/source/compiler/asloptions.c > acpica-unix2-20180810_iasl.patch
---- acpica-unix2-20180810_/source/compiler/asloptions.c
-+++ acpica-unix2-20180810/source/compiler/asloptions.c
+diff -Naur acpica-unix2-20181003.orig/source/compiler/asloptions.c acpica-unix2-20181003/source/compiler/asloptions.c
+--- acpica-unix2-20181003.orig/source/compiler/asloptions.c 2018-09-27 07:15:04.000000000 -0700
++++ acpica-unix2-20181003/source/compiler/asloptions.c 2018-10-03 12:48:08.346641839 -0700
@@ -126,6 +126,7 @@
- if (Gbl_DoSignon)
+ if (AslGbl_DoSignon)
{
printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
-+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
- if (Gbl_IgnoreErrors)
++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
+ if (AslGbl_IgnoreErrors)
{
printf ("Ignoring all errors, forcing AML file generation\n\n");
@@ -753,6 +754,7 @@
case '^':
-
+
printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
exit (0);
-
+
case 'a':
@@ -766,6 +768,7 @@
-
+
printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
printf (ACPI_COMMON_BUILD_TIME);
+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
exit (0);
-
+
case 'e':