OpenCloudOS-Kernel/arch/cris/arch-v10/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 Drop code for CRISv10 CPU simulator 2014-01-15 14:44:02 +01:00
crisksyms.c [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
debugport.c cris: debugport: Fix section mismatches 2015-12-15 14:03:11 +01:00
dma.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
entry.S CRIS: Wire up missing syscalls 2015-09-05 00:33:25 +02:00
fasttimer.c cris fasttimer: remove use of seq_printf return value 2015-04-15 16:35:25 -07:00
head.S cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00
io_interface_mux.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
irq.c Drop code for CRISv10 CPU simulator 2014-01-15 14:44:02 +01:00
kgdb.c cris: arch-v10: kgdb: Add '__used' for static variable is_dyn_brkp 2015-11-02 20:03:04 +01:00
process.c CRISv10: Readd missing header 2014-01-28 15:14:35 +01:00
ptrace.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
setup.c cris: remove use of seq_printf return value 2015-04-15 16:35:25 -07:00
shadows.c CRIS v10: Remove useless CVS id from kernel/shadows.c 2008-02-08 11:06:31 +01:00
signal.c arch: Remove exec_domain from remaining archs 2015-04-12 21:03:30 +02:00
time.c Drop code for CRISv10 CPU simulator 2014-01-15 14:44:02 +01:00
traps.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00