From: Adhemerval Zanella Date: Thu, 12 Feb 2015 11:34:16 +0000 (-0600) Subject: powerpc: Fix TABORT encoding for little endian X-Git-Tag: glibc-2.22~605 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f7415033813c73fde81da60d209297901f35575;p=thirdparty%2Fglibc.git powerpc: Fix TABORT encoding for little endian This patch fix the TABORT encoding for toolchains with no support for HTM builtins. --- diff --git a/ChangeLog b/ChangeLog index 2941ec1fe06..cc8f5095835 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-12 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for + little endian. + 2015-02-12 Andreas Schwab [BZ #15790] diff --git a/sysdeps/unix/sysv/linux/powerpc/htm.h b/sysdeps/unix/sysv/linux/powerpc/htm.h index edac601e9da..57d5cd62620 100644 --- a/sysdeps/unix/sysv/linux/powerpc/htm.h +++ b/sysdeps/unix/sysv/linux/powerpc/htm.h @@ -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