This patch adds missing periods to the symbol name for TLS helper functions.
Bootstrapped on powerpc-ibm-aix7.2.2.0. Thanks, David * config/rs6000/rs6000.md (tls_get_tpointer_internal): Prepend period to symbol name. (tls_get_addr_internal<mode>): Same. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 5ae65fb9f96..a1904b35f7f 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -10013,7 +10013,7 @@ (define_insn "tls_get_tpointer_internal" (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<mode>" [(set (match_operand:P 0 "gpc_reg_operand") @@ -10038,7 +10038,7 @@ (define_insn "tls_get_addr_internal<mode>" (clobber (reg:CC CR0_REGNO)) (clobber (reg:P LR_REGNO))] "TARGET_XCOFF && HAVE_AS_TLS" - "bla __tls_get_addr") + "bla .__tls_get_addr") ^L ;; Next come insns related to the calling sequence. ;;