summaryrefslogtreecommitdiff
path: root/libdecnumber/dpd/decimal32Symbols.h
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-25 18:07:54 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-25 18:07:54 +0000
commit97d4bd63e45bc592104c8cdf3932bf6dea97f2a9 (patch)
tree38f5a729ed4beb6eef8c90f4d5056395ed9c0dd2 /libdecnumber/dpd/decimal32Symbols.h
parentced0033c14d68a05c1c36a2fb82eded2df85d966 (diff)
downloadgcc-97d4bd63e45bc592104c8cdf3932bf6dea97f2a9.tar.gz
* Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
* decCommonSymbols.h: New file. * decCommon.c: Include it. * decDPDSymbols.h: New file. * decDPD.h: Include it. * decNumberLocal.h: Include the two new files. * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New. * decNumberSymbols.h (LNnn, d2utable): New. * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New. * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New. * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New. * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD. * dpd/decimal64.c: Ditto. * dpd/decimal128.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131830 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libdecnumber/dpd/decimal32Symbols.h')
-rw-r--r--libdecnumber/dpd/decimal32Symbols.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libdecnumber/dpd/decimal32Symbols.h b/libdecnumber/dpd/decimal32Symbols.h
index de119346c4c..c4aa74fdfd3 100644
--- a/libdecnumber/dpd/decimal32Symbols.h
+++ b/libdecnumber/dpd/decimal32Symbols.h
@@ -11,6 +11,16 @@
#define decimal32ToEngString __decimal32ToEngString
#define decimal32ToNumber __decimal32ToNumber
#define decimal32ToString __decimal32ToString
+#define COMBEXP __decnnCOMBEXP
+#define COMBMSD __decnnCOMBMSD
+
+/* DPD2BIN and BIN2DPD are used in support for decimal32/decimal64/decimal128
+ and also in support for decSingle/decDouble/decQuad. Rename them in case
+ both types of support are used in the same executable. */
+#undef DPD2BIN
+#define DPD2BIN __decnnDPD2BIN
+#undef BIN2DPD
+#define BIN2DPD __decnnBIN2DPD
#endif
#endif