From: Tim Abbott Date: Mon, 27 Apr 2009 18:02:23 +0000 (-0400) Subject: powerpc: Use TEXT_TEXT macro in linker script. X-Git-Tag: upstream/snapshot3+hdmi~18994 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edada399e81303e85a1090b3cf0f3c5b13ff5f53;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git powerpc: Use TEXT_TEXT macro in linker script. Rather than adding .ref.text to the powerpc linker script so that we can use __REF on the powerpc architecture, it seems simpler to switch to using the generic TEXT_TEXT macro. Signed-off-by: Tim Abbott Cc: Benjamin Herrenschmidt Acked-by: Sam Ravnborg Signed-off-by: Linus Torvalds --- diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index d7425ff..433ae11 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S @@ -54,7 +54,8 @@ SECTIONS ALIGN_FUNCTION(); HEAD_TEXT _text = .; - *(.text .fixup .text.init.refok .exit.text.refok __ftr_alt_*) + TEXT_TEXT + *(.fixup __ftr_alt_*) SCHED_TEXT LOCK_TEXT KPROBES_TEXT