]> 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 11:34:16 +0000 (05:34 -0600)
This patch fix the TABORT encoding for toolchains with no support for
HTM builtins.

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

index 2941ec1fe069e68b4d12bcb8096525607408426d..cc8f5095835287317e805ddaff4ebc4db39c385c 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.
+
 2015-02-12  Andreas Schwab  <schwab@suse.de>
 
        [BZ #15790]
index edac601e9da2a07c201c1c3d1ae61458fa585d0a..57d5cd62620340ccd932dd913b8d0621ef8c5863 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