This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix stabs debug output for ARM.


On Thu, Jul 06, 2006 at 02:48:45PM -0700, Ian Lance Taylor wrote:
> It seems to me that the PowerPC has a similar issue, since function
> symbols tend to be the address of descriptors in the data section
> rather than symbols in the text section.  How does the PowerPC handle
> it?  I suspect that on the PowerPC this works via definitions of
> DBX_OUTPUT_NFUN, DBX_OUTPUT_SOURCE_LINE, DBX_OUTPUT_LBRAC, and
> DBX_OUTPUT_RBRAC; perhaps that would be an appropriate approach for
> ARM?

I might be mistaken... but wouldn't this behavior be right for every
target?  i.e. the behavior after Carlos's patch.  I suspect it would
eliminate the need for at least two of those macros, if not all of
them, from the rs6000 port.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]