aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-12 05:34:16 -0600
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-12 05:34:16 -0600
commit6f7415033813c73fde81da60d209297901f35575 (patch)
tree87d5ad7d7fd55be58654daf8f2493ca5d8cb00e9 /sysdeps/unix/sysv
parent2868e0703d5b8c8e60c6f60de13e876c4d85daa0 (diff)
downloadglibc-6f7415033813c73fde81da60d209297901f35575.zip
glibc-6f7415033813c73fde81da60d209297901f35575.tar.gz
glibc-6f7415033813c73fde81da60d209297901f35575.tar.bz2
powerpc: Fix TABORT encoding for little endian
This patch fix the TABORT encoding for toolchains with no support for HTM builtins.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/htm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/htm.h b/sysdeps/unix/sysv/linux/powerpc/htm.h
index edac601..57d5cd6 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