]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xtensa: replace xtensa-specific _f{data,text} by _s{data,text}
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 20 Jun 2012 19:52:58 +0000 (12:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 15:26:29 +0000 (08:26 -0700)
commitca4e6a56000ee4b941e2c6d78b5cb32e27245ee0
treede922c4ee6c4d49e49507891063143fae9e2c7b2
parent85d43e3ae1b14931897a7829e8adde373357880b
xtensa: replace xtensa-specific _f{data,text} by _s{data,text}

commit 5e7b6ed8e9bf3c8e3bb579fd0aec64f6526f8c81 upstream.

commit a2d063ac216c161 ("extable, core_kernel_data(): Make sure all archs
define _sdata") missed xtensa.  Xtensa does have a start of data marker,
but calls it _fdata, causing

    kernel/built-in.o:(.text+0x964): undefined reference to `_sdata'

_stext was already defined, but it was duplicated by _fdata.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/kernel/vmlinux.lds.S
arch/xtensa/mm/init.c