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]

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



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.


Attachment: 166092-dbgstarts-b.txt
Description: Text document





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