1.1 --- a/patches/gcc/4.4.4/250-ia64-noteGNUstack.patch Sun May 16 19:41:53 2010 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,81 +0,0 @@
1.4 -diff -durN gcc-4.4.0.orig/gcc/config/ia64/crtbegin.asm gcc-4.4.0/gcc/config/ia64/crtbegin.asm
1.5 -
1.6 -diff -durN gcc-4.4.4.orig/gcc/config/ia64/crtbegin.asm gcc-4.4.4/gcc/config/ia64/crtbegin.asm
1.7 ---- gcc-4.4.4.orig/gcc/config/ia64/crtbegin.asm 2009-04-10 01:23:07.000000000 +0200
1.8 -+++ gcc-4.4.4/gcc/config/ia64/crtbegin.asm 2010-05-16 19:13:59.000000000 +0200
1.9 -@@ -252,3 +252,7 @@
1.10 - .weak __cxa_finalize
1.11 - #endif
1.12 - .weak _Jv_RegisterClasses
1.13 -+
1.14 -+#ifdef __linux__
1.15 -+.section .note.GNU-stack; .previous
1.16 -+#endif
1.17 -diff -durN gcc-4.4.4.orig/gcc/config/ia64/crtend.asm gcc-4.4.4/gcc/config/ia64/crtend.asm
1.18 ---- gcc-4.4.4.orig/gcc/config/ia64/crtend.asm 2009-04-10 01:23:07.000000000 +0200
1.19 -+++ gcc-4.4.4/gcc/config/ia64/crtend.asm 2010-05-16 19:13:59.000000000 +0200
1.20 -@@ -119,3 +119,7 @@
1.21 -
1.22 - br.ret.sptk.many rp
1.23 - .endp __do_global_ctors_aux
1.24 -+
1.25 -+#ifdef __linux__
1.26 -+.section .note.GNU-stack; .previous
1.27 -+#endif
1.28 -diff -durN gcc-4.4.4.orig/gcc/config/ia64/crti.asm gcc-4.4.4/gcc/config/ia64/crti.asm
1.29 ---- gcc-4.4.4.orig/gcc/config/ia64/crti.asm 2009-04-10 01:23:07.000000000 +0200
1.30 -+++ gcc-4.4.4/gcc/config/ia64/crti.asm 2010-05-16 19:13:59.000000000 +0200
1.31 -@@ -51,3 +51,7 @@
1.32 - .body
1.33 -
1.34 - # end of crti.asm
1.35 -+
1.36 -+#ifdef __linux__
1.37 -+.section .note.GNU-stack; .previous
1.38 -+#endif
1.39 -diff -durN gcc-4.4.4.orig/gcc/config/ia64/crtn.asm gcc-4.4.4/gcc/config/ia64/crtn.asm
1.40 ---- gcc-4.4.4.orig/gcc/config/ia64/crtn.asm 2009-04-10 01:23:07.000000000 +0200
1.41 -+++ gcc-4.4.4/gcc/config/ia64/crtn.asm 2010-05-16 19:13:59.000000000 +0200
1.42 -@@ -41,3 +41,7 @@
1.43 - br.ret.sptk.many b0
1.44 -
1.45 - # end of crtn.asm
1.46 -+
1.47 -+#ifdef __linux__
1.48 -+.section .note.GNU-stack; .previous
1.49 -+#endif
1.50 -diff -durN gcc-4.4.4.orig/gcc/config/ia64/lib1funcs.asm gcc-4.4.4/gcc/config/ia64/lib1funcs.asm
1.51 ---- gcc-4.4.4.orig/gcc/config/ia64/lib1funcs.asm 2009-04-10 01:23:07.000000000 +0200
1.52 -+++ gcc-4.4.4/gcc/config/ia64/lib1funcs.asm 2010-05-16 19:13:59.000000000 +0200
1.53 -@@ -793,3 +793,7 @@
1.54 - .endp __floattitf
1.55 - #endif
1.56 - #endif
1.57 -+
1.58 -+#ifdef __linux__
1.59 -+.section .note.GNU-stack; .previous
1.60 -+#endif
1.61 -diff -durN gcc-4.4.4.orig/gcc/config/ia64/linux.h gcc-4.4.4/gcc/config/ia64/linux.h
1.62 ---- gcc-4.4.4.orig/gcc/config/ia64/linux.h 2009-02-12 17:30:53.000000000 +0100
1.63 -+++ gcc-4.4.4/gcc/config/ia64/linux.h 2010-05-16 19:13:59.000000000 +0200
1.64 -@@ -5,6 +5,8 @@
1.65 -
1.66 - #define TARGET_VERSION fprintf (stderr, " (IA-64) Linux");
1.67 -
1.68 -+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
1.69 -+
1.70 - /* This is for -profile to use -lc_p instead of -lc. */
1.71 - #undef CC1_SPEC
1.72 - #define CC1_SPEC "%{profile:-p} %{G*}"
1.73 -diff -durN gcc-4.4.4.orig/gcc/config/rs6000/ppc-asm.h gcc-4.4.4/gcc/config/rs6000/ppc-asm.h
1.74 ---- gcc-4.4.4.orig/gcc/config/rs6000/ppc-asm.h 2008-10-13 17:44:26.000000000 +0200
1.75 -+++ gcc-4.4.4/gcc/config/rs6000/ppc-asm.h 2010-05-16 19:13:59.000000000 +0200
1.76 -@@ -172,7 +172,7 @@
1.77 - .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name)
1.78 - #endif
1.79 -
1.80 --#if defined __linux__ && !defined __powerpc64__
1.81 -+#if defined __linux__
1.82 - .section .note.GNU-stack
1.83 - .previous
1.84 - #endif