linux/arch/cris
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
..
arch-v10 cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00
arch-v32 cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00
boot CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
configs CRISv32: Add GPIO driver to the default configs 2015-09-05 00:33:25 +02:00
include CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
kernel cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00
mm mm/fault, arch: Use pagefault_disable() to check for disabled pagefaults in the handler 2015-05-19 08:39:15 +02:00
Kconfig cris: time: Cleanup of persistent clock stuff 2015-11-02 20:03:05 +01:00
Kconfig.debug Kconfig: remove a few puzzling comments 2011-10-31 10:58:48 +01:00
Makefile CRISv32: add device tree support 2015-03-25 09:49:48 +01:00