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
-
-
ELF is a wacky platform format too. It's also effectively frozen at this point
-
You could choose another one as long as it's reasonably expressive, but what's idiotic is using a bloated pseudo-abstraction like BFD...
- 3 more replies
New conversation -
-
-
ELF is not capable of accurately representing PE or Mach-O binaries
-
yup. And it's not even that great itself, as the failure of atom linking in lld has shown quite well
-
It's probably the best of a bad bunch, but that's not saying much. And everything involving the DYNAMIC segment is a disaster
-
PT_DYNAMIC is a bit weird but a disaster? I found it rather easy to use while writing my dynamic linker
-
Everything dynamic linking is asinine. Why are symbols not imported from specific libraries? Why is there one global symbol namespace?
-
Because that's the way C and C++ work.
-
C and C++ do not specify dynamic libraries, so personally IDGAF. The ELF defaults (like "default" visibility) are bad and break things
-
The ELF defaults are what make dynamic linking a semantically equivalent replacement for linking everything statically. But this is all OT..
- 7 more replies
New conversation -
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.