Commit | Line | Data |
---|---|---|
0f9989f8 VM |
1 | Description: change gcc assembler syntax to use % not @; % works for both x86 and ARM |
2 | Origin: upstream, http://www.icu-project.org/trac/changeset/28107 | |
3 | Bug: http://bugs.icu-project.org/trac/ticket/7664 | |
4 | Bug-Debian: http://bugs.debian.org/589076 | |
5 | ||
6 | Index: icu-4.4.1/source/tools/toolutil/pkg_genc.c | |
7 | =================================================================== | |
8 | diff -adNru icu-4.4.1.orig/source/tools/toolutil/pkg_genc.c icu-4.4.1/source/tools/toolutil/pkg_genc.c | |
9 | --- icu-4.4.1.orig/source/tools/toolutil/pkg_genc.c 2010-04-28 15:27:46.000000000 +0000 | |
10 | +++ icu-4.4.1/source/tools/toolutil/pkg_genc.c 2010-07-14 18:30:35.000000000 +0000 | |
11 | @@ -1,5 +1,5 @@ | |
12 | /****************************************************************************** | |
13 | - * Copyright (C) 2009, International Business Machines | |
14 | + * Copyright (C) 2009-2010, International Business Machines | |
15 | * Corporation and others. All Rights Reserved. | |
16 | ******************************************************************************* | |
17 | */ | |
18 | @@ -118,10 +118,10 @@ | |
19 | } assemblyHeader[] = { | |
20 | {"gcc", | |
21 | ".globl %s\n" | |
22 | - "\t.section .note.GNU-stack,\"\",@progbits\n" | |
23 | + "\t.section .note.GNU-stack,\"\",%%progbits\n" | |
24 | "\t.section .rodata\n" | |
25 | "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */ | |
26 | - "\t.type %s,@object\n" | |
27 | + "\t.type %s,%%object\n" | |
28 | "%s:\n\n", | |
29 | ||
30 | ".long ","",HEX_0X |