From: Guenter Roeck Date: Wed, 8 Apr 2015 05:49:54 +0000 (-0700) Subject: xtensa: Fix fix linker script transformation for .text / .text.fixup X-Git-Tag: omap-for-v4.1/fixes-rc1~112^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=834a316eeebcb75316c0a7d9088fa638c52dc584;p=pandora-kernel.git xtensa: Fix fix linker script transformation for .text / .text.fixup Commit 779c88c94c34 ("ARM: 8321/1: asm-generic: introduce .text.fixup input section") introduced a new .text.fixup section which is merged with .text at link time. This causes xtensa builds to fail with lots of error messages similar to the following. lib/lib.a(kobject.o): In function `kobject_create': (.text+0x498): dangerous relocation: l32r: literal placed after use: (.literal+0x150) Linker script transformation needs to be updated to detect and handle the new section. Fixes: 779c88c94c34 ("ARM: 8321/1: asm-generic: introduce .text.fixup input section") Cc: Ard Biesheuvel Cc: Arnd Bergmann Signed-off-by: Guenter Roeck Signed-off-by: Chris Zankel --- Reading git-diff-tree failed