diff options
author | Martin Sebor <msebor@redhat.com> | 2015-06-01 14:12:09 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-06-01 16:19:50 -0300 |
commit | db8fed87d9741b6b3da6c2257f01d63ef2fe407c (patch) | |
tree | d953222a4268f606005216e2f7d8a91ec6fca0a7 /ChangeLog | |
parent | 0cd2828695cc328aa1b48379436d15c39d433076 (diff) | |
download | glibc-db8fed87d9741b6b3da6c2257f01d63ef2fe407c.tar.gz glibc-db8fed87d9741b6b3da6c2257f01d63ef2fe407c.tar.xz glibc-db8fed87d9741b6b3da6c2257f01d63ef2fe407c.zip |
powerpc: setcontext.S uses power6 mtfsf when not supported [BZ #18116]
The attached patch fixes a glibc build failure with gcc 5 on powerpc64le caused by a recent change in gcc where the compiler defines the _ARCH_PWR6 macro when processing assembly files but doesn't invoke the assembler in the corresponding machine mode (unless it has been explicitly configured to target POWER 6 or later). A bug had been filed with gcc for this (65341) but was closed as won't fix. Glibc relies on the _ARCH_PWR6 macro in a few .S files to make use of Power ISA 2.5 instructions (specifically, the four-argument form of the mtfsf insn). A similar problem had occurred in the past (bug 10118) but the fix that was committed for it didn't anticipate this new problem.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 6d295e720b..239a0e6bb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2015-03-11 Martin Sebor <msebor@redhat.com> + + [BZ #18116] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__setcontext): Use extended four-operand version of mtsf whenever + possible. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__novec_swapcontext): Likewise. + 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com> * benchtests/scripts/compare_bench.py: New file. |