Add a fix for an arm7hl problem found by GCC9
Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
parent
7eb2dc8b3a
commit
65077e748a
@ -1,6 +1,6 @@
|
||||
Name: acpica-tools
|
||||
Version: 20190509
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: ACPICA tools for the development and debug of ACPI tables
|
||||
|
||||
License: GPLv2
|
||||
@ -237,6 +237,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 13 2019 Al Stone <ahs3@redhat.com> - 20190509-2
|
||||
- Added an arm7hl specific fix to the gcc9 corrections.
|
||||
|
||||
* Sat May 11 2019 Al Stone <ahs3@redhat.com> - 20190509-1
|
||||
- Update to 20190509 source tree, including patch refeshes.
|
||||
|
||||
|
14
gcc9.patch
14
gcc9.patch
@ -63,3 +63,17 @@ diff -Naur acpica-unix2-20190108/source/compiler/aslcodegen.c acpica-unix2-20190
|
||||
|
||||
/* OEM Revision */
|
||||
|
||||
diff -Naur acpica-unix2-20190509.orig/source/include/platform/aclinux.h acpica-unix2-20190509/source/include/platform/aclinux.h
|
||||
--- acpica-unix2-20190509.orig/source/include/platform/aclinux.h 2019-05-13 10:15:12.878784098 -0600
|
||||
+++ acpica-unix2-20190509/source/include/platform/aclinux.h 2019-05-13 10:33:52.505004418 -0600
|
||||
@@ -231,6 +231,10 @@
|
||||
#define __cdecl
|
||||
#endif
|
||||
|
||||
+#ifdef __ARM_ARCH_7__
|
||||
+#undef ACPI_MISALIGNMENT_NOT_SUPPORTED
|
||||
+#endif
|
||||
+
|
||||
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||
#define ACPI_BIG_ENDIAN
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user