public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Tim Abbott <tabbott@ksplice.com>
Cc: linux-kbuild <linux-kbuild@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	linux arch <linux-arch@vger.kernel.org>,
	Anders Kaseorg <andersk@ksplice.com>
Subject: Re: [PATCH] Improve vmlinux.lds.h support for arch specific linker scripts
Date: Sun, 14 Jun 2009 22:22:44 +0200	[thread overview]
Message-ID: <20090614202244.GA2951@uranus.ravnborg.org> (raw)
In-Reply-To: <alpine.DEB.1.10.0906112032560.9154@vinegar-pot.mit.edu>

On Fri, Jun 12, 2009 at 10:52:06AM -0400, Tim Abbott wrote:
> On Sun, 7 Jun 2009, Sam Ravnborg wrote:
> 
> > Please review and comment..
> > It will be part of kbuild-next.git
> 
> This patch looks great.  I have a few very minor comments.
> 
> > + *	/DISCARD/ : {
> > + *		EXIT_TEXT
> > + *		EXIT_DATA
> > + *		*(.exitcall.exit)
> > + *	}
> 
> I recommend adding
> 
> #define EXIT_CALL *(.exitcall.exit)
> 
> and using it in the DISCARD section of the sample linker script so that 
> the sample linker script doesn't use any raw section names.
> 
> > +#define BSS_SECTION(sbss_align, bss_align)				\
> > +	SBSS								\
> > +	BSS(bss_align)							\
> > +	. = ALIGN(4);							\
> 
> This macro should end with the 'ALIGN(4);' -- there's an extra backslash 
> at the end of the line.
> 
> I recommend changing HEAD_SECTION to HEAD_TEXT_SECTION to better fit the 
> naming scheme.  This would involve deleting the recently added 
> include/linux/section-names.h and going back to hardcoding .head.text in 
> include/linux/init.h (given the way these macros have turned out, 
> include/linux/section-names.h doesn't really make sense).
> 
I fixed the above in a separate commit, so

> Also, the commit message misspells 'alignment', 'linker', and 'Abbott'.
these were not addressed.

	Sam

  reply	other threads:[~2009-06-14 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07 18:54 [PATCH] Improve vmlinux.lds.h support for arch specific linker scripts Sam Ravnborg
2009-06-12 14:52 ` Tim Abbott
2009-06-14 20:22   ` Sam Ravnborg [this message]
2009-06-14 22:15     ` Tim Abbott

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=20090614202244.GA2951@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=andersk@ksplice.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tabbott@ksplice.com \
    /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