summaryrefslogtreecommitdiffstats
path: root/arch/tile/lib/Makefile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-03-29 14:05:04 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-04-02 12:12:42 -0400
commitefb734d8ed040b053f53fd53589ed5d9c9b5cd04 (patch)
tree6f001ff457da8e8a2020f3c3ec5f7cf7c9e561ff /arch/tile/lib/Makefile
parentb287f69676a34a9fc341de4d79a9c74e1959dec6 (diff)
downloadlinux-efb734d8ed040b053f53fd53589ed5d9c9b5cd04.tar.bz2
arch/tile: make sure to build memcpy_user_64 without frame pointer
Add a comment explaining why this is important, and add a CFLAGS_REMOVE clause to the Makefile to make sure it happens. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/lib/Makefile')
-rw-r--r--arch/tile/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/lib/Makefile b/arch/tile/lib/Makefile
index 0c26086ecbef..985f59858234 100644
--- a/arch/tile/lib/Makefile
+++ b/arch/tile/lib/Makefile
@@ -7,6 +7,7 @@ lib-y = cacheflush.o checksum.o cpumask.o delay.o uaccess.o \
strchr_$(BITS).o strlen_$(BITS).o
ifeq ($(CONFIG_TILEGX),y)
+CFLAGS_REMOVE_memcpy_user_64.o = -fno-omit-frame-pointer
lib-y += memcpy_user_64.o
else
lib-y += atomic_32.o atomic_asm_32.o memcpy_tile64.o