This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
eh_frame missing.
- From: Girish Shilamkar <girish at linsyssoft dot com>
- To: binutils at sourceware dot org
- Date: Fri, 10 Mar 2006 19:08:40 +0530
- Subject: eh_frame missing.
Hi,
I compiled a .S but the problem is that the executable doesn't show
eh_frame section even though the code has CFI macros.
The instruction I am using to compile is :
gcc -Wl,-g -Wa,-g -v -g -o temp temp.S
Would you please let me know if I have missed something ?
Thanks & Regards,
-Girish
Snippet of gcc output:
/usr/libexec/gcc/armv5l-linux/3.4.1/collect2 --eh-frame-hdr -dynamic-
linker /lib/ld-linux.so.2 -X -m armelf_linux -p -o
temp /usr/lib/gcc/armv5l-
linux/3.4.1/../../../crt1.o /usr/lib/gcc/armv5l-
linux/3.4.1/../../../crti.o /usr/lib/gcc/armv5l-linux/3.4.1/crtbegin.o -
L/usr/lib/gcc/armv5l-linux/3.4.1 -L/usr/lib/gcc/armv5l-linux/3.4.1 -
L/usr/lib/gcc/armv5l-linux/3.4.1/../../.. -g /tmp/ccMXiZnD.o -lgcc --as-
needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-
needed /usr/lib/gcc/armv5l-linux/3.4.1/crtend.o /usr/lib/gcc/armv5l-
linux/3.4.1/../../../crtn.o
---------------------------------------------------------------------
-bash-2.05b# objdump -h temp
temp: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .interp 00000013 00008114 00008114 00000114 2**0
24 .debug_aranges 00000020 00000000 00000000 00000728 2**3
CONTENTS, READONLY, DEBUGGING
25 .debug_info 00000036 00000000 00000000 00000748 2**0
CONTENTS, READONLY, DEBUGGING
26 .debug_abbrev 00000014 00000000 00000000 0000077e 2**0
CONTENTS, READONLY, DEBUGGING
27 .debug_line 00000036 00000000 00000000 00000792 2**0
CONTENTS, READONLY, DEBUGGING