Obsolete matherr, _LIB_VERSION, libieee.a
Steve Ellcey
sellcey@cavium.com
Thu Aug 24 17:20:00 GMT 2017
On Thu, 2017-08-24 at 12:32 +0000, Joseph Myers wrote:
>Â
> > Earlier discussion about tst-mallocstate:
> > https://sourceware.org/ml/libc-alpha/2016-12/msg00527.html
> I think Florian's suggestion from that discussion is a good idea: generateÂ
> a makefile equivalent of abi-versions.h, so that you can writeÂ
> conditionals in makefiles that are equivalent to SHLIB_COMPAT conditionsÂ
> in C code.
It is not clear to me that I need a separate abi-versions.h file, the
tests are already including shlib-compat.h and that includes the
existing abi-versions.h. Â Here is a patch that I have created and
tested, if the approach seems reasonable I can submit it in a seperate
thread with a ChangeLog file. Â Basically, I created a TEST_COMPAT macro
that is almost identical to SHLIB_COMPAT and then I used that to ifdef
the test.  I put the macro in shlib-compat.h, maybe it should be in a
different or new header file but I liked having it there so that it was
near SHLIB_COMPAT which it is based on. Â Testing on aarch64 looked good
for both ILP32 and LP64 with ILP32 doing the dummy do_test and LP64
running the original do_test.
Steve Ellcey
sellcey@cavium.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-test.patch
Type: text/x-patch
Size: 2068 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170824/30d3135d/attachment.bin>
More information about the Libc-alpha
mailing list