libstdc++, Darwin, ppc : Add new long double symbols.

Message ID 3787BBB9-C235-493D-A2CE-4777B81FC9E2@sandoe.co.uk
State New
Headers show
Series
  • libstdc++, Darwin, ppc : Add new long double symbols.
Related show

Commit Message

Iain Sandoe March 15, 2021, 12:34 a.m.
Hi

We need to add the symbols for to_chars and from_chars for the
long double cases.

The testsuite test cases fail to build without this, so there’s no need
for an additional test.

Tested on powerpc-darwin9.
OK for master?
thanks
Iain

libstdc++-v3/ChangeLog:

	* config/os/bsd/darwin/ppc-extra.ver: Add matching for
	to_chars and from_chars for long double.
---
 libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.24.1

Comments

Paul A. Clarke via Gcc-patches March 15, 2021, 12:22 p.m. | #1
On 15/03/21 00:34 +0000, Iain Sandoe wrote:
>Hi

>

>We need to add the symbols for to_chars and from_chars for the

>long double cases.

>

>The testsuite test cases fail to build without this, so there’s no need

>for an additional test.

>

>Tested on powerpc-darwin9.

>OK for master?


OK, thanks.


>thanks

>Iain

>

>libstdc++-v3/ChangeLog:

>

>	* config/os/bsd/darwin/ppc-extra.ver: Add matching for

>	to_chars and from_chars for long double.

>---

> libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver | 3 +++

> 1 file changed, 3 insertions(+)

>

>diff --git a/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver b/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver

>index f0aee9e8dac..970f3bb50ed 100644

>--- a/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver

>+++ b/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver

>@@ -16,6 +16,9 @@

> # 3.4.10

>   _ZNKSt3tr14hashIgEclEg;

>   _ZNKSt4hashIgEclEg;

>+# LDBL_3.4.29

>+  _ZSt10from_charsPKcS0_RgSt12chars_format;

>+  _ZSt8to_charsPcS_g*;

> # ldbl 1.3

>   _ZT[IS]g;

>   _ZT[IS]Pg;

>-- 

>2.24.1

>

>

Patch

diff --git a/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver b/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver
index f0aee9e8dac..970f3bb50ed 100644
--- a/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver
+++ b/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver
@@ -16,6 +16,9 @@ 
 # 3.4.10
   _ZNKSt3tr14hashIgEclEg;
   _ZNKSt4hashIgEclEg;
+# LDBL_3.4.29
+  _ZSt10from_charsPKcS0_RgSt12chars_format;
+  _ZSt8to_charsPcS_g*;
 # ldbl 1.3
   _ZT[IS]g;
   _ZT[IS]Pg;