Meanwhile, seeing what @marcan42 just did...
Having a Mach-O header present through a linker script for an _ELF_ linker is… let’s say quite unique.
-
-
Replying to @never_released
This is a Linux bootloader, why would I force people to get a mach-o toolchain to compile it? That would be silly, when mach-o is just being used as a completely unnecessary wrapper format for what should have been a simple bare-metal binary blob.
4 replies 0 retweets 52 likes -
Replying to @marcan42 @never_released
I don't think this is the first time i've seen this kind of hack. Pretty sure some Linux distros used to build EFI apps by slapping a PE header on an ELF and embedding some code which processed ELF relocations
2 replies 0 retweets 9 likes -
Replying to @erincandescent @never_released
devkitPPC was doing it on the Wii/GameCube for ages to build DOL executables, but I *got rid* of that hack because it was poorly implemented and replaced it with an ELF to DOL converter because that made more sense.
1 reply 0 retweets 3 likes -
What we found was that people were using the ELFs directly with our loader, but those ELFs were *not* intended to be used directly since they embedded the DOL header, which was going into an area of memory that should've been reserved.
1 reply 0 retweets 2 likes
We ended up rejecting those at some point after I added sanity checks to our ELF loader and a lot of people hated us for breaking their software :-) (They could recompile with a newer toolchain that didn't do that, or just convert to DOL with objcopy - we support DOL)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.