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<mode>): Same.
This commit is contained in:
David Edelsohn 2021-03-02 10:11:47 -05:00
parent 7fddf3dbb9
commit 1c4b7b367c

View File

@ -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<mode>"
[(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.
;;