lkml.org 
[lkml]   [2008]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] m68knommu: missing sections for linker script
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


\
 
 \ /
  Last update: 2008-05-11 02:43    [W:0.051 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site