[COMMITTED] tile: define __NO_LONG_DOUBLE_MATH

Message ID 5656272D.1000802@ezchip.com
State Committed
Headers

Commit Message

Chris Metcalf Nov. 25, 2015, 9:25 p.m. UTC
  On 11/25/2015 1:37 PM, Chris Metcalf wrote:
> On 11/24/2015 8:09 PM, Joseph Myers wrote:
>> On Tue, 24 Nov 2015, Chris Metcalf wrote:
>>
>>> as well, so it seemed uncontroversial. And I only chose 2.12 on the theory
>>> that they
>>> should have been exported then.  I don't really care what version I export
>> That's not how things work.  The version is always the version where the
>> symbols were actually first exported, not where they "should" have been
>> exported; you never add symbols to a past release version.  See exp2l in
>> math/Versions or fallocate64 in sysdeps/unix/sysv/linux/<various 32-bit
>> architectures>/Versions for examples.
>
> Yes, good point.  See attached patch that I will plan to commit after it passes tests.

Ah, I forgot to adjust sysdeps/tile/Versions, so I think with an extra change it should
be correct now:
  

Patch

diff --git a/sysdeps/tile/Versions b/sysdeps/tile/Versions
index b275d7ff3b91..68436b8cfac5 100644
--- a/sysdeps/tile/Versions
+++ b/sysdeps/tile/Versions
@@ -3,4 +3,8 @@  libc {
      # name requested by gcc community.
      __mcount;
    }
+  GLIBC_2.23 {
+    # Omitted in previous versions due to missing __NO_LONG_DOUBLE_MATH.
+    __isinfl; __isnanl; __finitel;
+ }
  }