parent
e80bd9bf12
commit
dccd321b61
8
gcc.spec
8
gcc.spec
@ -3,7 +3,7 @@
|
||||
%global gcc_version 4.4.3
|
||||
# Note, gcc_release must be integer, if you want to add suffixes to
|
||||
# %{release}, append them after %{gcc_release} on Release: line.
|
||||
%global gcc_release 16
|
||||
%global gcc_release 17
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
%global multilib_64_archs sparc64 ppc64 s390x x86_64
|
||||
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
|
||||
@ -176,6 +176,7 @@ Patch17: gcc44-pr38757.patch
|
||||
Patch18: gcc44-libstdc++-docs.patch
|
||||
Patch19: gcc44-ppc64-aixdesc.patch
|
||||
Patch20: gcc44-no-add-needed.patch
|
||||
Patch21: gcc44-sparc.patch
|
||||
|
||||
Patch1000: fastjar-0.97-segfault.patch
|
||||
Patch1001: fastjar-0.97-len1.patch
|
||||
@ -487,6 +488,7 @@ which are required to compile with the GNAT.
|
||||
%if 0%{?fedora} >= 13
|
||||
%patch20 -p0 -b .no-add-needed~
|
||||
%endif
|
||||
%patch21 -p1 -b .sparc-gss
|
||||
|
||||
# This testcase doesn't compile.
|
||||
rm libjava/testsuite/libjava.lang/PR35020*
|
||||
@ -1876,6 +1878,10 @@ fi
|
||||
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 14 2010 Dennis Gilmore <dennis@ausil.us> 4.4.3-17
|
||||
- rebase and reapply patch for
|
||||
- use gas .section syntax (#530847)
|
||||
|
||||
* Fri Apr 9 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-16
|
||||
- update from gcc-4_4-branch
|
||||
- PRs ada/41912, fortran/43539, middle-end/42956, middle-end/43614,
|
||||
|
54
gcc44-sparc.patch
Normal file
54
gcc44-sparc.patch
Normal file
@ -0,0 +1,54 @@
|
||||
--- gcc-4.4.3-20100409/gcc/config/sparc/sparc.c.orig 2010-04-14 21:20:14.000000000 -0500
|
||||
+++ gcc-4.4.3-20100409/gcc/config/sparc/sparc.c 2010-04-14 21:21:51.000000000 -0500
|
||||
@@ -371,10 +371,6 @@
|
||||
static void emit_save_or_restore_regs (int);
|
||||
static void sparc_asm_function_prologue (FILE *, HOST_WIDE_INT);
|
||||
static void sparc_asm_function_epilogue (FILE *, HOST_WIDE_INT);
|
||||
-#if defined (OBJECT_FORMAT_ELF)
|
||||
-static void sparc_elf_asm_named_section (const char *, unsigned int, tree)
|
||||
- ATTRIBUTE_UNUSED;
|
||||
-#endif
|
||||
|
||||
static int sparc_adjust_cost (rtx, rtx, rtx, int);
|
||||
static int sparc_issue_rate (void);
|
||||
@@ -7848,27 +7844,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
-#if defined (OBJECT_FORMAT_ELF)
|
||||
-static void
|
||||
-sparc_elf_asm_named_section (const char *name, unsigned int flags,
|
||||
- tree decl)
|
||||
-{
|
||||
- fprintf (asm_out_file, "\t.section\t\"%s\"", name);
|
||||
-
|
||||
- if (!(flags & SECTION_DEBUG))
|
||||
- fputs (",#alloc", asm_out_file);
|
||||
- if (flags & SECTION_WRITE)
|
||||
- fputs (",#write", asm_out_file);
|
||||
- if (flags & SECTION_TLS)
|
||||
- fputs (",#tls", asm_out_file);
|
||||
- if (flags & SECTION_CODE)
|
||||
- fputs (",#execinstr", asm_out_file);
|
||||
-
|
||||
- /* ??? Handle SECTION_BSS. */
|
||||
-
|
||||
- fputc ('\n', asm_out_file);
|
||||
-}
|
||||
-#endif /* OBJECT_FORMAT_ELF */
|
||||
|
||||
/* We do not allow indirect calls to be optimized into sibling calls.
|
||||
|
||||
--- gcc-4.4.3-20100409/gcc/config/sparc/sysv4.h.orig 2010-04-14 21:20:54.000000000 -0500
|
||||
+++ gcc-4.4.3-20100409/gcc/config/sparc/sysv4.h 2010-04-14 21:22:24.000000000 -0500
|
||||
@@ -127,10 +127,6 @@
|
||||
#undef DTORS_SECTION_ASM_OP
|
||||
#define DTORS_SECTION_ASM_OP "\t.section\t\".dtors\",#alloc,#write"
|
||||
|
||||
-/* Switch into a generic section. */
|
||||
-#undef TARGET_ASM_NAMED_SECTION
|
||||
-#define TARGET_ASM_NAMED_SECTION sparc_elf_asm_named_section
|
||||
-
|
||||
#undef ASM_OUTPUT_ALIGNED_BSS
|
||||
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
|
||||
asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
|
Loading…
Reference in New Issue
Block a user