From 49cfaa2a714ffb6fba6614672598da9b361ab595 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Mon, 30 Dec 2019 21:14:35 +0000 Subject: [PATCH] Fix macro reference in gthr-vxworks-tls.c 2019-12-30 Olivier Hainque libgcc/ * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix reference to the internal VX_GET_TLS_DATA interface. From-SVN: r279775 --- libgcc/ChangeLog | 5 +++++ libgcc/config/gthr-vxworks-tls.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 3fc15d3bee0..789f78af6b8 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-30 Olivier Hainque + + * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix + reference to the internal VX_GET_TLS_DATA interface. + 2019-12-30 Olivier Hainque * config/vxcrtstuff.c: Fix incorrect spelling of 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.30.2