public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: mengqinggang <mengqinggang@loongson.cn>, gcc-patches@gcc.gnu.org
Cc: xuchenghua@loongson.cn, chenglulu@loongson.cn,
	cailulu@loongson.cn,  i.swmail@xen0n.name, maskray@google.com,
	luweining@loongson.cn,  wanglei@loongson.cn,
	hejinyang@loongson.cn
Subject: Re: [PATCH] LoongArch: Add support for TLS descriptors
Date: Fri, 01 Dec 2023 18:24:15 +0800	[thread overview]
Message-ID: <1b246a49b35756062cf1b4a58e59a7bd0e812316.camel@xry111.site> (raw)
In-Reply-To: <d444eb4d-b7b7-160c-e804-3b094e094285@loongson.cn>

On Fri, 2023-12-01 at 18:13 +0800, mengqinggang wrote:
> This is mainly for the convenience of testing

Actually when I build my system on x86_64 I always set -mtls-
dialect=gnu2 in my CFLAGS.  And I think maybe generally (i.e. on
different architectures) we should make TLS descriptor the default if
it's supported by the assembler and --with-glibc-version= setting is
high enough...

Currently the only architecture (AFAIK) having TLS desc as the default
is AArch64 because it supports TLS desc since the birthday.

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

      reply	other threads:[~2023-12-01 10:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-01  9:55 mengqinggang
2023-12-01 10:01 ` Xi Ruoyao
2023-12-01 10:03   ` Xi Ruoyao
2023-12-01 10:13   ` mengqinggang
2023-12-01 10:24     ` Xi Ruoyao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1b246a49b35756062cf1b4a58e59a7bd0e812316.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=cailulu@loongson.cn \
    --cc=chenglulu@loongson.cn \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hejinyang@loongson.cn \
    --cc=i.swmail@xen0n.name \
    --cc=luweining@loongson.cn \
    --cc=maskray@google.com \
    --cc=mengqinggang@loongson.cn \
    --cc=wanglei@loongson.cn \
    --cc=xuchenghua@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).