different impl. Re: [Patch darwin, debug] make debug section starts explicit.

IainS developer@sandoe-acoustics.co.uk
Sun Oct 31 18:26:00 GMT 2010


On 30 Oct 2010, at 19:03, Richard Henderson wrote:

> On 10/30/2010 01:07 AM, IainS wrote:
>> Ah well, something to consider for 4.7 ;-) ...
>
> This *is* a bug fix, isn't it?  If so, you don't have to
> wait for stage1 to open up again.  You've got 2 months...

I had missed the obvious ...  that we gained a   
"darwin_asm_named_section" along with lto...

... this is not as neat as Richard's suggestion...
... but it is entirely local to darwin (and roughly the same amount of  
work
"is it dwarf debug? yes..  did we emit this section yet? if no ...  
then put a label" )

if Mike is OK with this... , it does the job.

OK for trunk?
Iain

gcc:

	* config/darwin.c (darwin_asm_named_section): Check for __DWARF  
sections.
	(darwin_asm_dwarf_section): New.
	(darwin_file_start): Remove code emitting dwarf section symbols.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 166092-dbgstarts-b.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101031/f0f19cef/attachment.txt>
-------------- next part --------------





More information about the Gcc-patches mailing list