forked from luck/tmp_suning_uos_patched
673c2c34f6
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> |
||
---|---|---|
.. | ||
atomic_32.c | ||
atomic_asm_32.S | ||
cacheflush.c | ||
checksum.c | ||
cpumask.c | ||
delay.c | ||
exports.c | ||
Makefile | ||
memchr_32.c | ||
memchr_64.c | ||
memcpy_32.S | ||
memcpy_64.c | ||
memcpy_user_64.c | ||
memmove.c | ||
memset_32.c | ||
memset_64.c | ||
spinlock_32.c | ||
spinlock_64.c | ||
spinlock_common.h | ||
strchr_32.c | ||
strchr_64.c | ||
string-endian.h | ||
strlen_32.c | ||
strlen_64.c | ||
strnlen_32.c | ||
strnlen_64.c | ||
uaccess.c | ||
usercopy_32.S | ||
usercopy_64.S |