Re: [PATCH 2/5] kbuild: allow archs to select build for link dead code/data elimination
From: Arnd Bergmann <arnd@arndb.de>
Date: 2016-08-09 22:11:05
Also in:
linux-arch, linux-kbuild
From: Arnd Bergmann <arnd@arndb.de>
Date: 2016-08-09 22:11:05
Also in:
linux-arch, linux-kbuild
On Tuesday, August 9, 2016 9:20:16 AM CEST Alan Modra wrote:
On Mon, Aug 08, 2016 at 05:14:27PM +0200, Arnd Bergmann wrote:quoted
I have reverted that patch now, so ARM uses ".fixup" again like every other architecture does, and now "*(.fixup) *(.text .text.*)" works correctly, while ""*(.fixup) *(.text .fixup .text.*)" also fails the same way that I saw before:That is really odd. The linker isn't supposed to treat those script snippets differently. First match for .fixup wins.
Sorry for my mistake. I checked again and cannot reproduce what I thought I saw earlier. "*(.fixup) *(.text .text.*)" fails as would be expected. Arnd