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 /sysdeps/powerpc/powerpc64/power4/memcmp.S | |
parent | 972af9e8ddd870cabf8aad39b28a6e352c9cc79c (diff) | |
download | glibc-0e87343e204b44468ffad0ec5dc8c8d6068f1227.tar.gz glibc-0e87343e204b44468ffad0ec5dc8c8d6068f1227.tar.xz glibc-0e87343e204b44468ffad0ec5dc8c8d6068f1227.zip |
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 'sysdeps/powerpc/powerpc64/power4/memcmp.S')
0 files changed, 0 insertions, 0 deletions