From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752301Ab0FNMif (ORCPT ); Mon, 14 Jun 2010 08:38:35 -0400 Received: from arkanian.console-pimps.org ([212.110.184.194]:58025 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784Ab0FNMie (ORCPT ); Mon, 14 Jun 2010 08:38:34 -0400 From: Matt Fleming To: linux-arch@vger.kernel.org Cc: Arnd Bergmann , Tim Abbott , linux-kernel@vger.kernel.org Subject: [PATCH 1/5] vmlinux.lds.h: Include *(.text.*) in TEXT_TEXT Date: Mon, 14 Jun 2010 13:38:28 +0100 Message-Id: <1276519112-11649-1-git-send-email-matt@console-pimps.org> X-Mailer: git-send-email 1.6.4.rc0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matt Fleming Many architectures collect text sections beginning with '.text.' in their .text section, so move this pattern into TEXT_TEXT to stop them all having to duplicate the pattern in their arch/ linker scripts. Signed-off-by: Matt Fleming --- include/asm-generic/vmlinux.lds.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 48c5299..08f4680 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -369,6 +369,7 @@ ALIGN_FUNCTION(); \ *(.text.hot) \ *(.text) \ + *(.text.*) \ *(.ref.text) \ DEV_KEEP(init.text) \ DEV_KEEP(exit.text) \ -- 1.6.6.1