Commit Graph
12 Commits
Author SHA1 Message Date
Ryan Houdek 7a62fad444 Fixes 32bit ELF Loading
This requires some changes to how the ELF memory bases are calculated
and which auxp variables are passed in
2020-10-13 15:46:27 -07:00
Ryan Houdek 36d9d9a7c5 Updates ELFSymbolDatabase for 32bit library paths
Doesn't really matter but let's put it there
2020-10-06 20:14:10 -07:00
Ryan Houdek 7128f1fa46 Initial 32bit SonicUtils ELFLoader support 2020-05-14 00:55:52 -07:00
woachk 595df184f7 x86_64 build fix, by reordering KVM initialisation values 2020-05-04 16:58:45 +02:00
Ryan Houdek 3528b30684 Fixes loading EXEC applications in to memory.
If we are loading EXEC then we actually need to start loading in to the
lower 32bits of memory.
This lets the frontend code loader handle the memory base instead of
hiding it behind some core magic instead.

This lets us get EXEC programs working.
So now we support EXEC, DYN, and static applications
2020-04-26 18:11:48 -07:00
Ryan Houdek 986263bccc Fixes ELFLoader's check for dynamic program
This wasn't right in a case that a program would load the dynamic
linker.
The dynamic linker can be a dynamic program which was causing some
problems and the dynamic Program will then just be set based on the
header type
2020-04-26 18:04:10 -07:00
Stefanos Kornilios Mitsis Poiitidis 80fa73868e Merge pull request #82 from Sonicadvance1/rootfs_elfloader
Adds RootFS search path in ELFLoader
2020-04-05 13:00:49 +03:00
Ryan Houdek 15d5ba6fc1 Adds RootFS search path in ELFLoader
Fixes #69, makes it less annoying to run things on non x86 hosts
2020-04-04 23:17:40 -07:00
Ryan Houdek f78773c2ee Removes debug logs from the frontend ELF loader 2020-03-27 18:08:50 -07:00
Ryan Houdek e5dc72ad69 Fixes the dynamic linker detection
Fixes #49

Makes it so we no longer have to pass in the ld location to the
ELFLoader application.

Once we switch over to the dynamic linker, the program being executed to
us is no longer a dynamic program.
But the frontend ELF loader also still needs to know that we are
executing the dynamic linker so it can append the linker to the
arguments.
2020-03-20 13:08:33 -07:00
Ryan Houdek a247dfe9b9 Adds noop VM source file
This is necessary to fix building on non-x86 platforms.
2020-03-15 00:24:11 -07:00
Stefanos Kornilios Mitsis Poiitidis a468d10d56 SonicUtils: Move to External/SonicUtils 2020-03-06 07:24:46 +02:00