Re: [fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-04-01 Thread J. Gareth Moreton via fpc-devel
Oops - I'm sorry for my introduced bug! Gareth aka. Kit On 31/03/2024 21:48, Michael Ring via fpc-devel wrote: Works, thank you! Michael Am 31.03.24 um 22:18 schrieb Florian Klämpfl via fpc-devel: Am 31.03.2024 um 21:58 schrieb Michael Ring via fpc-devel : This is what I see (guess

Re: [fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-03-31 Thread Michael Ring via fpc-devel
Works, thank you! Michael Am 31.03.24 um 22:18 schrieb Florian Klämpfl via fpc-devel: Am 31.03.2024 um 21:58 schrieb Michael Ring via fpc-devel : This is what I see (guess the same thing): New Compiler: FPC_INITIALIZE: .Lc3882: # path: /Users/ring/devel/fpc/rtl/inc/ # file: rtti.inc #

Re: [fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-03-31 Thread Florian Klämpfl via fpc-devel
> Am 31.03.2024 um 21:58 schrieb Michael Ring via fpc-devel > : > > This is what I see (guess the same thing): > > New Compiler: > > FPC_INITIALIZE: > .Lc3882: > # path: /Users/ring/devel/fpc/rtl/inc/ > # file: rtti.inc > # indx: 19 > .Ll10741: > push{r4,r5,r14} > ... > >

Re: [fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-03-31 Thread Michael Ring via fpc-devel
As a workaround I compiled rtl with -Oonopeephole and verified that the balign is there, looking good! Should I open an issue on gitlab or will you take care? Many thanks and have a nice rest of Easter holidays, Michael Am 31.03.24 um 21:58 schrieb Michael Ring via fpc-devel: This is what

Re: [fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-03-31 Thread Michael Ring via fpc-devel
This is what I see (guess the same thing): New Compiler: FPC_INITIALIZE: .Lc3882: # path: /Users/ring/devel/fpc/rtl/inc/ # file: rtti.inc # indx: 19 .Ll10741:     push    {r4,r5,r14} ...     ldr r0,[r0, r1]     mov r15,r0 .La5:     .long   .Lj13323 Old Compiler (2

Re: [fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-03-31 Thread Florian Klämpfl via fpc-devel
> Am 31.03.2024 um 21:35 schrieb Florian Klämpfl via fpc-devel > : > > > >> Am 31.03.2024 um 17:11 schrieb Michael Ring via fpc-devel >> : >> >> Hi, >> >> it has been a while since I have been deep,deep down in the rabbit hole of >> Cortex Assembly, so please forgive me if I am

Re: [fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-03-31 Thread Florian Klämpfl via fpc-devel
> Am 31.03.2024 um 17:11 schrieb Michael Ring via fpc-devel > : > > Hi, > > it has been a while since I have been deep,deep down in the rabbit hole of > Cortex Assembly, so please forgive me if I am overlooking something... > > I have an application for Raspberry Pico (target embedded) and

[fpc-devel] Unaligned access on Cortex-M0 in Initialization code

2024-03-31 Thread Michael Ring via fpc-devel
Hi, it has been a while since I have been deep,deep down in the rabbit hole of Cortex Assembly, so please forgive me if I am overlooking something... I have an application for Raspberry Pico (target embedded) and it fails during initialization as soon as I add a unit that includes an object