public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Greg Ungerer <gerg@snapgear.com>
Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org,
	gerg@uclinux.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] m68knommu: missing sections for linker script
Date: Sun, 11 May 2008 02:41:07 +0200	[thread overview]
Message-ID: <20080511004107.GA2675@uranus.ravnborg.org> (raw)
In-Reply-To: <200805070052.m470qdod017612@goober>

On Wed, May 07, 2008 at 10:52:39AM +1000, Greg Ungerer wrote:
> Inlucde the missing kcrctab and kcrctab_unused sections into the
> m68knommu linker script.
> 
> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
> ---
> 
> diff -Naurp linux-2.6.25-rc1/arch/m68knommu/kernel/vmlinux.lds.S linux-2.6.25-rc1-uc0/arch/m68knommu/kernel/vmlinux.lds.S
> --- linux-2.6.25-rc1/arch/m68knommu/kernel/vmlinux.lds.S	2008-05-06 14:52:00.000000000 +1000
> +++ linux-2.6.25-rc1-uc0/arch/m68knommu/kernel/vmlinux.lds.S	2008-05-06 16:56:47.000000000 +1000
> @@ -114,6 +114,16 @@ SECTIONS {
>  		*(__kcrctab_gpl)
>  		__stop___kcrctab_gpl = .;
>  
> +		/* Kernel symbol table: Normal unused symbols */
> +		__start___kcrctab_unused = .;
> +		*(__kcrctab_unused)
> +		__stop___kcrctab_unused = .;
> +
> +		/* Kernel symbol table: GPL-only unused symbols */
> +		__start___kcrctab_unused_gpl = .;
> +		*(__kcrctab_unused_gpl)
> +		__stop___kcrctab_unused_gpl = .;
> +
>  		/* Kernel symbol table: GPL-future symbols */
>  		__start___kcrctab_gpl_future = .;
>  		*(__kcrctab_gpl_future)

Hi Greg.

Any specific reasons why m68knommu does
not use include/asm-generic/vmlinux-lds.h?

There are defined there as well as many other common things.

	Sam

  reply	other threads:[~2008-05-11  0:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  0:52 [PATCH] m68knommu: missing sections for linker script Greg Ungerer
2008-05-11  0:41 ` Sam Ravnborg [this message]
2008-05-11 23:03   ` Sebastian Siewior
2008-06-07 11:03     ` Sam Ravnborg
2008-05-12  5:22   ` Greg Ungerer

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=20080511004107.GA2675@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=akpm@linux-foundation.org \
    --cc=gerg@snapgear.com \
    --cc=gerg@uclinux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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