From d59183b73735f787debaf993a5275da1a89ff512 Mon Sep 17 00:00:00 2001 From: Kedar Sovani Date: Mon, 5 Oct 2009 13:15:37 +0200 Subject: [PATCH] Fix build failure on ARM. Signed-off-by: Kedar Sovani --- icu/icu.arm.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 icu/icu.arm.patch diff --git a/icu/icu.arm.patch b/icu/icu.arm.patch new file mode 100644 index 0000000..1d7c8c8 --- /dev/null +++ b/icu/icu.arm.patch @@ -0,0 +1,21 @@ +--- 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