xtensa: Fix linker script patch-up
authorChris Zankel <chris@zankel.net>
Sun, 2 May 2010 06:00:07 +0000 (23:00 -0700)
committerChris Zankel <chris@zankel.net>
Sun, 2 May 2010 06:00:07 +0000 (23:00 -0700)
commited5010ea469baa8c0038d027c3b79a600da36811
treeba70a250d2ea286f4eae0d2822ac3bf975f8a9b3
parent91e080633221cadece6c1c37786ef8a18a9d1a5e
xtensa: Fix linker script patch-up

The Xtensa architecture requires to patch the generated linker script
to insert precede certain sections with a .literal section. Ammend the
sed script to fix-up only sequences that start with a '*':
'*(.init.text)' -> '*(.init.literal .init.text)'

Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/Makefile