Stub out VX_ENTER_TLS_DTOR for VxWorks != 6
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Fri, 2 Oct 2020 12:58:45 +0000 (12:58 +0000)
committerOlivier Hainque <hainque@adacore.com>
Fri, 16 Oct 2020 16:14:52 +0000 (16:14 +0000)
commit4cde835fd7add8979ab92fd27ee7efcea235f763
tree3321b73008c2fc6ae5dddcdc5bf36d24bf4d10b2
parent2d23fd23bbb84a6ea87cb8c77699261d6ae8100e
Stub out VX_ENTER_TLS_DTOR for VxWorks != 6

As of today, the __gthread_enter/leave entry points are
only meaningful on VxWorks 6. Refactor the VX_ENTER_TLS_DTOR
macros accordingly.

2020-10-15  Rasmus Villemoes  <rv@rasmusvillemoes.dk>

libgcc/
* config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
except on VxWorks 6.

Co-authored-by: Olivier Hainque <hainque@adacore.com>
libgcc/config/gthr-vxworks-tls.c