Whats causing a segmentation fault and core dump in this ELF executable?
Trying to write a simple Hello, World! program with ELF headers on x86_64 OS, I’m use Linux and write with c++. The program prints Hello, World! but its followed with “segmentation fault” and “(core dumped)” errors. I follow https://en.wikipedia.org/wiki/Executable_and_Linkable_Format resource along with Intel’s ISA sheet.