public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: IainS <developer@sandoe-acoustics.co.uk>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>, Mike Stump <mrs@gcc.gnu.org>
Subject: Re: [Patch darwin, debug] make debug section starts explicit.
Date: Sat, 30 Oct 2010 01:02:00 -0000	[thread overview]
Message-ID: <4CCB3644.2040408@redhat.com> (raw)
In-Reply-To: <FF5C3451-84EB-4DE6-A603-173ED619C1C6@sandoe-acoustics.co.uk>

On 10/28/2010 11:16 AM, IainS wrote:
>     * doc/tm.texi (TARGET_ASM_OUTPUT_DWARF_SECTION_START_INFO): Hook
>     documentation (auto-generated).

I think the hook is redundant with the support that we already
have for sections.

May I suggest instead that we create allow the section structures
for each of these debug sections to be overwritten.  Darwin can
then alter both the section name and notice the SECTION_DECLARED
bit in order to output that label.

This will involve moving declaration and initialization of
debug_info_section et al to the same place where we handle text_section.
That should be before TARGET_ASM_INIT_SECTIONS is invoked, where
darwin can install new section structures.


r~

  reply	other threads:[~2010-10-29 21:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 19:41 IainS
2010-10-30  1:02 ` Richard Henderson [this message]
2010-10-30 14:36   ` IainS
2010-10-31  0:33     ` Richard Henderson
2010-10-31 18:26       ` different impl. " IainS
2010-11-01 17:49         ` Mike Stump
2010-11-02 11:27           ` IainS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CCB3644.2040408@redhat.com \
    --to=rth@redhat.com \
    --cc=developer@sandoe-acoustics.co.uk \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mrs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).