public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* eh_frame missing.
@ 2006-03-10 13:44 Girish Shilamkar
  2006-04-05 11:54 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Girish Shilamkar @ 2006-03-10 13:44 UTC (permalink / raw)
  To: binutils

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: eh_frame missing.
  2006-03-10 13:44 eh_frame missing Girish Shilamkar
@ 2006-04-05 11:54 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2006-04-05 11:54 UTC (permalink / raw)
  To: Girish Shilamkar; +Cc: binutils

Hi Girish,

> 	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

What does temp.S look like ?

Which version of gas and ld are you using ?

Cheers
   Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-05 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-10 13:44 eh_frame missing Girish Shilamkar
2006-04-05 11:54 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).