Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: more on proff crash building native
On Sat, 7 Feb 2009, Brad Parker wrote:
der Mouse wrote:
[T]he real problem has to do with the code in libm.so
(__libm_dsqrt_r5) doing a rsb with the stack wrong. Basically the 2
double args (4 words) are still on the stack.
I should have checked this earlier. This diff is interesting.
--- /mwave/files1/netbsd/NetBSD-3/src/lib/libm/arch/vax/n_sqrt.S 2004-05\
-13 16:35:40.000000000 -0400
+++ /mwave/files1/netbsd/NetBSD-5_beta/src/lib/libm/arch/vax/n_sqrt.S 2007-04\
-18 00:46:13.000000000 -0400
@@ -1,4 +1,4 @@
-/* $NetBSD: n_sqrt.S,v 1.7 2004/05/13 20:35:40 mhitch Exp $ */
+/* $NetBSD: n_sqrt.S,v 1.8 2007/04/18 04:46:13 matt Exp $ */
The commit message is also interesting:
Make the internal __libm_dsqrt_r6 have a fake entry mask of 0 to make
ld.elf_so.
I can't interpret the gimplish - it could be to make ld.elf_so work, or
could be to make ld.elf_so happy, or something else. [And I presume that
should have been __libm_dsqrt_r5 rather than __libm_dsqrt_r6.]
--
Michael L. Hitch mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA
Home |
Main Index |
Thread Index |
Old Index