linux/arch/cris/kernel
Guenter Roeck f9f3f864b5 cris: Fix section mismatches in architecture startup code
Section mismatches can now result in build failures.
As result, cris:allnoconfig fails to build as follows.

WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.

Part of the problem is that references from .text to .init.text
are not permitted, and such references are used in cris startup code.
Since references from .head.text to .init.text are permitted, move
cris startup code to a new section .head.text.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2015-12-15 14:03:19 +01:00
..
Makefile CRIS: add STACKTRACE_SUPPORT 2015-09-05 00:56:50 +02:00
asm-offsets.c
crisksyms.c cris: Drop reference to get_cmos_time() 2015-11-02 20:03:05 +01:00
devicetree.c CRISv32: add device tree support 2015-03-25 09:49:48 +01:00
irq.c CRISv32: add support for irqflags tracing 2015-09-05 00:56:49 +02:00
module.c
process.c
profile.c
ptrace.c CRISv32: handle multiple signals 2015-03-25 10:53:54 +01:00
setup.c CRISv32: add device tree support 2015-03-25 09:49:48 +01:00
stacktrace.c CRIS: add STACKTRACE_SUPPORT 2015-09-05 00:56:50 +02:00
sys_cris.c
time.c cris: time: Cleanup of persistent clock stuff 2015-11-02 20:03:05 +01:00
traps.c
vmlinux.lds.S cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00