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: different impl. Re: [Patch darwin, debug] make debug section starts explicit.



On 31 Oct 2010, at 21:05, Richard Henderson wrote:


Please remind me what the goal is here?  A label at the beginning of
the section?  E.g. the existing debug_info_section_label?

The goal is to make the section order for code & data the same with/ without debug. (i.e. debug sections to appear after)


Darwin requires a start label for each debug section because the offsets used for debug entities are section-local rather than relocs.
(without the patch that is being achieved by spitting out a section start for each debug section at the start of any asm file with debug enabled).


---

I'm just waiting for a reg-test to finish and then I have a second patch which moves the macinfo & other two section starts from dwarf2_init => dwarf2_finish ()

cheers,
Iain


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