4 if [ $# -eq 3 -a "$2" = '-d' ]; then
7 elif [ $# -ne 1 ]; then
8 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
13 patch $pdir -f --no-backup-if-mismatch -p0 --fuzz 10 < $0
16 patch $pdir -f --no-backup-if-mismatch -R -p0 --fuzz 10 < $0
19 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
24 # DP: delete ASM_OUTPUT_ALIGNED_COMMON from arm/elf.h, since it outputs
25 # DP: the alignment in bits not bytes.
27 Index: gcc/config/arm/elf.h
28 ===================================================================
29 RCS file: /cvs/gcc/gcc/gcc/config/arm/elf.h,v
30 retrieving revision 1.39
32 --- gcc/config/arm/elf.h 21 Nov 2002 21:29:24 -0000 1.39
33 +++ gcc/config/arm/elf.h 20 Sep 2003 14:22:46 -0000
35 #undef TARGET_ASM_NAMED_SECTION
36 #define TARGET_ASM_NAMED_SECTION arm_elf_asm_named_section
38 -#undef ASM_OUTPUT_ALIGNED_COMMON
39 -#define ASM_OUTPUT_ALIGNED_COMMON(STREAM, NAME, SIZE, ALIGN) \
42 - fprintf (STREAM, "\t.comm\t"); \
43 - assemble_name (STREAM, NAME); \
44 - fprintf (STREAM, ", %d, %d\n", SIZE, ALIGN); \
48 /* For PIC code we need to explicitly specify (PLT) and (GOT) relocs. */
49 #define NEED_PLT_RELOC flag_pic
50 #define NEED_GOT_RELOC flag_pic