ARM: 9138/1: fix link warning with XIP + frame-pointer

When frame pointers are used instead of the ARM unwinder,
and the kernel is built using clang with an external assembler
and CONFIG_XIP_KERNEL, every file produces two warnings
like:

arm-linux-gnueabi-ld: warning: orphan section `.ARM.extab' from `net/mac802154/util.o' being placed in section `.ARM.extab'
arm-linux-gnueabi-ld: warning: orphan section `.ARM.exidx' from `net/mac802154/util.o' being placed in section `.ARM.exidx'

The same fix was already merged for the normal (non-XIP)

linker script, with a longer description.

Fixes: c39866f268f8 ("arm/build: Always handle .ARM.exidx and .ARM.extab sections")
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>

authored by Arnd Bergmann and committed by Russell King (Oracle) 44cc6412 eaf6cc71

+4
+4
arch/arm/kernel/vmlinux-xip.lds.S
··· 40 40 ARM_DISCARD 41 41 *(.alt.smp.init) 42 42 *(.pv_table) 43 + #ifndef CONFIG_ARM_UNWIND 44 + *(.ARM.exidx) *(.ARM.exidx.*) 45 + *(.ARM.extab) *(.ARM.extab.*) 46 + #endif 43 47 } 44 48 45 49 . = XIP_VIRT_ADDR(CONFIG_XIP_PHYS_ADDR);