diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-23 11:16:49 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-24 08:38:39 -0500 |
commit | 0e87343e204b44468ffad0ec5dc8c8d6068f1227 (patch) | |
tree | 9d8fec4386efad530b94e129c8549ff4342cc959 /ChangeLog | |
parent | 972af9e8ddd870cabf8aad39b28a6e352c9cc79c (diff) | |
download | glibc-0e87343e204b44468ffad0ec5dc8c8d6068f1227.tar.gz |
powerpc: Fix ifuncmain6pie failure with GCC 4.9
This patch fix the elf/ifuncmain6pie failure when building with GCC
4.9+. For some reason, the compiler removes the branch taken code at
resolve_ifunc (sysdeps/powerpc/powerpc64/dl-machine.h) as dead-code
and thus the testcase fails because the ifunc resolves branches to an
invalid memory location. It fixes by explicit adding a dependency of
value based on odp variable to avoid compiler optimization.
It fixes BZ#17868.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com> + + [BZ #17868] + * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value + set dependency from opd value. + 2015-01-23 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): |