[COMMITTED] tile: define __NO_LONG_DOUBLE_MATH

Chris Metcalf cmetcalf@ezchip.com
Wed Nov 25 21:25:00 GMT 2015


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:

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;
+ }
  }

-- 
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com



More information about the Libc-alpha mailing list