1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

powerpc: Fix TABORT encoding for little endian

This patch fix the TABORT encoding for toolchains with no support for
HTM builtins.
This commit is contained in:
Adhemerval Zanella
2015-02-12 05:34:16 -06:00
parent 2868e0703d
commit 6f74150338
2 changed files with 6 additions and 1 deletions

View 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