aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/readdir_r.c
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-03-06 09:40:27 -0600
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-04-06 10:23:58 -0500
commit4531ba8ebfedf97a31834201eaaf71c375793de2 (patch)
tree2c00f1f5f04c107237740cc81e5fda049ee682dc /sysdeps/unix/sysv/linux/readdir_r.c
parent8e72163b16bfe874a415a558f78911e5d05c5f22 (diff)
downloadglibc-4531ba8ebfedf97a31834201eaaf71c375793de2.tar
glibc-4531ba8ebfedf97a31834201eaaf71c375793de2.tar.gz
glibc-4531ba8ebfedf97a31834201eaaf71c375793de2.tar.bz2
glibc-4531ba8ebfedf97a31834201eaaf71c375793de2.zip
powerpc64le: enforce non-specific long double in .gnu.attributes section
We turn off this feature to avoid polluting our shared libary with a specific value. However, static libgcc is not under our control, and has enabled this for ibm128 routines. This pollutes the resulting shared libraries with it. Attach a post-linking hook to replace this section with one crafted as hard-float + indeterminate ldbl. This allows IEEE ldbl users to avoid having to disable the gnu attributes feature which should protect them from linking ibm ldbl libraries using the gnu attributes feature. Currently, this only replaces libc and libm which support both ldbl formats and rely on application code to explicitly determine which is to be used. Strictly speaking, the section could be deleted with minimal lost value. However correctly set attributes could prove useful for some future change, and similarly missing attributes. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/readdir_r.c')
0 files changed, 0 insertions, 0 deletions