浏览代码

sparc64: Fix section attribute warnings.

CSUM copy to/from user assembler was missing allocatable and
executable attributes for .fixup

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 16 年之前
父节点
当前提交
6373fffc5d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      arch/sparc/lib/csum_copy_from_user.S
  2. 1 1
      arch/sparc/lib/csum_copy_to_user.S

+ 1 - 1
arch/sparc/lib/csum_copy_from_user.S

@@ -5,7 +5,7 @@
 
 
 #define EX_LD(x)		\
 #define EX_LD(x)		\
 98:	x;			\
 98:	x;			\
-	.section .fixup;	\
+	.section .fixup, "ax";	\
 	.align 4;		\
 	.align 4;		\
 99:	retl;			\
 99:	retl;			\
 	 mov	-1, %o0;	\
 	 mov	-1, %o0;	\

+ 1 - 1
arch/sparc/lib/csum_copy_to_user.S

@@ -5,7 +5,7 @@
 
 
 #define EX_ST(x)		\
 #define EX_ST(x)		\
 98:	x;			\
 98:	x;			\
-	.section .fixup;	\
+	.section .fixup,"ax";	\
 	.align 4;		\
 	.align 4;		\
 99:	retl;			\
 99:	retl;			\
 	 mov	-1, %o0;	\
 	 mov	-1, %o0;	\