WSL2-Linux-Kernel/arch/tile/lib
Chris Metcalf 673c2c34f6 modpost: work correctly with tile coldtext sections
The tilegx and tilepro compilers use .coldtext for their unlikely
executed text section name, so an __attribute__((cold)) function
will (when compiled with higher optimization levels) land in
the .coldtext section.

Modify modpost to add .coldtext to the set of OTHER_TEXT_SECTIONS
so we don't get warnings about referencing such a section in an
__ex_table block, and then also modify arch/tile/lib/memcpy_user_64.c
so that it uses plain ".coldtext" instead of ".coldtext.memcpy".
The latter naming is a relic of an earlier use of -ffunction-sections,
which we no longer use by default.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
2015-07-08 18:53:49 -04:00
..
Makefile tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
atomic_32.c tile: include: asm: use 'long long' instead of 'u64' for atomic64_t and its related functions 2013-09-27 16:08:56 -04:00
atomic_asm_32.S tile: use proper .align directives on __ex_table sections 2013-08-30 11:56:11 -04:00
cacheflush.c tile: support FRAME_POINTER 2013-09-03 14:52:09 -04:00
checksum.c arch/tile: break out the "csum a long" function to <asm/checksum.h> 2012-07-11 16:04:57 -04:00
cpumask.c tile: export a handful of symbols appropriately 2013-02-08 13:20:36 -05:00
delay.c arch/tile: fix __ndelay etc to work better 2011-03-01 16:20:04 -05:00
exports.c tile: improve stack backtrace 2015-05-11 11:22:40 -04:00
memchr_32.c arch/tile: fix memchr() not to dereference memory for zero length 2010-11-24 13:57:42 -05:00
memchr_64.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
memcpy_32.S tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
memcpy_64.c tile: support FRAME_POINTER 2013-09-03 14:52:09 -04:00
memcpy_user_64.c modpost: work correctly with tile coldtext sections 2015-07-08 18:53:49 -04:00
memmove.c arch/tile: minor whitespace/naming changes for string support files 2010-10-15 15:38:54 -04:00
memset_32.c tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
memset_64.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
spinlock_32.c tile: modify arch_spin_unlock_wait() semantics 2015-04-28 22:43:13 -04:00
spinlock_64.c tile: modify arch_spin_unlock_wait() semantics 2015-04-28 22:43:13 -04:00
spinlock_common.h arch/tile: fix bug in delay_backoff() 2012-04-02 12:13:15 -04:00
strchr_32.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
strchr_64.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
string-endian.h tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
strlen_32.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
strlen_64.c arch/tile: support building big-endian kernel 2012-05-25 12:48:22 -04:00
strnlen_32.c tile: optimize strnlen using SIMD instructions 2013-08-01 20:08:51 -04:00
strnlen_64.c tile: optimize strnlen using SIMD instructions 2013-08-01 20:08:51 -04:00
uaccess.c Kconfig: consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECKS 2013-04-30 17:04:09 -07:00
usercopy_32.S tile: add <asm/word-at-a-time.h> and enable support functions 2015-04-30 15:23:37 -04:00
usercopy_64.S tile: add <asm/word-at-a-time.h> and enable support functions 2015-04-30 15:23:37 -04:00