]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc: Fix TABORT encoding for little endian
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 12 Feb 2015 11:34:16 +0000 (05:34 -0600)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 12 Feb 2015 13:02:00 +0000 (07:02 -0600)
This patch fix the TABORT encoding for toolchains with no support for
HTM builtins.

ChangeLog
sysdeps/unix/sysv/linux/powerpc/htm.h

index c1be36e8085fb145016e2dc13f7977b229a7a39e..3e91cf1ea56f322733b019d69f5552b2860771c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
+       little endian.
+
 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
index 4e8fb6bbc3a7b2aff81a3bd3ec2da49ab3d8e723..4a570bea6ed07e81b1f083048e564023a27b1bce 100644 (file)
@@ -60,7 +60,7 @@
 #define TBEGIN ".long 0x7c00051d"
 #define TEND   ".long 0x7c00055d"
 #if __BYTE_ORDER == __LITTLE_ENDIAN
-# define TABORT ".byte 0x1d,0x07,%1,0x1d"
+# define TABORT ".byte 0x1d,0x07,%1,0x7c"
 #else
 # define TABORT ".byte 0x7c,%1,0x07,0x1d"
 #endif