diff options
| author | Tony Lindgren <[email protected]> | 2012-02-14 20:58:56 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2012-02-15 11:04:36 +0000 |
| commit | 6e2e340b59d2d4e7b6b7f2c2d02b0d5ca4df6458 (patch) | |
| tree | 2fdbaf8bf120343c04a0db51eacca3d4b0ee0b19 /arch/arm/include/asm/assembler.h | |
| parent | ARM: 7323/1: Do not allow ARM_LPAE on pre-ARMv7 architectures (diff) | |
| download | kernel-6e2e340b59d2d4e7b6b7f2c2d02b0d5ca4df6458.tar.gz kernel-6e2e340b59d2d4e7b6b7f2c2d02b0d5ca4df6458.zip | |
ARM: 7324/1: modpost: Fix section warnings for ARM for many compilers
It turns out that many compilers don't show section warnings on ARM
currently because handling for ARM_CALL relocs are missing from
modpost.c.
Based on commit c2e26114 ([ARM] 3205/1: Handle new EABI relocations when
loading kernel modules) it seems that R_ARM_PC24, R_ARM_CALL and
R_ARM_JUMP24 can be handled the same way.
Note that at least Debian libc6-dev is missing defines for both
R_ARM_CALL and R_ARM_JUMP24 in /usr/include/elf.h. So for now
we need to define them in modpost.c if not defined.
Acked-by: Rusty Russell <[email protected]>
Cc: Ben Hutchings <[email protected]>
Cc: Anders Kaseorg <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions
