]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix tests which expose ldbl -> _Float128 redirects
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Fri, 7 Feb 2020 20:08:16 +0000 (14:08 -0600)
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Wed, 25 Mar 2020 19:34:23 +0000 (14:34 -0500)
commitd0d1811fb96d592e9b379b9176e1ab9d0b858916
treec1ea00dd08cb458d7a8daf11a0e59d40f6de5317
parent45ae17dd7ed3b9dea0d698d1c37a978d8d0a9aa2
Fix tests which expose ldbl -> _Float128 redirects

The ldbl redirects for ieee128 have some jagged edges when
inspecting and manipulating symbols directly.

e.g asprintf is unconditionally redirected to __asprintfieee128
thus any tests relying on GCC's redirect behavior will encounter
problems if they inspect the symbol names too closely.

I've mitigated tests which expose the limitations of the
ldbl -> f128 redirects by giving them knowledge about the
redirected symbol names.

Hopefully there isn't much user code which depends on this
implementation specific behavior.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
elf/tst-addr1.c
stdio-common/tst-vfprintf-user-type.c