I've adapted the last fs-uae release to libretro; Libretro handles emulators as shared libraries.
Once JIT is enabled, the 32 bits address range limitation on linux x86_64 is an issue: We can set the executable segments inside the proper address range using: export LD_PREFER_MAP_32BIT_EXEC=1 But some data part must be loaded in the 32 bits memory too. A modified malloc using mmap MAP_32BIT is likely required here: This is the proper method; Turning off position independent code generation using -no-pie is not a good idea.
Do you know if someone is trying to fix this?
|