public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Lulu Cheng <chenglulu@loongson.cn>
To: Xi Ruoyao <xry111@xry111.site>, gcc-patches@gcc.gnu.org
Cc: i@xen0n.name, xuchenghua@loongson.cn
Subject: Re: [PATCH v1] LoongArch: Add support code model extreme.
Date: Thu, 18 Aug 2022 19:49:22 +0800	[thread overview]
Message-ID: <a73209ce-6ab5-9e74-033a-7cc1a961d761@loongson.cn> (raw)
In-Reply-To: <c85494c797fefc440fc7bfb3a9fbe269f434acb5.camel@xry111.site>


在 2022/8/18 下午7:37, Xi Ruoyao 写道:
>> +	if (opts->x_flag_plt)
>> +	  error ("code model %qs and %qs not support %s mode",
>> +		 "tiny-static", "extreme", "plt");
> I think we can ignore the effect of -fplt if code model is extreme,
> instead of forcing everyone to explicitly add -fno-plt.  The "large"
> code model of x86_64 also does not limit the address range and it always
> avoids PLT (even if someone adds "-fplt" explicitly).
Do you mean that if cmodel=extreme, then add -fno-plt by default?

  reply	other threads:[~2022-08-18 11:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 10:01 Lulu Cheng
2022-08-18 11:37 ` Xi Ruoyao
2022-08-18 11:49   ` Lulu Cheng [this message]
2022-08-18 12:52     ` Xi Ruoyao
2022-08-18 13:00       ` Lulu Cheng

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=a73209ce-6ab5-9e74-033a-7cc1a961d761@loongson.cn \
    --to=chenglulu@loongson.cn \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=i@xen0n.name \
    --cc=xry111@xry111.site \
    --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).