[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r15844 - in /libdfp/trunk: ChangeLog README.user sysdeps/dpd/Versions sysdeps/soft-dfp/dpd/Versions
- To: commits@xxxxxxxxxx
- Subject: [Commits] r15844 - in /libdfp/trunk: ChangeLog README.user sysdeps/dpd/Versions sysdeps/soft-dfp/dpd/Versions
- From: ryanarn@xxxxxxxxxx
- Date: Wed, 16 Nov 2011 21:09:48 -0000
Author: ryanarn
Date: Wed Nov 16 21:09:47 2011
New Revision: 15844
Log:
Libdfp soft-dfp had exported symbols for bfp<->dfp conversions, __dpd_extend*
and __dpd_trunc* since 1.0.0 exported but there were not implementations for
hard-dfp, so when an application is built and linked against the soft-df
libdfp and then run against the hard-dfp libdfp there are errors like the
following:
__dpd_extendsftd, version LIBDFP_1.0.0 not defined in file libdfp.so.1
This patch provides these symbol exports for hard-dfp as well so that the
implementations added for hard-dfp in an earlier checkin actually get built
for hard-dfp.
2011-11-16 Ryan S. Arnold <rsa@xxxxxxxxxxxxxxxxxx>
* README.user: Updated with instructions for using #include <dfp/ >.
* sysdeps/soft-dfp/dpd/Versions: Moved __dpd_extend* and __dpd_trunc*
symbol definitions from here to...
* sysdeps/dpd/Versions: here, since these are needed for all versions
of libdfp, not just the soft-dfp version.
Modified:
libdfp/trunk/ChangeLog
libdfp/trunk/README.user
libdfp/trunk/sysdeps/dpd/Versions
libdfp/trunk/sysdeps/soft-dfp/dpd/Versions
Modified: libdfp/trunk/ChangeLog
==============================================================================
--- libdfp/trunk/ChangeLog (original)
+++ libdfp/trunk/ChangeLog Wed Nov 16 21:09:47 2011
@@ -1,3 +1,11 @@
+2011-11-16 Ryan S. Arnold <rsa@xxxxxxxxxxxxxxxxxx>
+
+ * README.user: Updated with instructions for using #include <dfp/ >.
+ * sysdeps/soft-dfp/dpd/Versions: Moved __dpd_extend* and __dpd_trunc*
+ symbol definitions from here to...
+ * sysdeps/dpd/Versions: here, since these are needed for all versions
+ of libdfp, not just the soft-dfp version.
+
2011-11-16 Ryan S. Arnold <rsa@xxxxxxxxxxxxxxxxxx>
* Makefile.in: Replace erroneous usage of $? with $^. Fix
Modified: libdfp/trunk/README.user
==============================================================================
--- libdfp/trunk/README.user (original)
+++ libdfp/trunk/README.user Wed Nov 16 21:09:47 2011
@@ -260,6 +260,15 @@
#include <stdlib.h>
#include <wchar.h>
+Alternatively, if you don't want to use the -I/pathto/include/dfp/, for
+instance, if you don't want to have to specify this directly, you may do the
+following:
+
+#include <dfp/math.h>
+#include <dfp/fenv.h>
+#include <dfp/stdlib.h>
+#include <dfp/wchar.h>
+
---------------------------------------------------------------------------
7. Compile and Link
Modified: libdfp/trunk/sysdeps/dpd/Versions
==============================================================================
--- libdfp/trunk/sysdeps/dpd/Versions (original)
+++ libdfp/trunk/sysdeps/dpd/Versions Wed Nov 16 21:09:47 2011
@@ -20,5 +20,16 @@
__dpd_floatdisd; __dpd_floatdidd; __dpd_floatditd;
__dpd_floatunssisd; __dpd_floatunssidd; __dpd_floatunssitd;
__dpd_floatunsdisd; __dpd_floatunsdidd; __dpd_floatunsditd;
+ # These extend and trunc symbols were moved into here from
+ # sysdeps/soft-dfp/dpd/Versions. This is a bug fix, not an
+ # ABI change. This makes sure that these exports are available in
+ # hard-dfp shared objects at link time.
+ __dpd_extendsfsd; __dpd_extendsddf; __dpd_extendsdtf;
+ __dpd_extendsfdd; __dpd_extenddfdd; __dpd_extendddtf;
+ __dpd_extendsftd; __dpd_extenddftd; __dpd_extendtftd;
+ __dpd_truncsdsf; __dpd_truncdfsd; __dpd_trunctfsd;
+ __dpd_truncddsf; __dpd_truncdddf; __dpd_trunctfdd;
+ __dpd_trunctdsf; __dpd_trunctddf; __dpd_trunctdtf;
+
}
}
Modified: libdfp/trunk/sysdeps/soft-dfp/dpd/Versions
==============================================================================
--- libdfp/trunk/sysdeps/soft-dfp/dpd/Versions (original)
+++ libdfp/trunk/sysdeps/soft-dfp/dpd/Versions Wed Nov 16 21:09:47 2011
@@ -1,10 +1,0 @@
-libdfp {
- LIBDFP_1.0.0 {
- __dpd_extendsfsd; __dpd_extendsddf; __dpd_extendsdtf;
- __dpd_extendsfdd; __dpd_extenddfdd; __dpd_extendddtf;
- __dpd_extendsftd; __dpd_extenddftd; __dpd_extendtftd;
- __dpd_truncsdsf; __dpd_truncdfsd; __dpd_trunctfsd;
- __dpd_truncddsf; __dpd_truncdddf; __dpd_trunctfdd;
- __dpd_trunctdsf; __dpd_trunctddf; __dpd_trunctdtf;
- }
-}
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits