[LLVMdev] Can llvm write shared objects?

Yuri yuri at rawbw.com
Fri Jan 31 02:36:28 PST 2014

Currently ELFObjectWriter only writes ET_REL, making relocable ELF.
Why isn't it able to write ET_DYN object, that would make shared object ELF?
Shared objects are of course achievable through calling 'ld' on object 
modules, but I am curious why llvm can't write them directly.
The difference is probably cosmetic from the standpoint of llvm.


More information about the llvm-dev mailing list