Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755971AbXKEQEc (ORCPT ); Mon, 5 Nov 2007 11:04:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753675AbXKEQEZ (ORCPT ); Mon, 5 Nov 2007 11:04:25 -0500 Received: from mx1.redhat.com ([66.187.233.31]:59244 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753305AbXKEQEY (ORCPT ); Mon, 5 Nov 2007 11:04:24 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <472B9479.7040105@l4x.org> References: <472B9479.7040105@l4x.org> <15675.1193753820@redhat.com> <4726337B.1080608@l4x.org> <4725B553.4060502@l4x.org> <4220.1193663179@redhat.com> <15712.1193753924@redhat.com> To: Jan Dittmer Cc: dhowells@redhat.com, Linux Kernel Mailing List Subject: Re: Working frv toolchain? X-Mailer: MH-E 8.0.3+cvs; nmh 1.2-20070115cvs; GNU Emacs 23.0.50 Date: Mon, 05 Nov 2007 16:04:26 +0000 Message-ID: <27945.1194278666@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1405 Lines: 41 Jan Dittmer wrote: > Hrm, that gets me further, but one of the final stages fail: Can you try the attached patch? David --- [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms From: David Howells Fix the extern declaration of kallsyms_num_syms to indicate that the symbol does not reside in the small-data storage space, and so may not be accessed relative to the small data base register. Signed-off-by: David Howells --- kernel/kallsyms.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c index 474219a..fa84b83 100644 --- a/kernel/kallsyms.c +++ b/kernel/kallsyms.c @@ -32,7 +32,8 @@ /* These will be re-linked against their real values during the second link stage */ extern const unsigned long kallsyms_addresses[] __attribute__((weak)); -extern const unsigned long kallsyms_num_syms __attribute__((weak)); +extern const unsigned long kallsyms_num_syms +__nongpreldata __attribute__((weak)); extern const u8 kallsyms_names[] __attribute__((weak)); extern const u8 kallsyms_token_table[] __attribute__((weak)); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/