[fpc-devel] Linux assembler start-up: rtl/linux/*/*.as

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Thu May 28 08:46:34 CEST 2015


> - Would there be four separate Pascal entry points, one for each
>   assembler file? (Each could take arguments: fini, argc, argv, envp.)

Presumably various symbols undefined in *prt0.o, defined in the C
library, would have to be additional arguments. (Or is there another
way of doing it?) Currently these are undefined in gprt0.as on
aarch64-linux:

                 U PASCALMAIN
                 U __libc_start_main
                 U __monstartup
                 U _etext
                 U _mcleanup
                 U abort
                 U atexit

Edmund



More information about the fpc-devel mailing list