Commit d59183b7 authored by Kedar Sovani's avatar Kedar Sovani Committed by Islam Amer

Fix build failure on ARM.

Signed-off-by: default avatarKedar Sovani <kedars@marvell.com>
parent 7fe56c1d
--- icu/source/tools/toolutil/pkg_genc.c.orig 2009-10-05 20:42:46.878010257 +0200
+++ icu/source/tools/toolutil/pkg_genc.c 2009-10-05 20:43:44.073164845 +0200
@@ -118,10 +118,18 @@ static const struct AssemblyType {
} assemblyHeader[] = {
{"gcc",
".globl %s\n"
+#ifdef __arm__
+ "\t.section .note.GNU-stack,\"\",%%progbits\n"
+#else
"\t.section .note.GNU-stack,\"\",@progbits\n"
+#endif
"\t.section .rodata\n"
"\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
+#ifdef __arm__
+ "\t.type %s,%%object\n"
+#else
"\t.type %s,@object\n"
+#endif
"%s:\n\n",
".long ","",HEX_0X
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment