source:
patches/gcc-4.4.1-fixes-3.patch@
cdd36982
Last change on this file since cdd36982 was 0cbb4b7, checked in by , 15 years ago | |
---|---|
|
|
File size: 25.0 KB |
-
boehm-gc/ia64_save_regs_in_stack.s
Submitted By: Jim Gifford (jim at cross-lfs dot org) Date: 09-12-2009 Initial Package Version: 4.4.1 Origin: Upstream Upstream Status: Applied Description: This Patch contains fixes for gcc-4.4.1, and should be rechecked periodically. These patches are not for inclusion in the book but for testing purposes only. diff -Naur gcc-4.4.1.orig/boehm-gc/ia64_save_regs_in_stack.s gcc-4.4.1/boehm-gc/ia64_save_regs_in_stack.s
old new 1 .text2 .align 163 .global GC_save_regs_in_stack4 .proc GC_save_regs_in_stack5 GC_save_regs_in_stack:6 .body7 flushrs8 ;;9 mov r8=ar.bsp10 br.ret.sptk.few rp11 .endp GC_save_regs_in_stack12 -
boehm-gc/ia64_save_regs_in_stack.S
diff -Naur gcc-4.4.1.orig/boehm-gc/ia64_save_regs_in_stack.S gcc-4.4.1/boehm-gc/ia64_save_regs_in_stack.S
old new 1 .text 2 .align 16 3 .global GC_save_regs_in_stack 4 .proc GC_save_regs_in_stack 5 GC_save_regs_in_stack: 6 .body 7 flushrs 8 ;; 9 mov r8=ar.bsp 10 br.ret.sptk.few rp 11 .endp GC_save_regs_in_stack 12 13 #ifdef __linux__ 14 .section .note.GNU-stack,"",@progbits 15 #endif -
boehm-gc/include/private/gc_locks.h
diff -Naur gcc-4.4.1.orig/boehm-gc/include/private/gc_locks.h gcc-4.4.1/boehm-gc/include/private/gc_locks.h
old new 139 139 # define GC_TEST_AND_SET_DEFINED 140 140 # endif 141 141 # if defined(POWERPC) 142 # if 0 /* CPP_WORDSZ == 64 totally broken to use int locks with ldarx */ 143 inline static int GC_test_and_set(volatile unsigned int *addr) { 144 unsigned long oldval; 145 unsigned long temp = 1; /* locked value */ 146 147 __asm__ __volatile__( 148 "1:\tldarx %0,0,%3\n" /* load and reserve */ 149 "\tcmpdi %0, 0\n" /* if load is */ 150 "\tbne 2f\n" /* non-zero, return already set */ 151 "\tstdcx. %2,0,%1\n" /* else store conditional */ 152 "\tbne- 1b\n" /* retry if lost reservation */ 153 "\tsync\n" /* import barrier */ 154 "2:\t\n" /* oldval is zero if we set */ 155 : "=&r"(oldval), "=p"(addr) 156 : "r"(temp), "1"(addr) 157 : "cr0","memory"); 158 return (int)oldval; 159 } 142 # define GC_TEST_AND_SET_DEFINED 143 # define GC_CLEAR_DEFINED 144 # if (__GNUC__>4)||((__GNUC__==4)&&(__GNUC_MINOR__>=4)) 145 # define GC_test_and_set(addr) __sync_lock_test_and_set (addr, 1) 146 # define GC_clear(addr) __sync_lock_release (addr) 160 147 # else 161 148 inline static int GC_test_and_set(volatile unsigned int *addr) { 162 149 int oldval; 163 150 int temp = 1; /* locked value */ 164 151 165 152 __asm__ __volatile__( 166 "1:\tlwarx %0,0,%3\n" /* load and reserve */ 153 "\n1:\n" 154 "\tlwarx %0,%y3\n" /* load and reserve, 32-bits */ 167 155 "\tcmpwi %0, 0\n" /* if load is */ 168 156 "\tbne 2f\n" /* non-zero, return already set */ 169 "\tstwcx. %2, 0,%1\n"/* else store conditional */157 "\tstwcx. %2,%y3\n" /* else store conditional */ 170 158 "\tbne- 1b\n" /* retry if lost reservation */ 171 159 "\tsync\n" /* import barrier */ 172 160 "2:\t\n" /* oldval is zero if we set */ 173 : "=&r"(oldval), "= p"(addr)174 : "r"(temp), " 1"(addr)161 : "=&r"(oldval), "=m"(addr) 162 : "r"(temp), "Z"(addr) 175 163 : "cr0","memory"); 176 164 return oldval; 177 165 } 178 # endif179 # define GC_TEST_AND_SET_DEFINED180 166 inline static void GC_clear(volatile unsigned int *addr) { 181 167 __asm__ __volatile__("lwsync" : : : "memory"); 182 168 *(addr) = 0; 183 169 } 184 # define GC_CLEAR_DEFINED170 # endif 185 171 # endif 186 172 # if defined(ALPHA) 187 173 inline static int GC_test_and_set(volatile unsigned int * addr) -
gcc/config/alpha/linux-elf.h
diff -Naur gcc-4.4.1.orig/gcc/config/alpha/linux-elf.h gcc-4.4.1/gcc/config/alpha/linux-elf.h
old new 39 39 40 40 #define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER 41 41 42 #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax}\42 #define LINK_SPEC "-m elf64alpha --hash-style=both %{G*} %{relax:-relax} \ 43 43 %{O*:-O3} %{!O*:-O1} \ 44 44 %{shared:-shared} \ 45 45 %{!shared: \ -
gcc/config/i386/linux64.h
diff -Naur gcc-4.4.1.orig/gcc/config/i386/linux64.h gcc-4.4.1/gcc/config/i386/linux64.h
old new 75 75 #endif 76 76 77 77 #undef LINK_SPEC 78 #define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \78 #define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} --hash-style=both \ 79 79 %{shared:-shared} \ 80 80 %{!shared: \ 81 81 %{!static: \ -
gcc/config/i386/linux.h
diff -Naur gcc-4.4.1.orig/gcc/config/i386/linux.h gcc-4.4.1/gcc/config/i386/linux.h
old new 113 113 { "dynamic_linker", LINUX_DYNAMIC_LINKER } 114 114 115 115 #undef LINK_SPEC 116 #define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \116 #define LINK_SPEC "-m %(link_emulation) --hash-style=both %{shared:-shared} \ 117 117 %{!shared: \ 118 118 %{!ibcs: \ 119 119 %{!static: \ -
gcc/config/ia64/crtbegin.asm
diff -Naur gcc-4.4.1.orig/gcc/config/ia64/crtbegin.asm gcc-4.4.1/gcc/config/ia64/crtbegin.asm
old new 252 252 .weak __cxa_finalize 253 253 #endif 254 254 .weak _Jv_RegisterClasses 255 256 #ifdef __linux__ 257 .section .note.GNU-stack; .previous 258 #endif -
gcc/config/ia64/crtend.asm
diff -Naur gcc-4.4.1.orig/gcc/config/ia64/crtend.asm gcc-4.4.1/gcc/config/ia64/crtend.asm
old new 119 119 120 120 br.ret.sptk.many rp 121 121 .endp __do_global_ctors_aux 122 123 #ifdef __linux__ 124 .section .note.GNU-stack; .previous 125 #endif -
gcc/config/ia64/crti.asm
diff -Naur gcc-4.4.1.orig/gcc/config/ia64/crti.asm gcc-4.4.1/gcc/config/ia64/crti.asm
old new 51 51 .body 52 52 53 53 # end of crti.asm 54 55 #ifdef __linux__ 56 .section .note.GNU-stack; .previous 57 #endif -
gcc/config/ia64/crtn.asm
diff -Naur gcc-4.4.1.orig/gcc/config/ia64/crtn.asm gcc-4.4.1/gcc/config/ia64/crtn.asm
old new 41 41 br.ret.sptk.many b0 42 42 43 43 # end of crtn.asm 44 45 #ifdef __linux__ 46 .section .note.GNU-stack; .previous 47 #endif -
gcc/config/ia64/lib1funcs.asm
diff -Naur gcc-4.4.1.orig/gcc/config/ia64/lib1funcs.asm gcc-4.4.1/gcc/config/ia64/lib1funcs.asm
old new 793 793 .endp __floattitf 794 794 #endif 795 795 #endif 796 797 #ifdef __linux__ 798 .section .note.GNU-stack; .previous 799 #endif -
gcc/config/ia64/linux.h
diff -Naur gcc-4.4.1.orig/gcc/config/ia64/linux.h gcc-4.4.1/gcc/config/ia64/linux.h
old new 5 5 6 6 #define TARGET_VERSION fprintf (stderr, " (IA-64) Linux"); 7 7 8 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack 9 8 10 /* This is for -profile to use -lc_p instead of -lc. */ 9 11 #undef CC1_SPEC 10 12 #define CC1_SPEC "%{profile:-p} %{G*}" … … 40 42 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2" 41 43 42 44 #undef LINK_SPEC 43 #define LINK_SPEC " \45 #define LINK_SPEC "--hash-style=both \ 44 46 %{shared:-shared} \ 45 47 %{!shared: \ 46 48 %{!static: \ -
gcc/config/rs6000/linux64.h
diff -Naur gcc-4.4.1.orig/gcc/config/rs6000/linux64.h gcc-4.4.1/gcc/config/rs6000/linux64.h
old new 357 357 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64) 358 358 359 359 360 #define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \360 #define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \ 361 361 %{rdynamic:-export-dynamic} \ 362 362 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}}" 363 363 364 #define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \364 #define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=both %{!shared: %{!static: \ 365 365 %{rdynamic:-export-dynamic} \ 366 366 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}" 367 367 -
gcc/config/rs6000/ppc-asm.h
diff -Naur gcc-4.4.1.orig/gcc/config/rs6000/ppc-asm.h gcc-4.4.1/gcc/config/rs6000/ppc-asm.h
old new 172 172 .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name) 173 173 #endif 174 174 175 #if defined __linux__ && !defined __powerpc64__175 #if defined __linux__ 176 176 .section .note.GNU-stack 177 177 .previous 178 178 #endif -
gcc/config/rs6000/sysv4.h
diff -Naur gcc-4.4.1.orig/gcc/config/rs6000/sysv4.h gcc-4.4.1/gcc/config/rs6000/sysv4.h
old new 911 911 #define LINUX_DYNAMIC_LINKER \ 912 912 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 913 913 914 #define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \914 #define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \ 915 915 %{rdynamic:-export-dynamic} \ 916 916 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}" 917 917 -
gcc/config/rs6000/t-linux64
diff -Naur gcc-4.4.1.orig/gcc/config/rs6000/t-linux64 gcc-4.4.1/gcc/config/rs6000/t-linux64
old new 14 14 # it doesn't tell anything about the 32bit libraries on those systems. Set 15 15 # MULTILIB_OSDIRNAMES according to what is found on the target. 16 16 17 MULTILIB_OPTIONS = m64/m32 msoft-float17 MULTILIB_OPTIONS = m64/m32 18 18 MULTILIB_DIRNAMES = 64 32 nof 19 19 MULTILIB_EXTRA_OPTS = fPIC mstrict-align 20 MULTILIB_EXCEPTIONS = m64/msoft-float21 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float22 MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof23 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)20 MULTILIB_EXCEPTIONS = 21 MULTILIB_EXCLUSIONS = 22 MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) 23 MULTILIB_MATCHES = 24 24 25 25 softfp_wrap_start := '\#ifndef __powerpc64__' 26 26 softfp_wrap_end := '\#endif' -
gcc/config/s390/linux.h
diff -Naur gcc-4.4.1.orig/gcc/config/s390/linux.h gcc-4.4.1/gcc/config/s390/linux.h
old new 77 77 78 78 #undef LINK_SPEC 79 79 #define LINK_SPEC \ 80 "%{m31:-m elf_s390}%{m64:-m elf64_s390} \80 "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=both \ 81 81 %{shared:-shared} \ 82 82 %{!shared: \ 83 83 %{static:-static} \ -
gcc/config/sparc/linux64.h
diff -Naur gcc-4.4.1.orig/gcc/config/sparc/linux64.h gcc-4.4.1/gcc/config/sparc/linux64.h
old new 121 121 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 122 122 { "link_arch", LINK_ARCH_SPEC }, 123 123 124 #define LINK_ARCH32_SPEC "-m elf32_sparc - Y P,%R/usr/lib %{shared:-shared} \124 #define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=both -Y P,%R/usr/lib %{shared:-shared} \ 125 125 %{!shared: \ 126 126 %{!ibcs: \ 127 127 %{!static: \ … … 130 130 %{static:-static}}} \ 131 131 " 132 132 133 #define LINK_ARCH64_SPEC "-m elf64_sparc - Y P,%R/usr/lib64 %{shared:-shared} \133 #define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \ 134 134 %{!shared: \ 135 135 %{!ibcs: \ 136 136 %{!static: \ … … 211 211 #else /* !SPARC_BI_ARCH */ 212 212 213 213 #undef LINK_SPEC 214 #define LINK_SPEC "-m elf64_sparc - Y P,%R/usr/lib64 %{shared:-shared} \214 #define LINK_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \ 215 215 %{!shared: \ 216 216 %{!ibcs: \ 217 217 %{!static: \ -
gcc/config/sparc/linux.h
diff -Naur gcc-4.4.1.orig/gcc/config/sparc/linux.h gcc-4.4.1/gcc/config/sparc/linux.h
old new 86 86 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 87 87 88 88 #undef LINK_SPEC 89 #define LINK_SPEC "-m elf32_sparc - Y P,/usr/lib %{shared:-shared} \89 #define LINK_SPEC "-m elf32_sparc --hash-style=both -Y P,/usr/lib %{shared:-shared} \ 90 90 %{!mno-relax:%{!r:-relax}} \ 91 91 %{!shared: \ 92 92 %{!ibcs: \ -
gcc/graphite.c
diff -Naur gcc-4.4.1.orig/gcc/graphite.c gcc-4.4.1/gcc/graphite.c
old new 59 59 #include "cloog/cloog.h" 60 60 #include "graphite.h" 61 61 62 #include <dlfcn.h> 63 #define DYNSYMS \ 64 DYNSYM (cloog_block_alloc); \ 65 DYNSYM (cloog_block_list_free); \ 66 DYNSYM (cloog_block_list_malloc); \ 67 DYNSYM (cloog_clast_create); \ 68 DYNSYM (cloog_clast_free); \ 69 DYNSYM (cloog_domain_free); \ 70 DYNSYM (cloog_domain_matrix2domain); \ 71 DYNSYM (cloog_initialize); \ 72 DYNSYM (cloog_loop_malloc); \ 73 DYNSYM (cloog_matrix_alloc); \ 74 DYNSYM (cloog_matrix_copy); \ 75 DYNSYM (cloog_matrix_free); \ 76 DYNSYM (cloog_matrix_print); \ 77 DYNSYM (cloog_names_malloc); \ 78 DYNSYM (cloog_names_scalarize); \ 79 DYNSYM (cloog_options_free); \ 80 DYNSYM (cloog_options_malloc); \ 81 DYNSYM (cloog_program_dump_cloog); \ 82 DYNSYM (cloog_program_extract_scalars); \ 83 DYNSYM (cloog_program_free); \ 84 DYNSYM (cloog_program_generate); \ 85 DYNSYM (cloog_program_malloc); \ 86 DYNSYM (cloog_program_print); \ 87 DYNSYM (cloog_program_scatter); \ 88 DYNSYM (cloog_statement_alloc); \ 89 DYNSYM (ppl_finalize); \ 90 DYNSYM (pprint); \ 91 DYNSYM (stmt_block); \ 92 DYNSYM (stmt_for); \ 93 DYNSYM (stmt_guard); \ 94 DYNSYM (stmt_root); \ 95 DYNSYM (stmt_user); 96 static struct 97 { 98 bool inited; 99 void *h; 100 #define DYNSYM(x) __typeof (x) *p_##x 101 DYNSYMS 102 #undef DYNSYM 103 } cloog_pointers; 104 105 #define cloog_block_alloc (*cloog_pointers.p_cloog_block_alloc) 106 #define cloog_block_list_free (*cloog_pointers.p_cloog_block_list_free) 107 #define cloog_block_list_malloc (*cloog_pointers.p_cloog_block_list_malloc) 108 #define cloog_clast_create (*cloog_pointers.p_cloog_clast_create) 109 #define cloog_clast_free (*cloog_pointers.p_cloog_clast_free) 110 #define cloog_domain_free (*cloog_pointers.p_cloog_domain_free) 111 #define cloog_domain_matrix2domain (*cloog_pointers.p_cloog_domain_matrix2domain) 112 #define cloog_initialize (*cloog_pointers.p_cloog_initialize) 113 #define cloog_loop_malloc (*cloog_pointers.p_cloog_loop_malloc) 114 #define cloog_matrix_alloc (*cloog_pointers.p_cloog_matrix_alloc) 115 #define cloog_matrix_copy (*cloog_pointers.p_cloog_matrix_copy) 116 #define cloog_matrix_free (*cloog_pointers.p_cloog_matrix_free) 117 #define cloog_matrix_print (*cloog_pointers.p_cloog_matrix_print) 118 #define cloog_names_malloc (*cloog_pointers.p_cloog_names_malloc) 119 #define cloog_names_scalarize (*cloog_pointers.p_cloog_names_scalarize) 120 #define cloog_options_free (*cloog_pointers.p_cloog_options_free) 121 #define cloog_options_malloc (*cloog_pointers.p_cloog_options_malloc) 122 #define cloog_program_dump_cloog (*cloog_pointers.p_cloog_program_dump_cloog) 123 #define cloog_program_extract_scalars (*cloog_pointers.p_cloog_program_extract_scalars) 124 #define cloog_program_free (*cloog_pointers.p_cloog_program_free) 125 #define cloog_program_generate (*cloog_pointers.p_cloog_program_generate) 126 #define cloog_program_malloc (*cloog_pointers.p_cloog_program_malloc) 127 #define cloog_program_print (*cloog_pointers.p_cloog_program_print) 128 #define cloog_program_scatter (*cloog_pointers.p_cloog_program_scatter) 129 #define cloog_statement_alloc (*cloog_pointers.p_cloog_statement_alloc) 130 #define ppl_finalize (*cloog_pointers.p_ppl_finalize) 131 #define pprint (*cloog_pointers.p_pprint) 132 #define stmt_block (*cloog_pointers.p_stmt_block) 133 #define stmt_for (*cloog_pointers.p_stmt_for) 134 #define stmt_guard (*cloog_pointers.p_stmt_guard) 135 #define stmt_root (*cloog_pointers.p_stmt_root) 136 #define stmt_user (*cloog_pointers.p_stmt_user) 137 138 #define cloog_finalize (*cloog_pointers.p_ppl_finalize) 139 140 static bool 141 init_cloog_pointers (void) 142 { 143 void *h; 144 145 if (cloog_pointers.inited) 146 return cloog_pointers.h != NULL; 147 h = dlopen ("libcloog.so.0", RTLD_LAZY); 148 cloog_pointers.h = h; 149 if (h == NULL) 150 return false; 151 #define DYNSYM(x) \ 152 do \ 153 { \ 154 union { __typeof (cloog_pointers.p_##x) p; void *q; } u; \ 155 u.q = dlsym (h, #x); \ 156 if (u.q == NULL) \ 157 return false; \ 158 cloog_pointers.p_##x = u.p; \ 159 } \ 160 while (0) 161 DYNSYMS 162 #undef DYNSYM 163 return true; 164 } 165 62 166 static VEC (scop_p, heap) *current_scops; 63 167 64 168 /* Converts a GMP constant V to a tree and returns it. */ … … 4075 4179 STMT. */ 4076 4180 4077 4181 static tree 4078 gcc_type_for_iv_of_clast_loop (struct clast_for *stmt_for )4182 gcc_type_for_iv_of_clast_loop (struct clast_for *stmt_fora) 4079 4183 { 4080 struct clast_user_stmt *stmt = clast_get_body_of_loop ((struct clast_stmt *) stmt_for );4081 const char *cloog_iv = stmt_for ->iterator;4184 struct clast_user_stmt *stmt = clast_get_body_of_loop ((struct clast_stmt *) stmt_fora); 4185 const char *cloog_iv = stmt_fora->iterator; 4082 4186 CloogStatement *cs = stmt->statement; 4083 4187 graphite_bb_p gbb = (graphite_bb_p) cloog_statement_usr (cs); 4084 4188 … … 6109 6213 if (number_of_loops () <= 1) 6110 6214 return; 6111 6215 6216 if (!init_cloog_pointers ()) 6217 { 6218 sorry ("Graphite loop optimizations cannot be used"); 6219 return; 6220 } 6221 6112 6222 current_scops = VEC_alloc (scop_p, heap, 3); 6113 6223 recompute_all_dominators (); 6114 6224 -
gcc/Makefile.in
diff -Naur gcc-4.4.1.orig/gcc/Makefile.in gcc-4.4.1/gcc/Makefile.in
old new 914 914 # How to link with both our special library facilities 915 915 # and the system's installed libraries. 916 916 LIBS = @LIBS@ $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBIBERTY) $(LIBDECNUMBER) 917 BACKENDLIBS = $( CLOOGLIBS) $(PPLLIBS) $(GMPLIBS)917 BACKENDLIBS = $(GMPLIBS) $(if $(CLOOGLIBS),-ldl) 918 918 # Any system libraries needed just for GNAT. 919 919 SYSLIBS = @GNAT_LIBEXC@ 920 920 … … 3061 3061 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ 3062 3062 $(out_file) $(OUTPUT_OPTION) 3063 3063 3064 graphite.o : \ 3065 ALL_CFLAGS := -O $(filter-out -fkeep-inline-functions, $(ALL_CFLAGS)) 3066 3064 3067 # Build auxiliary files that support ecoff format. 3065 3068 mips-tfile: mips-tfile.o version.o $(LIBDEPS) 3066 3069 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ mips-tfile.o version.o $(LIBS) -
libffi/src/ia64/unix.S
diff -Naur gcc-4.4.1.orig/libffi/src/ia64/unix.S gcc-4.4.1/libffi/src/ia64/unix.S
old new 553 553 data8 @pcrel(.Lld_hfa_float) // FFI_IA64_TYPE_HFA_FLOAT 554 554 data8 @pcrel(.Lld_hfa_double) // FFI_IA64_TYPE_HFA_DOUBLE 555 555 data8 @pcrel(.Lld_hfa_ldouble) // FFI_IA64_TYPE_HFA_LDOUBLE 556 557 #if defined __ELF__ && defined __linux__ 558 .section .note.GNU-stack,"",@progbits 559 #endif -
libffi/src/powerpc/linux64_closure.S
diff -Naur gcc-4.4.1.orig/libffi/src/powerpc/linux64_closure.S gcc-4.4.1/libffi/src/powerpc/linux64_closure.S
old new 204 204 .align 3 205 205 .LEFDE1: 206 206 #endif 207 208 #if defined __ELF__ && defined __linux__ 209 .section .note.GNU-stack,"",@progbits 210 #endif -
libffi/src/powerpc/linux64.S
diff -Naur gcc-4.4.1.orig/libffi/src/powerpc/linux64.S gcc-4.4.1/libffi/src/powerpc/linux64.S
old new 179 179 .align 3 180 180 .LEFDE1: 181 181 #endif 182 183 #if defined __ELF__ && defined __linux__ 184 .section .note.GNU-stack,"",@progbits 185 #endif -
libgomp/omp.h.in
diff -Naur gcc-4.4.1.orig/libgomp/omp.h.in gcc-4.4.1/libgomp/omp.h.in
old new 39 39 40 40 typedef struct 41 41 { 42 unsigned char _x[ @OMP_NEST_LOCK_SIZE@]43 __attribute__((__aligned__( @OMP_NEST_LOCK_ALIGN@)));42 unsigned char _x[8 + sizeof (void *)] 43 __attribute__((__aligned__(sizeof (void *)))); 44 44 } omp_nest_lock_t; 45 45 #endif 46 46 -
libjava/configure
diff -Naur gcc-4.4.1.orig/libjava/configure gcc-4.4.1/libjava/configure
old new 1021 1021 default=yes 1022 1022 --enable-java-maintainer-mode 1023 1023 allow rebuilding of .class and .h files 1024 --enable-libjava-multilib 1025 build libjava as multilib 1024 1026 --disable-dependency-tracking speeds up one-time build 1025 1027 --enable-dependency-tracking do not reject slow dependency extractors 1026 1028 --enable-maintainer-mode enable make rules and dependencies not useful … … 1973 1975 fi 1974 1976 1975 1977 1978 # Check whether --enable-libjava-multilib was given. 1979 if test "${enable_libjava_multilib+set}" = set; then 1980 enableval=$enable_libjava_multilib; 1981 fi 1982 1983 if test "$enable_libjava_multilib" = no; then 1984 multilib=no 1985 ac_configure_args="$ac_configure_args --disable-multilib" 1986 fi 1987 1976 1988 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX. 1977 1989 1978 1990 -
libjava/configure.ac
diff -Naur gcc-4.4.1.orig/libjava/configure.ac gcc-4.4.1/libjava/configure.ac
old new 139 139 [allow rebuilding of .class and .h files])) 140 140 AM_CONDITIONAL(JAVA_MAINTAINER_MODE, test "$enable_java_maintainer_mode" = yes) 141 141 142 AC_ARG_ENABLE(libjava-multilib, 143 AS_HELP_STRING([--enable-libjava-multilib], [build libjava as multilib])) 144 if test "$enable_libjava_multilib" = no; then 145 multilib=no 146 ac_configure_args="$ac_configure_args --disable-multilib" 147 fi 148 142 149 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX. 143 150 GCC_NO_EXECUTABLES 144 151 -
ltmain.sh
diff -Naur gcc-4.4.1.orig/ltmain.sh gcc-4.4.1/ltmain.sh
old new 6886 6886 rpath="$finalize_rpath" 6887 6887 test "$mode" != relink && rpath="$compile_rpath$rpath" 6888 6888 for libdir in $rpath; do 6889 case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac 6889 6890 if test -n "$hardcode_libdir_flag_spec"; then 6890 6891 if test -n "$hardcode_libdir_separator"; then 6891 6892 if test -z "$hardcode_libdirs"; then … … 7575 7576 rpath= 7576 7577 hardcode_libdirs= 7577 7578 for libdir in $compile_rpath $finalize_rpath; do 7579 case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac 7578 7580 if test -n "$hardcode_libdir_flag_spec"; then 7579 7581 if test -n "$hardcode_libdir_separator"; then 7580 7582 if test -z "$hardcode_libdirs"; then … … 7626 7628 rpath= 7627 7629 hardcode_libdirs= 7628 7630 for libdir in $finalize_rpath; do 7631 case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac 7629 7632 if test -n "$hardcode_libdir_flag_spec"; then 7630 7633 if test -n "$hardcode_libdir_separator"; then 7631 7634 if test -z "$hardcode_libdirs"; then -
src/boehm-gc/ia64_save_regs_in_stack.S
diff -Naur gcc-4.4.1.orig/src/boehm-gc/ia64_save_regs_in_stack.S gcc-4.4.1/src/boehm-gc/ia64_save_regs_in_stack.S
old new 1 .text 2 .align 16 3 .global GC_save_regs_in_stack 4 .proc GC_save_regs_in_stack 5 GC_save_regs_in_stack: 6 .body 7 flushrs 8 ;; 9 mov r8=ar.bsp 10 br.ret.sptk.few rp 11 .endp GC_save_regs_in_stack 12 13 #ifdef __linux__ 14 .section .note.GNU-stack,"",@progbits 15 #endif
Note:
See TracBrowser
for help on using the repository browser.