today I found some code in LLVM that implies a Windows plus Mach-O subtarget is legal and I don't want to be alive anymore
-
-
Replying to @whitequark
apparently this happens because EFI on Macs uses the Windows ABI but the Mach-O executable format. Also HFS+ instead of FAT
11 replies 9 retweets 45 likes -
Replying to @whitequark
iirc most linux efi stuff works by compiling an elf and objcopying? iirc occasionally they link an elf reloc processor into the PE!
2 replies 0 retweets 0 likes -
All development tools should work in ELF and just convert to wacky platform formats as the last step of linking.
2 replies 0 retweets 1 like -
Replying to @RichFelker @whitequark
ELF is not capable of accurately representing PE or Mach-O binaries
2 replies 0 retweets 4 likes -
yup. And it's not even that great itself, as the failure of atom linking in lld has shown quite well
1 reply 0 retweets 0 likes -
Replying to @whitequark @RichFelker
It's probably the best of a bad bunch, but that's not saying much. And everything involving the DYNAMIC segment is a disaster
1 reply 0 retweets 1 like -
PT_DYNAMIC is a bit weird but a disaster? I found it rather easy to use while writing my dynamic linker
2 replies 0 retweets 0 likes
_DYNAMIC has a few slight quirks but nothing awful, and it's not gratuitously limiting like PE stuff.
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.