This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Build dbx stabs differently for powerpc-apple-darwin*
- From: Devang Patel <dpatel at apple dot com>
- To: George Helffrich +44 117 954 5437 <george at gly dot bris dot ac dot uk>
- Cc: gcc-patches at gcc dot gnu dot org, jswhit at fastmail dot fm
- Date: Thu, 16 Oct 2003 10:27:17 -0700
- Subject: Re: [PATCH] Build dbx stabs differently for powerpc-apple-darwin*
- References: <200310161307.h9GD7sC19263@olivine.geology.bristol.ac.uk>
On Oct 16, 2003, at 6:07 AM, George Helffrich +44 117 954 5437 wrote:
Stabs of the N_LCSYM type
do not get the common section' base address added to them, so a
display the symbols' contents properly. The problem impairs
C, possibly C++ and, most severely, Fortran code which may heavily
common blocks (which prompts this patch).
Is it possible to send us small C test case that demonstrates this
As I understand N_LCSYM is not used for common symbols. N_GSYM is used.
Maybe compiler is using wrong one?
The change in stabs is only for powerpc-apple-darwin* builds. It has
effect of making the stabs info larger since there is no attempt to
emission of symbols within a single N_BCOMM/N_ECOMM bracket.
This causes some concerns, so I'd like to see C test case, if possible.