在 2022/8/18 下午8:52, Xi Ruoyao 写道:
On Thu, 2022-08-18 at 19:49 +0800, Lulu Cheng wrote:
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 alwa
On Thu, 2022-08-18 at 19:49 +0800, Lulu Cheng wrote:
> > 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
在 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 -f
On Thu, 2022-08-18 at 18:01 +0800, Lulu Cheng wrote:
> Use five instructions to calculate a signed 64-bit offset relative to the pc.
> gcc/ChangeLog:
>
> * config/loongarch/loongarch-opts.cc: Allow cmodel to be extreme.
> * config/loongarch/loongarch.cc (loongarch_call_tls_get_add