* [PATCH] scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture.
@ 2013-08-01 5:44 Chen Gang
2013-08-02 2:27 ` Rusty Russell
0 siblings, 1 reply; 3+ messages in thread
From: Chen Gang @ 2013-08-01 5:44 UTC (permalink / raw)
To: Rusty Russell, James Hogan, mmarek, Sam Ravnborg, Paul Gortmaker
Cc: Andrew Morton, linux-kernel@vger.kernel.org, Linux-sh list
Need permit '.cranges' section for sh64 architecture, or modpost will
report warning:
LD init/built-in.o
WARNING: init/built-in.o (.cranges): unexpected non-allocatable section.
Did you forget to use "ax"/"aw" in a .S file?
Note that for example <linux/init.h> contains
section definitions for use in .S files.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
scripts/mod/modpost.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 6216434..8247979 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -821,6 +821,7 @@ static const char *section_white_list[] =
{
".comment*",
".debug*",
+ ".cranges", /* sh64 */
".zdebug*", /* Compressed debug sections. */
".GCC-command-line", /* mn10300 */
".GCC.command.line", /* record-gcc-switches, non mn10300 */
--
1.7.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture.
2013-08-01 5:44 [PATCH] scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture Chen Gang
@ 2013-08-02 2:27 ` Rusty Russell
2013-08-02 4:01 ` Chen Gang
0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2013-08-02 2:27 UTC (permalink / raw)
To: Chen Gang, James Hogan, mmarek, Sam Ravnborg, Paul Gortmaker
Cc: Andrew Morton, linux-kernel@vger.kernel.org, Linux-sh list
Chen Gang <gang.chen@asianux.com> writes:
> Need permit '.cranges' section for sh64 architecture, or modpost will
> report warning:
>
> LD init/built-in.o
> WARNING: init/built-in.o (.cranges): unexpected non-allocatable section.
> Did you forget to use "ax"/"aw" in a .S file?
> Note that for example <linux/init.h> contains
> section definitions for use in .S files.
>
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
Applied.
Thanks,
Rusty.
> ---
> scripts/mod/modpost.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
> index 6216434..8247979 100644
> --- a/scripts/mod/modpost.c
> +++ b/scripts/mod/modpost.c
> @@ -821,6 +821,7 @@ static const char *section_white_list[] =
> {
> ".comment*",
> ".debug*",
> + ".cranges", /* sh64 */
> ".zdebug*", /* Compressed debug sections. */
> ".GCC-command-line", /* mn10300 */
> ".GCC.command.line", /* record-gcc-switches, non mn10300 */
> --
> 1.7.7.6
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture.
2013-08-02 2:27 ` Rusty Russell
@ 2013-08-02 4:01 ` Chen Gang
0 siblings, 0 replies; 3+ messages in thread
From: Chen Gang @ 2013-08-02 4:01 UTC (permalink / raw)
To: Rusty Russell
Cc: James Hogan, mmarek, Sam Ravnborg, Paul Gortmaker, Andrew Morton,
linux-kernel@vger.kernel.org, Linux-sh list
On 08/02/2013 10:27 AM, Rusty Russell wrote:
> Chen Gang <gang.chen@asianux.com> writes:
>> Need permit '.cranges' section for sh64 architecture, or modpost will
>> report warning:
>>
>> LD init/built-in.o
>> WARNING: init/built-in.o (.cranges): unexpected non-allocatable section.
>> Did you forget to use "ax"/"aw" in a .S file?
>> Note that for example <linux/init.h> contains
>> section definitions for use in .S files.
>>
>>
>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>
> Applied.
>
Thank you too.
> Thanks,
> Rusty.
>
>> ---
>> scripts/mod/modpost.c | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
>> index 6216434..8247979 100644
>> --- a/scripts/mod/modpost.c
>> +++ b/scripts/mod/modpost.c
>> @@ -821,6 +821,7 @@ static const char *section_white_list[] =
>> {
>> ".comment*",
>> ".debug*",
>> + ".cranges", /* sh64 */
>> ".zdebug*", /* Compressed debug sections. */
>> ".GCC-command-line", /* mn10300 */
>> ".GCC.command.line", /* record-gcc-switches, non mn10300 */
>> --
>> 1.7.7.6
>
>
--
Chen Gang
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-02 4:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 5:44 [PATCH] scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture Chen Gang
2013-08-02 2:27 ` Rusty Russell
2013-08-02 4:01 ` Chen Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox