kernel_optimize_test/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
..
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
cpumask.c
delay.c
exports.c tile: improve stack backtrace 2015-05-11 11:22:40 -04:00
Makefile tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
memchr_32.c
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
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
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
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
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