Top "Elf" questions

ELF stands for Executable and Linkable Format, a file format for files containing machine code.

Explaining readelf -S output

I'm trying to load an elf file into a MIPS simulator I made. The problem I'm having is that I …

linker compilation elf readelf
COFF on Linux or ELF on Windows

Is it possible to run the COFF executable files on UNIX or the ELF executable files on Windows? And what …

windows unix elf coff
What is the "__gmon_start__" symbol?

I'm compiling this code with gcc hello.c -o hello -O3: #include <stdio.h> int main(void) { printf("…

c linux gcc elf binutils
Compile C program using dlopen and dlsym with -fPIC

I am having a problem about a wrong symbol resolution. My main program loads a shared library with dlopen and …

c linux gcc elf dlopen
Difference between Program header and Section Header in ELF

Q1 What is the difference between Program header and Section Header in ELF? Q1.1 What is the difference between segment …

c arm gnu elf linker-scripts
virtual and physical addresses of sections in elf files

How does objdump compute the physical address (LMA) of elf sections? As far as I can tell, elf section headers …

linker elf objdump
How can I know what type of debug info is in an ELF object file?

I have an ELF object file. I want to know which type of debugging info it contains. It was compiled …

c elf debug-symbols powerpc
How do you get the start and end addresses of a custom ELF section?

I'm working in C on Linux. I've seen the usage of of the gcc __section__ attribute (especially in the Linux …

c gcc elf
Usage differences between. a.out, .ELF, .EXE, and .COFF

Don't get me wrong by looking at the question title - I know what they are (format for portable executable …

linker executable elf coff
Why is the ELF execution entry point virtual address of the form 0x80xxxxx and not zero 0x0?

When executed, program will start running from virtual address 0x80482c0. This address doesn't point to our main() procedure, but …

point elf virtual-address-space