lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 12 Jan 2021 16:46:40 +0100
From:   Arnd Bergmann <>
To:     Russell King <>,
        Nathan Chancellor <>,
        Nick Desaulniers <>,
        Kees Cook <>
Cc:     Arnd Bergmann <>,
        Catalin Marinas <>,
        Vladimir Murzin <>,,,
Subject: [PATCH] ARM: fix link warning with XIP + frame-pointer

From: Arnd Bergmann <>

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

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")
Signed-off-by: Arnd Bergmann <>
 arch/arm/kernel/ | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/kernel/ b/arch/arm/kernel/
index 4d0b0cd9222e..ddb70c65d525 100644
--- a/arch/arm/kernel/
+++ b/arch/arm/kernel/
@@ -43,6 +43,10 @@ SECTIONS
+		*(.ARM.exidx) *(.ARM.exidx.*)
+		*(.ARM.extab) *(.ARM.extab.*)

Powered by blists - more mailing lists