On Tue, Jan 19, 2021 at 8:52 AM Sven Barth via fpc-devel <
fpc-devel@lists.freepascal.org> wrote:

>
> It isn't that hard. You essentially need to make sure that the necessary
> information is written in tpointerdef.ppuwrite and read again in
> tpointerdef.ppuload. You also need to increase the PPULongVersion in unit
> ppu and adjust the code in the ppudump utility.
>

Thank you Sven and Jonas, your hints helped me a lot.  For AVR, pointer
types can now refer to sections and the compiler can generate appropriate
access for pointer parameter types.

My next challenge is to extend error checking so that call parameters are
checked for section incompatibility.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to