Blame SOURCES/name-miscompare.patch

025571
On big-endian machines, a test case looking for the methods _L1D and _E1D
025571
in the same scope would fail (see tests/misc/badcode.asl:184).  The names
025571
to be compared were being treated as 32-bit ints, and not strings.  Hence,
025571
the characters were re-ordered incorrectly, mismatching the assumptions
025571
made in the remainder of the function.
025571
025571
diff --git a/source/compiler/aslanalyze.c b/source/compiler/aslanalyze.c
025571
index bf5b37c..11eef08 100644
025571
--- a/source/compiler/aslanalyze.c
025571
+++ b/source/compiler/aslanalyze.c
025571
@@ -461,7 +461,7 @@ ApCheckForGpeNameConflict (
025571
 
025571
     /* Need a null-terminated string version of NameSeg */
025571
 
025571
-    ACPI_MOVE_32_TO_32 (Name, &Op->Asl.NameSeg);
025571
+    ACPI_MOVE_NAME (Name, &Op->Asl.NameSeg);
025571
     Name[ACPI_NAME_SIZE] = 0;
025571
 
025571
     /*
025571
@@ -488,7 +488,7 @@ ApCheckForGpeNameConflict (
025571
      * We are now sure we have an _Lxx or _Exx.
025571
      * Create the target name that would cause collision (Flip E/L)
025571
      */
025571
-    ACPI_MOVE_32_TO_32 (Target, Name);
025571
+    ACPI_MOVE_NAME (Target, Name);
025571
 
025571
     /* Inject opposite letter ("L" versus "E") */
025571