public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Why not a label for .debug_frame?
@ 2001-09-24 17:37 Stan Shebs
  2001-09-24 18:13 ` Richard Henderson
  2001-09-24 22:56 ` Robert Lipe
  0 siblings, 2 replies; 4+ messages in thread
From: Stan Shebs @ 2001-09-24 17:37 UTC (permalink / raw)
  To: gcc

I've been looking into adopting Dwarf 2 for Darwin / Mac OS X, and
as part of that, tried enabling -gdwarf-2 in GCC's Darwin port.

However, I have a problem where the name of the section .debug_frame
is used as a symbol (a "section symbol"), which is an ELFism not
supported by the Mach-O assembler.  I'm a little loath to change
the assembler to create section symbols, and have been looking at
how the .debug_frame symbol is used.  In the process I noticed that
other sections such as .debug_info and .debug_abbrev have labels
generated for them, and subsequent code refers to those labels
rather than the sections.  (To help jog memories, the patch was
from Robert Lipe for SVR5, and may be seen at
http://gcc.gnu.org/ml/gcc-patches/1999-02n/msg00802.html .)

So my question is, why isn't .debug_frame handled this way too?
Inertia perhaps?

Stan

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

end of thread, other threads:[~2001-09-25 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-24 17:37 Why not a label for .debug_frame? Stan Shebs
2001-09-24 18:13 ` Richard Henderson
2001-09-24 22:56 ` Robert Lipe
2001-09-25 12:15   ` Stan Shebs

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).