Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread Valery Ushakov
On Fri, Mar 02, 2018 at 23:15:25 +, Sevan Janiyan wrote: > Module Name: src > Committed By: sevan > Date: Fri Mar 2 23:15:25 UTC 2018 > > Modified Files: > src/sys/arch/macppc/stand/bootxx: Makefile > > Log Message: > Do not pass libgcc.a to linker as it breaks build with MKG

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread Sevan Janiyan
On 03/02/18 23:22, Valery Ushakov wrote: > That was introduced rather recently: > > revision 1.17 > date: 2017-07-16 02:26:46 +0300; author: christos; > branches: 1.17.2; > Avoid missing _restgpr_30_x I did see that but thought that we'd had a toolchain update since then. grepping the

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread Sevan Janiyan
On 03/02/18 23:22, Valery Ushakov wrote: > I wonder if this might be dependendent on compiler options &c (e.g. on > sh4 gcc will emit calls to some libgcc functions only for some > optimization settings). hmm, do you have some optimisation settings in mind that I should test?? Sevan

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread Valery Ushakov
On Sat, Mar 03, 2018 at 00:39:30 +, Sevan Janiyan wrote: > On 03/02/18 23:22, Valery Ushakov wrote: > > I wonder if this might be dependendent on compiler options &c (e.g. on > > sh4 gcc will emit calls to some libgcc functions only for some > > optimization settings). > > hmm, do you have so

Re: CVS commit: src/sys/arch/macppc/conf

2018-03-02 Thread Michael
Hello, On Sat, 3 Mar 2018 00:27:51 + "Sevan Janiyan" wrote: > Module Name: src > Committed By: sevan > Date: Sat Mar 3 00:27:51 UTC 2018 > > Modified Files: > src/sys/arch/macppc/conf: POWERMAC_G5 > > Log Message: > Return recent changes to configuration file. > Remove lega

re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread matthew green
> I did see that but thought that we'd had a toolchain update since then. > grepping the source, the only place I see a reference to it is in > external/gpl3/gcc/dist/libgcc/config/rs6000/crtresxgpr.S:HIDDEN_FUNC(_restgpr_30_x) > lwz 30,-8(11) > external/gpl3/gcc/dist/libgcc/config/rs6000/c

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread Sevan Janiyan
On 03/03/18 02:06, matthew green wrote: > you didn't grep enough :-) eg: Bah! :) > dist/gcc/config/rs6000/rs6000.c:prefix = (sel & SAVRES_SAVE) ? > "_savegpr_" : "_restgpr_"; > > is the part that matters. > > i don't know you can easily test it. i would recommend > putting the old

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread Sevan Janiyan
On 03/03/18 02:06, matthew green wrote: > you didn't grep enough :-) eg: > > dist/gcc/config/rs6000/rs6000.c:prefix = (sel & SAVRES_SAVE) ? > "_savegpr_" : "_restgpr_"; > > is the part that matters. Just so I understand, where does this come into play from the bootxx side, reason I a