diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-02-12 05:34:16 -0600 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-02-12 07:02:00 -0600 |
commit | d3b0c8db9a4080c4f8a71cbf6912c05422094594 (patch) | |
tree | 8ceb443987d981c79c43e4fe496ee624f71576e5 | |
parent | 1d19c9bc0dabb1d10c07cf4eec063f9da8406c2f (diff) | |
download | glibc-d3b0c8db9a4080c4f8a71cbf6912c05422094594.tar.gz glibc-d3b0c8db9a4080c4f8a71cbf6912c05422094594.tar.xz glibc-d3b0c8db9a4080c4f8a71cbf6912c05422094594.zip |
powerpc: Fix TABORT encoding for little endian
This patch fix the TABORT encoding for toolchains with no support for HTM builtins.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/htm.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index c1be36e808..3e91cf1ea5 100644 --- 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. diff --git a/sysdeps/unix/sysv/linux/powerpc/htm.h b/sysdeps/unix/sysv/linux/powerpc/htm.h index 4e8fb6bbc3..4a570bea6e 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 |