From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760199AbYEACSd (ORCPT ); Wed, 30 Apr 2008 22:18:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758778AbYEACRV (ORCPT ); Wed, 30 Apr 2008 22:17:21 -0400 Received: from rex.securecomputing.com ([203.24.151.4]:57504 "EHLO snapgear.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758635AbYEACRT (ORCPT ); Wed, 30 Apr 2008 22:17:19 -0400 Date: Thu, 1 May 2008 12:16:46 +1000 From: Greg Ungerer Message-Id: <200805010216.m412GkjW004111@goober> To: torvalds@linux-foundation.org Subject: [PATCH] m68knommu: add some missing sections into the linker script Cc: akpm@linux-foundation.org, gerg@uclinux.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sebastian Siewior Add some missing sections into the linker script. Those are required for spinlocks & kallsyms. Signed-off-by: Sebastian Siewior Signed-off-by: Greg Ungerer --- diff -Naurp linux-2.6.25/arch/m68knommu/kernel/vmlinux.lds.S linux-2.6.25-uc0/arch/m68knommu/kernel/vmlinux.lds.S --- linux-2.6.25/arch/m68knommu/kernel/vmlinux.lds.S 2008-04-17 12:49:44.000000000 +1000 +++ linux-2.6.25-uc0/arch/m68knommu/kernel/vmlinux.lds.S 2008-04-22 14:48:44.000000000 +1000 @@ -64,6 +64,7 @@ SECTIONS { _stext = . ; TEXT_TEXT SCHED_TEXT + LOCK_TEXT *(.text.lock) . = ALIGN(16); /* Exception table */ @@ -73,6 +74,7 @@ SECTIONS { *(.rodata) *(.rodata.*) *(__vermagic) /* Kernel version magic */ + *(__markers_strings) *(.rodata1) *(.rodata.str1.1) @@ -182,6 +184,7 @@ SECTIONS { *(COMMON) . = ALIGN(4) ; _ebss = . ; + _end = . ; } > BSS }