Categories
Linux Mastering Development

What is necessary and sufficient condition for an ELF object file to be a shared library or a relocatable object file?

Stephen Kitt wrote in https://unix.stackexchange.com/a/448943 any ELF object with an entry point can be an executable, regardless of its other properties. and ld.so is both an executable (because of having an entry point) and a shared library. What is the necessary and sufficient condition for an ELF object file to be a shared library? What […]

Categories
Linux Mastering Development

In what form of ELF is a core dump file?

https://en.wikipedia.org/wiki/Executable_and_Linkable_Format mentions core dumps. In what form of ELF is a core dump file? Relocatable, executable, or shared? CSAPP says 7.3 Object Files Object files come in three forms: Relocatable object file. Contains binary code and data in a form that can be combined with other relocatable object files at compile time to create an […]