]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xtensa: fix linker script transformation for .text.unlikely
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 16 Jul 2012 10:06:00 +0000 (14:06 +0400)
committerChris Zankel <chris@zankel.net>
Sat, 11 Aug 2012 02:22:15 +0000 (19:22 -0700)
commit659b408952a09711eb77a99500394af356a903e6
tree87fce376aeea1e21112797338e02539b9009057a
parentfefe106385d306b748ddb6870342cd2446792e31
xtensa: fix linker script transformation for .text.unlikely

Now that binutils generate *.unlikely sections which don't follow
documented (info as) literal section naming rules, section name
transformation script doesn't work well resulting in the following
errors at vmlinux link time:

main.c:(.text.unlikely+0x3): dangerous relocation: l32r: literal
     placed after use: .literal.unlikely

Fix section name transformation script by adding specific rule for
.text.unlikely sections.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/Makefile