Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-28 Thread Lulu Cheng
在 2022/7/28 下午6:41, Xi Ruoyao 写道: On Thu, 2022-07-28 at 10:59 +0800, Lulu Cheng wrote: The ASM_PREFERRED_EH_DATA_FORMAT macro before and after modification is as follows:  #define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \  -  (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_absptr)  +  (

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-28 Thread Xi Ruoyao via Gcc-patches
On Thu, 2022-07-28 at 10:59 +0800, Lulu Cheng wrote: > > The ASM_PREFERRED_EH_DATA_FORMAT macro before and after modification > > is > as follows: >  #define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \ >  -  (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_absptr) >  +  (((GLOBAL) ? DW_EH_PE_indire

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-27 Thread Lulu Cheng
在 2022/7/26 下午8:01, Xi Ruoyao 写道: On Tue, 2022-07-26 at 19:42 +0800, Lulu Cheng wrote: 在 2022/7/26 下午5:44, Xi Ruoyao 写道: Should we indicate that our .eh_frame section format has changed? I don't really understand C++ exception handling, so: does the change breaks something? For example, if

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-26 Thread Lulu Cheng
在 2022/7/26 下午8:01, Xi Ruoyao 写道: On Tue, 2022-07-26 at 19:42 +0800, Lulu Cheng wrote: 在 2022/7/26 下午5:44, Xi Ruoyao 写道: +  whether the la.* macro instructions will be generated when +  loading symbolic addresses. +  This feature requires binutils version 2.40 or later. If you want to use th

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-26 Thread Lulu Cheng
在 2022/7/26 下午7:32, Gerald Pfeifer 写道: On Tue, 26 Jul 2022, Lulu Cheng wrote: +LoongArch + + The option -mexplicit-relocs has been added, this indicates + whether the la.* macro instructions will be generated when + loading symbolic addresses. How about making this "...has been added. It i

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-26 Thread Xi Ruoyao via Gcc-patches
On Tue, 2022-07-26 at 19:42 +0800, Lulu Cheng wrote: > 在 2022/7/26 下午5:44, Xi Ruoyao 写道: > > > > > +  whether the la.* macro instructions will be generated when > > > +  loading symbolic addresses. > > > +  This feature requires binutils version 2.40 or later. If you want to > > > use the > > >

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-26 Thread Lulu Cheng
在 2022/7/26 下午5:44, Xi Ruoyao 写道: +  whether the la.* macro instructions will be generated when +  loading symbolic addresses. +  This feature requires binutils version 2.40 or later. If you want to use the +  older version of bintuils, add compiler parameters +  -mno-explicit-relocs at compi

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-26 Thread Gerald Pfeifer
On Tue, 26 Jul 2022, Lulu Cheng wrote: > +LoongArch > + > + The option -mexplicit-relocs has been added, this > indicates > + whether the la.* macro instructions will be generated when > + loading symbolic addresses. How about making this "...has been added. It indicates..." or, if you prefer

Re: [PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-26 Thread Xi Ruoyao via Gcc-patches
+Xuerui (his English is much better than mine). On Tue, 2022-07-26 at 15:21 +0800, Lulu Cheng wrote: > Hi, >   Recently we added split symbol support, changed in r13-1834. >   It is ok for wwwdocs? > +LoongArch > + > +  The option -mexplicit-relocs has been added, this indicate I think "added an

[PATCH][wwwdocs] gcc-13: Add loongarch '-mexplicit-relocs' support

2022-07-26 Thread Lulu Cheng
Hi, Recently we added split symbol support, changed in r13-1834. It is ok for wwwdocs? Thanks! Lulu Cheng --- htdocs/gcc-13/changes.html | 21 + 1 file changed, 21 insertions(+) diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 57bd8724..60399e4e