[EXT] Re: gdb does not stop at printf for ppc
Sachin Monga
smonga@linux.ibm.com
Wed Nov 5 06:00:41 GMT 2025
Hi Peter/All
>diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf.c
b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf.c
>index 7b1640ceac..d567d98c68 100644
>--- a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf.c
>+++ b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf.c
>@@ -33,3 +33,6 @@ ___ieee128_printf (const char *format, ...)
> return done;
>}
>strong_alias (___ieee128_printf, __printfieee128)
>+
>+asm (".local printf\n"
>+ ".set printf, __printfieee128");
> ZjQcmQRYFpfptBannerEnd
> Thanks Adhemerval/Peter
>
> Ok, I can try for the printf and test it.
I've tested the solution provided by Adhmerval and it worked well. No
regressions found on test-suite also.
Also, it rules out the ieee ABI machine logic since
"-mabi=ieeelongdouble" does not seem to have impact over the reported issue.
Next, my question to the community is that do I need to create aliasing
for all the symbols as in the list prepared by Carl as discussed in the
thread ?
For now, I need urgent solution for printf specifically. So, Is it ok to
proceed and share this change for printf only ?
Regards:
Sachin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20251105/a2c5118f/attachment.htm>
More information about the Libc-alpha
mailing list