From: David Edelsohn Date: Tue, 2 Mar 2021 15:11:47 +0000 (-0500) Subject: aix: Fix TLS thread pointer function names. X-Git-Tag: basepoints/gcc-12~791 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c4b7b367cf7fe9dd4206788840621d5946aac39;p=thirdparty%2Fgcc.git aix: Fix TLS thread pointer function names. This patch adds missing periods to the symbol name for TLS helper functions. gcc/ChangeLog: * config/rs6000/rs6000.md (tls_get_tpointer_internal): Prepend period to symbol name. (tls_get_addr_internal): Same. --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 5ae65fb9f964..a1904b35f7f8 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -10013,7 +10013,7 @@ (unspec:SI [(const_int 0)] UNSPEC_TLSTLS)) (clobber (reg:SI LR_REGNO))] "TARGET_XCOFF && HAVE_AS_TLS" - "bla __get_tpointer") + "bla .__get_tpointer") (define_expand "tls_get_addr" [(set (match_operand:P 0 "gpc_reg_operand") @@ -10038,7 +10038,7 @@ (clobber (reg:CC CR0_REGNO)) (clobber (reg:P LR_REGNO))] "TARGET_XCOFF && HAVE_AS_TLS" - "bla __tls_get_addr") + "bla .__tls_get_addr") ;; Next come insns related to the calling sequence. ;;