Re: [PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-08 Thread Max Filippov
On Thu, Apr 9, 2015 at 2:24 AM, Chris Zankel wrote: > It would seem Guenter's fix addresses the issue. Are there any additional > benefits in your patch (better localized code, etc.?) It's a bit more generic. Maybe it's not an advantage. Also we have a rule for .text already, in the first line.

Re: [PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-08 Thread Chris Zankel
On Wed, Apr 8, 2015 at 6:08 AM, Guenter Roeck wrote: > On 04/07/2015 11:14 PM, Max Filippov wrote: >>> Linker script transformation needs to be updated to detect and handle >>> the new section. >> I've posted a patch for it to the linux-xtensa ML a while ago: >> http://lists.linux-xtensa.org/piper

Re: [PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-08 Thread Guenter Roeck
On 04/07/2015 11:14 PM, Max Filippov wrote: Hi Guenter, On Wed, Apr 8, 2015 at 8:49 AM, Guenter Roeck wrote: 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 bu

Re: [PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-07 Thread Max Filippov
Hi Guenter, On Wed, Apr 8, 2015 at 8:49 AM, Guenter Roeck wrote: > 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 message

[PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-07 Thread Guenter Roeck
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_cre