2003-01-10 03:50:29

by Miles Bader

[permalink] [raw]
Subject: [PATCH] Add __gpl_ksymtab section to v850 linker script

diff -ruN -X../cludes linux-2.5.55-moo.orig/arch/v850/vmlinux.lds.S linux-2.5.55-moo/arch/v850/vmlinux.lds.S
--- linux-2.5.55-moo.orig/arch/v850/vmlinux.lds.S 2002-12-24 15:01:07.000000000 +0900
+++ linux-2.5.55-moo/arch/v850/vmlinux.lds.S 2003-01-09 15:27:41.000000000 +0900
@@ -1,8 +1,8 @@
/*
* arch/v850/vmlinux.lds.S -- kernel linker script for v850 platforms
*
- * Copyright (C) 2002 NEC Electronics Corporation
- * Copyright (C) 2002 Miles Bader <[email protected]>
+ * Copyright (C) 2002,03 NEC Electronics Corporation
+ * Copyright (C) 2002,03 Miles Bader <[email protected]>
*
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
@@ -51,6 +51,9 @@
___start___ksymtab = . ;/* Kernel symbol table. */ \
*(__ksymtab) \
___stop___ksymtab = . ; \
+ ___start___gpl_ksymtab = . ; /* Same for GPL symbols. */ \
+ *(__gpl_ksymtab) \
+ ___stop___gpl_ksymtab = . ; \
. = ALIGN (4) ; \
__etext = . ;