Fix macro reference in gthr-vxworks-tls.c

2019-12-30  Olivier Hainque  <hainque@adacore.com>

	libgcc/
	* config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
	reference to the internal VX_GET_TLS_DATA interface.

From-SVN: r279775
This commit is contained in:
Olivier Hainque 2019-12-30 21:14:35 +00:00 committed by Olivier Hainque
parent 89b9a55472
commit 49cfaa2a71
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2019-12-30 Olivier Hainque <hainque@adacore.com>
* config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
reference to the internal VX_GET_TLS_DATA interface.
2019-12-30 Olivier Hainque <hainque@adacore.com>
* config/vxcrtstuff.c: Fix incorrect spelling of

View file

@ -293,7 +293,7 @@ __gthread_getspecific (__gthread_key_t key)
if (key >= MAX_KEYS)
return 0;
data = GET_VX_TLS_DATA();
data = VX_GET_TLS_DATA();
if (!data)
return 0;