Fix macro reference in gthr-vxworks-tls.c
diff mbox series

Message ID 80E8A4B4-E294-4B40-BF4B-03BFC5EAF4E5@adacore.com
State New
Headers show
Series
  • Fix macro reference in gthr-vxworks-tls.c
Related show

Commit Message

Olivier Hainque Dec. 13, 2019, 1:39 p.m. UTC
This change fixes a typo in a macro name reference, introduced
by mistake during a refactoring.

Tested in accordance with the description in
https://gcc.gnu.org/ml/gcc-patches/2019-12/msg00911.html

Committing to mainline.

Olivier

2019-12-13  Olivier Hainque  <hainque@adacore.com>
    
    	libgcc/
    	* config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
    	reference to the internal VX_GET_TLS_DATA interface.
libgcc/config/gthr-vxworks-tls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/libgcc/config/gthr-vxworks-tls.c b/libgcc/config/gthr-vxworks-tls.c
index cd5f7ac831c..96b6bfbdbe6 100644
--- a/libgcc/config/gthr-vxworks-tls.c
+++ b/libgcc/config/gthr-vxworks-tls.c
@@ -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;