Shared libraries should have entry set following the same rules as for regular binaries. The only difference is that in case the default entry point (_start or __start) isn't found (unless it was set explicitly), we shouldn't give a warning as in case of regular binaries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Ideally, Config->Entry would have 3 values: unset, set to default, set explicitly, but I don't know if there's a better way to achieve this than what I did in this patch.
Comment Actions
LGTM
Yeah, the entry point handling is becoming a bit messy because we have so many different ways to specify entry points. I'll try to simplify it.