summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-05-13 00:31:33 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-05-19 09:11:57 +0200
commit7664709b44a13e2e0b545e2dd8e7b8797a1748dc (patch)
treefcb8e87dd21f90a376fab8ad22a298021a2435e5 /arch/xtensa
parentcd5477911fc9f5cc64678e2b95cdd606c59a11b5 (diff)
downloadlinux-7664709b44a13e2e0b545e2dd8e7b8797a1748dc.tar.bz2
all-archs: consolidate .text section definition in asm-generic
Move definition of .text section to asm-generic. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/vmlinux.lds.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S
index 4fbd66a52a88..7d2dfb286a92 100644
--- a/arch/xtensa/kernel/vmlinux.lds.S
+++ b/arch/xtensa/kernel/vmlinux.lds.S
@@ -84,7 +84,8 @@ SECTIONS
{
/* The .head.text section must be the first section! */
*(.head.text)
- *(.literal .text)
+ *(.literal)
+ TEXT_TEXT
*(.srom.text)
VMLINUX_SYMBOL(__sched_text_start) = .;
*(.sched.literal .sched.text)