Welcome to the new Linux Foundation Forum!

64 bits libraries attached to 32-bit process?

Microsoft and exagear are using special technique to run x86 code on ARM devices. As much as possible, programs will use ARM code (from system libraries) and code given by program are emulated.

I read in comments many years ago, on Windows applications could use 64 bit libraries in case it is 32 bit.

Maybe add syscall to check app is 32-bit or 64-bit and allow user to select, which libraries could been loaded in 64 version. Each dependency will be load as 64-bit libs, so this case is impossible:
Program A
/ \
LibA 32bit LibB 64bit
| |
LibC 32bit LibC 64 bit

It should be:
Program A
/ \
LibA 32bit LibB 64bit
| |
LibC 64bit LibC 64 bit

All memory related functions should test program is 32 bit and allocates memory in region only available by 32-bit registers.

Sign In or Register to comment.