Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kedar Sovani <kedars@marvell.com>
- Loading branch information
Kedar Sovani
authored and
Islam Amer
committed
Mar 23, 2014
1 parent
7fe56c1
commit d59183b
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |