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>
This commit is contained in:
Stefan Reinauer 2018-10-05 16:05:48 -07:00 committed by Patrick Georgi
parent aedb1dfbbb
commit d1584fb250
4 changed files with 14 additions and 14 deletions

View File

@ -30,8 +30,8 @@
cd "$(dirname "$0")" || exit 1 cd "$(dirname "$0")" || exit 1
CROSSGCC_DATE="October 2nd, 2018" CROSSGCC_DATE="October 3nd, 2018"
CROSSGCC_VERSION="1.54" CROSSGCC_VERSION="1.55"
CROSSGCC_COMMIT=$( git describe ) CROSSGCC_COMMIT=$( git describe )
# default settings # default settings
@ -54,7 +54,7 @@ GCC_VERSION=8.1.0
GCC_AUTOCONF_VERSION=2.69 GCC_AUTOCONF_VERSION=2.69
BINUTILS_VERSION=2.30 BINUTILS_VERSION=2.30
GDB_VERSION=8.0 GDB_VERSION=8.0
IASL_VERSION=20180810 IASL_VERSION=20181003
PYTHON_VERSION=3.7.0 PYTHON_VERSION=3.7.0
EXPAT_VERSION=2.2.5 EXPAT_VERSION=2.2.5
# CLANG version number # CLANG version number

View File

@ -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 diff -Naur acpica-unix2-20181003.orig/source/compiler/asloptions.c acpica-unix2-20181003/source/compiler/asloptions.c
--- acpica-unix2-20180810_/source/compiler/asloptions.c --- acpica-unix2-20181003.orig/source/compiler/asloptions.c 2018-09-27 07:15:04.000000000 -0700
+++ acpica-unix2-20180810/source/compiler/asloptions.c +++ acpica-unix2-20181003/source/compiler/asloptions.c 2018-10-03 12:48:08.346641839 -0700
@@ -126,6 +126,7 @@ @@ -126,6 +126,7 @@
if (Gbl_DoSignon) if (AslGbl_DoSignon)
{ {
printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
if (Gbl_IgnoreErrors) if (AslGbl_IgnoreErrors)
{ {
printf ("Ignoring all errors, forcing AML file generation\n\n"); printf ("Ignoring all errors, forcing AML file generation\n\n");
@@ -753,6 +754,7 @@ @@ -753,6 +754,7 @@
case '^': case '^':
printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
exit (0); exit (0);
case 'a': case 'a':
@@ -766,6 +768,7 @@ @@ -766,6 +768,7 @@
printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
printf (ACPI_COMMON_BUILD_TIME); printf (ACPI_COMMON_BUILD_TIME);
+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
exit (0); exit (0);
case 'e': case 'e':

View File

@ -1 +0,0 @@
b8e1a287557dda6f4b71c4172a7a9123b6ffaf2a tarballs/acpica-unix2-20180810.tar.gz

View File

@ -0,0 +1 @@
663d11e3b54b152059515eac04130d8b0d49964b tarballs/acpica-unix2-20181003.tar.gz