[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140516101204.GA10187@ravnborg.org>
Date: Fri, 16 May 2014 12:12:04 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Geoff Levand <geoff@...radead.org>
Cc: Michal Marek <mmarek@...e.cz>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 1/1] vmlinux.lds.h: Add new SECTION() macro
On Thu, May 15, 2014 at 02:25:58PM -0700, Geoff Levand wrote:
> Add a new preprocessor macro SECTION() to vmlinux.lds.h that defines a
> linker script output section with the section attributes commonly used,
> and replace all occurrences of equivalent descriptions in vmlinux.lds.h
> with the new macro.
Looks good - but the name is too generic.
Use OUTPUT_SECTION() as you suggest in the comment below.
If you walk through all linker scripts then keep an eay out for
stuff where the generic stuff can be used.
And see if there is something else that really belongs in asm-generic.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists