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  <hain...@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(-)

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;
-- 
2.17.1

Reply via email to