| --- icu/source/tools/toolutil/pkg_genc.c 2014-06-13 03:17:39.764309319 -0700 |
| +++ icu_new/source/tools/toolutil/pkg_genc.c 2014-06-11 01:20:27.551743424 -0700 |
| @@ -117,6 +117,12 @@ |
| int8_t hexType; /* HEX_0X or HEX_0h */ |
| } assemblyHeader[] = { |
| {"gcc", |
| + |
| + "#ifdef __ARM_PCS_VFP\n" |
| + ".fpu vfpv3\n" |
| + ".eabi_attribute Tag_ABI_VFP_args, 1\n" |
| + ".eabi_attribute Tag_ABI_HardFP_use, 3\n" |
| + "#endif\n" |
| ".globl %s\n" |
| "\t.section .note.GNU-stack,\"\",%%progbits\n" |
| "\t.section .rodata\n" |
| @@ -249,7 +255,7 @@ |
| exit(U_FILE_ACCESS_ERROR); |
| } |
| |
| - getOutFilename(filename, destdir, bufferStr, entry, ".s", optFilename); |
| + getOutFilename(filename, destdir, bufferStr, entry, ".S", optFilename); |
| out=T_FileStream_open(bufferStr, "w"); |
| if(out==NULL) { |
| fprintf(stderr, "genccode: unable to open output file %s\n", bufferStr); |