From patchwork Sun Aug 19 02:55:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 1342471 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7FBFCDF266 for ; Sun, 19 Aug 2012 02:59:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754698Ab2HSC6y (ORCPT ); Sat, 18 Aug 2012 22:58:54 -0400 Received: from mga02.intel.com ([134.134.136.20]:48688 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753278Ab2HSC5e (ORCPT ); Sat, 18 Aug 2012 22:57:34 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 18 Aug 2012 19:57:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.77,792,1336374000"; d="scan'208";a="182422043" Received: from tassilo.jf.intel.com ([10.7.201.151]) by orsmga001.jf.intel.com with ESMTP; 18 Aug 2012 19:57:24 -0700 Received: by tassilo.jf.intel.com (Postfix, from userid 501) id CEC4D2418D7; Sat, 18 Aug 2012 19:57:24 -0700 (PDT) From: Andi Kleen To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, mmarek@suse.cz, linux-kbuild@vger.kernel.org, JBeulich@suse.com, akpm@linux-foundation.org, Andi Kleen Subject: [PATCH 02/74] sections: Make all standard section identifiers __visible Date: Sat, 18 Aug 2012 19:55:58 -0700 Message-Id: <1345345030-22211-3-git-send-email-andi@firstfloor.org> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1345345030-22211-1-git-send-email-andi@firstfloor.org> References: <1345345030-22211-1-git-send-email-andi@firstfloor.org> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org From: Andi Kleen Signed-off-by: Andi Kleen --- include/asm-generic/sections.h | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h index c1a1216..eab95aa 100644 --- a/include/asm-generic/sections.h +++ b/include/asm-generic/sections.h @@ -3,20 +3,20 @@ /* References to section boundaries */ -extern char _text[], _stext[], _etext[]; -extern char _data[], _sdata[], _edata[]; -extern char __bss_start[], __bss_stop[]; -extern char __init_begin[], __init_end[]; -extern char _sinittext[], _einittext[]; -extern char _end[]; -extern char __per_cpu_load[], __per_cpu_start[], __per_cpu_end[]; -extern char __kprobes_text_start[], __kprobes_text_end[]; -extern char __entry_text_start[], __entry_text_end[]; -extern char __initdata_begin[], __initdata_end[]; -extern char __start_rodata[], __end_rodata[]; +extern __visible char _text[], _stext[], _etext[]; +extern __visible char _data[], _sdata[], _edata[]; +extern __visible char __bss_start[], __bss_stop[]; +extern __visible char __init_begin[], __init_end[]; +extern __visible char _sinittext[], _einittext[]; +extern __visible char _end[]; +extern __visible char __per_cpu_load[], __per_cpu_start[], __per_cpu_end[]; +extern __visible char __kprobes_text_start[], __kprobes_text_end[]; +extern __visible char __entry_text_start[], __entry_text_end[]; +extern __visible char __initdata_begin[], __initdata_end[]; +extern __visible char __start_rodata[], __end_rodata[]; /* Start and end of .ctors section - used for constructor calls. */ -extern char __ctors_start[], __ctors_end[]; +extern __visible char __ctors_start[], __ctors_end[]; /* function descriptor handling (if any). Override * in asm/sections.h */