I was trying to generate an dynamic library without using fpc.cfg and standard library.I want to run bash test.sh to generate the linux dynamic library (*.so) to use as a middle file to generate uefi application by using GenFw(EDK2 provided this tool).However,I discovered that my linux dynamic library linked is too tiny(One of My pascal code files is larger than it,Does my shell code wrong?) to generate an uefi application.my linux dynamic library is only 13.6 kb size,and using every method I can't know its function and entry inside.Does I use fpc command line with mistake?
When I use readelf,it tells me that There are no section groups in this file.
My file is attached in this topic,Everyone who can discover my mistake can download it.