Compare commits
21 Commits
master
...
gcc-4_4_4-
Author | SHA1 | Date |
---|---|---|
Jakub Jelinek | 462a694956 | |
Jakub Jelinek | 3442905dd8 | |
Jakub Jelinek | 76b93c38a2 | |
Jakub Jelinek | a18c3ea684 | |
Jakub Jelinek | 7eb4bda32b | |
Jakub Jelinek | abdbcec5b0 | |
Jakub Jelinek | 4a75f3b630 | |
Jakub Jelinek | 2e32ee0420 | |
Jakub Jelinek | 8e94c30a0c | |
Jakub Jelinek | d3daf567b2 | |
Jakub Jelinek | c7ea8b534d | |
Jakub Jelinek | 3ac313c7c8 | |
Jakub Jelinek | 04b13b88d4 | |
Jakub Jelinek | 5f4cc7d370 | |
Jakub Jelinek | 60625efada | |
Jakub Jelinek | 6df01761ec | |
Jakub Jelinek | f6f9558cad | |
Jakub Jelinek | 1ba2e86ef4 | |
Jakub Jelinek | 44c3be6bae | |
Jakub Jelinek | f3a89dbfed | |
Jesse Keating | 420e395efa |
|
@ -1,2 +1,2 @@
|
||||||
fastjar-0.97.tar.gz
|
fastjar-0.97.tar.gz
|
||||||
gcc-4.4.3-20100211.tar.bz2
|
gcc-4.4.4-20100611.tar.bz2
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
2010-03-01 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* jartool.c (read_entries): Properly zero-terminate filename.
|
||||||
|
|
||||||
|
--- fastjar-0.97/jartool.c 6 Sep 2009 22:16:00 -0000 1.59
|
||||||
|
+++ fastjar-0.97/jartool.c 1 Mar 2010 15:38:43 -0000 1.60
|
||||||
|
@@ -790,6 +790,7 @@ int read_entries (int fd)
|
||||||
|
progname, jarfile);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
+ ze->filename[len] = '\0';
|
||||||
|
len = UNPACK_UB4(header, CEN_EFLEN);
|
||||||
|
len += UNPACK_UB4(header, CEN_COMLEN);
|
||||||
|
if (lseek (fd, len, SEEK_CUR) == -1)
|
|
@ -0,0 +1,102 @@
|
||||||
|
2010-06-10 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
Dan Rosenberg <dan.j.rosenberg@gmail.com>
|
||||||
|
|
||||||
|
* jartool.c (extract_jar): Fix up checks for traversal to parent
|
||||||
|
directories, disallow absolute paths, make the code slightly more
|
||||||
|
efficient.
|
||||||
|
|
||||||
|
--- fastjar-0.97/jartool.c.jj 2009-09-07 00:10:47.000000000 +0200
|
||||||
|
+++ fastjar-0.97/jartool.c 2010-06-08 20:00:29.000000000 +0200
|
||||||
|
@@ -1730,7 +1730,17 @@ int extract_jar(int fd, const char **fil
|
||||||
|
struct stat sbuf;
|
||||||
|
int depth = 0;
|
||||||
|
|
||||||
|
- tmp_buff = malloc(sizeof(char) * strlen((const char *)filename));
|
||||||
|
+ if(*filename == '/'){
|
||||||
|
+ fprintf(stderr, "Absolute path names are not allowed.\n");
|
||||||
|
+ exit(EXIT_FAILURE);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ tmp_buff = malloc(strlen((const char *)filename));
|
||||||
|
+
|
||||||
|
+ if(tmp_buff == NULL) {
|
||||||
|
+ fprintf(stderr, "Out of memory.\n");
|
||||||
|
+ exit(EXIT_FAILURE);
|
||||||
|
+ }
|
||||||
|
|
||||||
|
for(;;){
|
||||||
|
const ub1 *idx = (const unsigned char *)strchr((const char *)start, '/');
|
||||||
|
@@ -1738,25 +1748,28 @@ int extract_jar(int fd, const char **fil
|
||||||
|
if(idx == NULL)
|
||||||
|
break;
|
||||||
|
else if(idx == start){
|
||||||
|
+ tmp_buff[idx - filename] = '/';
|
||||||
|
start++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
- start = idx + 1;
|
||||||
|
|
||||||
|
- strncpy(tmp_buff, (const char *)filename, (idx - filename));
|
||||||
|
- tmp_buff[(idx - filename)] = '\0';
|
||||||
|
+ memcpy(tmp_buff + (start - filename), (const char *)start, (idx - start));
|
||||||
|
+ tmp_buff[idx - filename] = '\0';
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf("checking the existance of %s\n", tmp_buff);
|
||||||
|
#endif
|
||||||
|
- if(strcmp(tmp_buff, "..") == 0){
|
||||||
|
+ if(idx - start == 2 && memcmp(start, "..", 2) == 0){
|
||||||
|
--depth;
|
||||||
|
if (depth < 0){
|
||||||
|
fprintf(stderr, "Traversal to parent directories during unpacking!\n");
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
- } else if (strcmp(tmp_buff, ".") != 0)
|
||||||
|
+ } else if (idx - start != 1 || *start != '.')
|
||||||
|
++depth;
|
||||||
|
+
|
||||||
|
+ start = idx + 1;
|
||||||
|
+
|
||||||
|
if(stat(tmp_buff, &sbuf) < 0){
|
||||||
|
if(errno != ENOENT)
|
||||||
|
exit_on_error("stat");
|
||||||
|
@@ -1765,6 +1778,7 @@ int extract_jar(int fd, const char **fil
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf("Directory exists\n");
|
||||||
|
#endif
|
||||||
|
+ tmp_buff[idx - filename] = '/';
|
||||||
|
continue;
|
||||||
|
}else {
|
||||||
|
fprintf(stderr, "Hmmm.. %s exists but isn't a directory!\n",
|
||||||
|
@@ -1781,10 +1795,11 @@ int extract_jar(int fd, const char **fil
|
||||||
|
if(verbose && handle)
|
||||||
|
printf("%10s: %s/\n", "created", tmp_buff);
|
||||||
|
|
||||||
|
+ tmp_buff[idx - filename] = '/';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* only a directory */
|
||||||
|
- if(strlen((const char *)start) == 0)
|
||||||
|
+ if(*start == '\0')
|
||||||
|
dir = TRUE;
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
@@ -1792,7 +1807,7 @@ int extract_jar(int fd, const char **fil
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* If the entry was just a directory, don't write to file, etc */
|
||||||
|
- if(strlen((const char *)start) == 0)
|
||||||
|
+ if(*start == '\0')
|
||||||
|
f_fd = -1;
|
||||||
|
|
||||||
|
free(tmp_buff);
|
||||||
|
@@ -1876,7 +1891,8 @@ int extract_jar(int fd, const char **fil
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
|
- close(f_fd);
|
||||||
|
+ if (f_fd != -1)
|
||||||
|
+ close(f_fd);
|
||||||
|
|
||||||
|
if(verbose && dir == FALSE && handle)
|
||||||
|
printf("%10s: %s\n",
|
341
gcc.spec
341
gcc.spec
|
@ -1,12 +1,12 @@
|
||||||
%global DATE 20100211
|
%global DATE 20100611
|
||||||
%global SVNREV 156726
|
%global SVNREV 160596
|
||||||
%global gcc_version 4.4.3
|
%global gcc_version 4.4.4
|
||||||
# Note, gcc_release must be integer, if you want to add suffixes to
|
# Note, gcc_release must be integer, if you want to add suffixes to
|
||||||
# %{release}, append them after %{gcc_release} on Release: line.
|
# %{release}, append them after %{gcc_release} on Release: line.
|
||||||
%global gcc_release 6
|
%global gcc_release 8
|
||||||
%global _unpackaged_files_terminate_build 0
|
%global _unpackaged_files_terminate_build 0
|
||||||
%global multilib_64_archs sparc64 ppc64 s390x x86_64
|
%global multilib_64_archs sparc64 ppc64 s390x x86_64
|
||||||
%if 0%{?fedora} >= 13
|
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
|
||||||
%global include_gappletviewer 0
|
%global include_gappletviewer 0
|
||||||
%else
|
%else
|
||||||
%global include_gappletviewer 1
|
%global include_gappletviewer 1
|
||||||
|
@ -165,7 +165,6 @@ Patch5: gcc44-ppc32-retaddr.patch
|
||||||
Patch6: gcc44-pr33763.patch
|
Patch6: gcc44-pr33763.patch
|
||||||
Patch7: gcc44-rh330771.patch
|
Patch7: gcc44-rh330771.patch
|
||||||
Patch8: gcc44-rh341221.patch
|
Patch8: gcc44-rh341221.patch
|
||||||
Patch9: gcc44-java-debug-iface-type.patch
|
|
||||||
Patch10: gcc44-i386-libgomp.patch
|
Patch10: gcc44-i386-libgomp.patch
|
||||||
Patch11: gcc44-sparc-config-detection.patch
|
Patch11: gcc44-sparc-config-detection.patch
|
||||||
Patch12: gcc44-libgomp-omp_h-multilib.patch
|
Patch12: gcc44-libgomp-omp_h-multilib.patch
|
||||||
|
@ -175,11 +174,12 @@ Patch16: gcc44-unwind-debug-hook.patch
|
||||||
Patch17: gcc44-pr38757.patch
|
Patch17: gcc44-pr38757.patch
|
||||||
Patch18: gcc44-libstdc++-docs.patch
|
Patch18: gcc44-libstdc++-docs.patch
|
||||||
Patch19: gcc44-ppc64-aixdesc.patch
|
Patch19: gcc44-ppc64-aixdesc.patch
|
||||||
Patch20: gcc44-max-vartrack-size.patch
|
Patch20: gcc44-no-add-needed.patch
|
||||||
Patch21: gcc44-no-add-needed.patch
|
|
||||||
|
|
||||||
Patch1000: fastjar-0.97-segfault.patch
|
Patch1000: fastjar-0.97-segfault.patch
|
||||||
Patch1001: fastjar-0.97-len1.patch
|
Patch1001: fastjar-0.97-len1.patch
|
||||||
|
Patch1002: fastjar-0.97-filename0.patch
|
||||||
|
Patch1003: fastjar-CVE-2010-0831.patch
|
||||||
|
|
||||||
# On ARM EABI systems, we do want -gnueabi to be part of the
|
# On ARM EABI systems, we do want -gnueabi to be part of the
|
||||||
# target triple.
|
# target triple.
|
||||||
|
@ -243,6 +243,15 @@ This is the GNU implementation of the standard C++ libraries. This
|
||||||
package includes the header files and libraries needed for C++
|
package includes the header files and libraries needed for C++
|
||||||
development. This includes rewritten implementation of STL.
|
development. This includes rewritten implementation of STL.
|
||||||
|
|
||||||
|
%package -n libstdc++-static
|
||||||
|
Summary: Static libraries for the GNU standard C++ library
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libstdc++-devel = %{version}-%{release}
|
||||||
|
Autoreq: true
|
||||||
|
|
||||||
|
%description -n libstdc++-static
|
||||||
|
Static libraries for the GNU standard C++ library.
|
||||||
|
|
||||||
%package -n libstdc++-docs
|
%package -n libstdc++-docs
|
||||||
Summary: Documentation for the GNU standard C++ library
|
Summary: Documentation for the GNU standard C++ library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
@ -330,13 +339,21 @@ Requires: libmudflap = %{version}-%{release}
|
||||||
Requires: gcc = %{version}-%{release}
|
Requires: gcc = %{version}-%{release}
|
||||||
|
|
||||||
%description -n libmudflap-devel
|
%description -n libmudflap-devel
|
||||||
This package contains headers and static libraries for building
|
This package contains headers for building mudflap-instrumented programs.
|
||||||
mudflap-instrumented programs.
|
|
||||||
|
|
||||||
To instrument a non-threaded program, add -fmudflap
|
To instrument a non-threaded program, add -fmudflap
|
||||||
option to GCC and when linking add -lmudflap, for threaded programs
|
option to GCC and when linking add -lmudflap, for threaded programs
|
||||||
also add -fmudflapth and -lmudflapth.
|
also add -fmudflapth and -lmudflapth.
|
||||||
|
|
||||||
|
%package -n libmudflap-static
|
||||||
|
Summary: Static libraries for mudflap support
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libmudflap-devel = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libmudflap-static
|
||||||
|
This package contains static libraries for building mudflap-instrumented
|
||||||
|
programs.
|
||||||
|
|
||||||
%package java
|
%package java
|
||||||
Summary: Java support for GCC
|
Summary: Java support for GCC
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -460,6 +477,15 @@ Autoreq: true
|
||||||
GNAT is a GNU Ada 95 front-end to GCC. This package includes libraries,
|
GNAT is a GNU Ada 95 front-end to GCC. This package includes libraries,
|
||||||
which are required to compile with the GNAT.
|
which are required to compile with the GNAT.
|
||||||
|
|
||||||
|
%package -n libgnat-static
|
||||||
|
Summary: GNU Ada 95 static libraries
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: libgnat-devel = %{version}-%{release}
|
||||||
|
Autoreq: true
|
||||||
|
|
||||||
|
%description -n libgnat-static
|
||||||
|
GNAT is a GNU Ada 95 front-end to GCC. This package includes static libraries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gcc-%{version}-%{DATE}
|
%setup -q -n gcc-%{version}-%{DATE}
|
||||||
%patch0 -p0 -b .hack~
|
%patch0 -p0 -b .hack~
|
||||||
|
@ -471,7 +497,6 @@ which are required to compile with the GNAT.
|
||||||
%patch6 -p0 -b .pr33763~
|
%patch6 -p0 -b .pr33763~
|
||||||
%patch7 -p0 -b .rh330771~
|
%patch7 -p0 -b .rh330771~
|
||||||
%patch8 -p0 -b .rh341221~
|
%patch8 -p0 -b .rh341221~
|
||||||
%patch9 -p0 -b .java-debug-iface-type~
|
|
||||||
%patch10 -p0 -b .i386-libgomp~
|
%patch10 -p0 -b .i386-libgomp~
|
||||||
%patch11 -p0 -b .sparc-config-detection~
|
%patch11 -p0 -b .sparc-config-detection~
|
||||||
%patch12 -p0 -b .libgomp-omp_h-multilib~
|
%patch12 -p0 -b .libgomp-omp_h-multilib~
|
||||||
|
@ -485,9 +510,8 @@ which are required to compile with the GNAT.
|
||||||
%patch18 -p0 -b .libstdc++-docs~
|
%patch18 -p0 -b .libstdc++-docs~
|
||||||
%endif
|
%endif
|
||||||
%patch19 -p0 -b .ppc64-aixdesc~
|
%patch19 -p0 -b .ppc64-aixdesc~
|
||||||
%patch20 -p0 -b .max-vartrack-size~
|
|
||||||
%if 0%{?fedora} >= 13
|
%if 0%{?fedora} >= 13
|
||||||
%patch21 -p0 -b .no-add-needed~
|
%patch20 -p0 -b .no-add-needed~
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# This testcase doesn't compile.
|
# This testcase doesn't compile.
|
||||||
|
@ -497,12 +521,14 @@ tar xzf %{SOURCE4}
|
||||||
|
|
||||||
%patch1000 -p0 -b .fastjar-0.97-segfault~
|
%patch1000 -p0 -b .fastjar-0.97-segfault~
|
||||||
%patch1001 -p0 -b .fastjar-0.97-len1~
|
%patch1001 -p0 -b .fastjar-0.97-len1~
|
||||||
|
%patch1002 -p0 -b .fastjar-0.97-filename0~
|
||||||
|
%patch1003 -p0 -b .fastjar-CVE-2010-0831~
|
||||||
|
|
||||||
%if %{bootstrap_java}
|
%if %{bootstrap_java}
|
||||||
tar xjf %{SOURCE10}
|
tar xjf %{SOURCE10}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
sed -i -e 's/4\.4\.4/4.4.3/' gcc/BASE-VER
|
sed -i -e 's/4\.4\.5/4.4.4/' gcc/BASE-VER
|
||||||
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
|
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
|
||||||
|
|
||||||
# Default to -gdwarf-3 rather than -gdwarf-2
|
# Default to -gdwarf-3 rather than -gdwarf-2
|
||||||
|
@ -543,6 +569,7 @@ fi
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%if %{build_java}
|
%if %{build_java}
|
||||||
|
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
|
||||||
# gjar isn't usable, so even when GCC source tree no longer includes
|
# gjar isn't usable, so even when GCC source tree no longer includes
|
||||||
# fastjar, build it anyway.
|
# fastjar, build it anyway.
|
||||||
mkdir fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
|
mkdir fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
|
||||||
|
@ -686,7 +713,7 @@ CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="`echo $OPT_FLAGS | sed 's/ -Wall / /g'`"
|
||||||
--with-arch_32=i686 \
|
--with-arch_32=i686 \
|
||||||
%endif
|
%endif
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
--with-arch=z9-109 --with-tune=z10 \
|
--with-arch=z9-109 --with-tune=z10 --enable-decimal-float \
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparc sparcv9 ppc
|
%ifnarch sparc sparcv9 ppc
|
||||||
--build=%{gcc_target_platform}
|
--build=%{gcc_target_platform}
|
||||||
|
@ -767,6 +794,7 @@ rm -fr %{buildroot}
|
||||||
cd obj-%{gcc_target_platform}
|
cd obj-%{gcc_target_platform}
|
||||||
|
|
||||||
%if %{build_java}
|
%if %{build_java}
|
||||||
|
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
|
||||||
export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
|
export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
|
||||||
%if !%{bootstrap_java}
|
%if !%{bootstrap_java}
|
||||||
export PATH=`pwd`/java_hacks${PATH:+:$PATH}
|
export PATH=`pwd`/java_hacks${PATH:+:$PATH}
|
||||||
|
@ -974,7 +1002,7 @@ fi
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcj_bc.so $FULLLPATH/
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcj_bc.so $FULLLPATH/
|
||||||
%endif
|
%endif
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a $FULLLPATH/
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a .
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libobjc.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libobjc.*a .
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgomp.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libgomp.*a .
|
||||||
|
@ -1036,12 +1064,13 @@ ln -sf ../`echo ../../../../lib/libgij.so.10.* | sed s~/lib/~/lib64/~` 64/libgij
|
||||||
ln -sf lib32/libgcj_bc.so libgcj_bc.so
|
ln -sf lib32/libgcj_bc.so libgcj_bc.so
|
||||||
ln -sf ../lib64/libgcj_bc.so 64/libgcj_bc.so
|
ln -sf ../lib64/libgcj_bc.so 64/libgcj_bc.so
|
||||||
%endif
|
%endif
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libsupc++.*a 64/
|
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libgfortran.*a 64/
|
mv -f %{buildroot}%{_prefix}/lib64/libgfortran.*a 64/
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libobjc.*a 64/
|
mv -f %{buildroot}%{_prefix}/lib64/libobjc.*a 64/
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libgomp.*a 64/
|
mv -f %{buildroot}%{_prefix}/lib64/libgomp.*a 64/
|
||||||
ln -sf lib32/libstdc++.a libstdc++.a
|
ln -sf lib32/libstdc++.a libstdc++.a
|
||||||
ln -sf ../lib64/libstdc++.a 64/libstdc++.a
|
ln -sf ../lib64/libstdc++.a 64/libstdc++.a
|
||||||
|
ln -sf lib32/libsupc++.a libsupc++.a
|
||||||
|
ln -sf ../lib64/libsupc++.a 64/libsupc++.a
|
||||||
ln -sf lib32/libmudflap.a libmudflap.a
|
ln -sf lib32/libmudflap.a libmudflap.a
|
||||||
ln -sf ../lib64/libmudflap.a 64/libmudflap.a
|
ln -sf ../lib64/libmudflap.a 64/libmudflap.a
|
||||||
ln -sf lib32/libmudflapth.a libmudflapth.a
|
ln -sf lib32/libmudflapth.a libmudflapth.a
|
||||||
|
@ -1069,7 +1098,6 @@ ln -sf ../`echo ../../../../lib64/libgcj.so.10.* | sed s~/../lib64/~/~` 32/libgc
|
||||||
ln -sf ../`echo ../../../../lib64/libgcj-tools.so.10.* | sed s~/../lib64/~/~` 32/libgcj-tools.so
|
ln -sf ../`echo ../../../../lib64/libgcj-tools.so.10.* | sed s~/../lib64/~/~` 32/libgcj-tools.so
|
||||||
ln -sf ../`echo ../../../../lib64/libgij.so.10.* | sed s~/../lib64/~/~` 32/libgij.so
|
ln -sf ../`echo ../../../../lib64/libgij.so.10.* | sed s~/../lib64/~/~` 32/libgij.so
|
||||||
%endif
|
%endif
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libsupc++.*a 32/
|
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libgfortran.*a 32/
|
mv -f %{buildroot}%{_prefix}/lib/libgfortran.*a 32/
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libobjc.*a 32/
|
mv -f %{buildroot}%{_prefix}/lib/libobjc.*a 32/
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libgomp.*a 32/
|
mv -f %{buildroot}%{_prefix}/lib/libgomp.*a 32/
|
||||||
|
@ -1077,6 +1105,8 @@ mv -f %{buildroot}%{_prefix}/lib/libgomp.*a 32/
|
||||||
%ifarch sparc64 ppc64
|
%ifarch sparc64 ppc64
|
||||||
ln -sf ../lib32/libstdc++.a 32/libstdc++.a
|
ln -sf ../lib32/libstdc++.a 32/libstdc++.a
|
||||||
ln -sf lib64/libstdc++.a libstdc++.a
|
ln -sf lib64/libstdc++.a libstdc++.a
|
||||||
|
ln -sf ../lib32/libsupc++.a 32/libsupc++.a
|
||||||
|
ln -sf lib64/libsupc++.a libsupc++.a
|
||||||
ln -sf ../lib32/libmudflap.a 32/libmudflap.a
|
ln -sf ../lib32/libmudflap.a 32/libmudflap.a
|
||||||
ln -sf lib64/libmudflap.a libmudflap.a
|
ln -sf lib64/libmudflap.a libmudflap.a
|
||||||
ln -sf ../lib32/libmudflapth.a 32/libmudflapth.a
|
ln -sf ../lib32/libmudflapth.a 32/libmudflapth.a
|
||||||
|
@ -1094,6 +1124,7 @@ ln -sf lib64/adalib adalib
|
||||||
%else
|
%else
|
||||||
%ifarch %{multilib_64_archs}
|
%ifarch %{multilib_64_archs}
|
||||||
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libstdc++.a 32/libstdc++.a
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libstdc++.a 32/libstdc++.a
|
||||||
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libsupc++.a 32/libsupc++.a
|
||||||
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflap.a 32/libmudflap.a
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflap.a 32/libmudflap.a
|
||||||
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflapth.a 32/libmudflapth.a
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflapth.a 32/libmudflapth.a
|
||||||
%if %{build_java}
|
%if %{build_java}
|
||||||
|
@ -1522,10 +1553,10 @@ fi
|
||||||
%endif
|
%endif
|
||||||
%ifarch sparcv9 ppc %{multilib_64_archs}
|
%ifarch sparcv9 ppc %{multilib_64_archs}
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch sparcv9 sparc64 ppc ppc64
|
%ifarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/gcc/cp/ChangeLog*
|
%doc rpm.doc/changelogs/gcc/cp/ChangeLog*
|
||||||
|
|
||||||
|
@ -1543,23 +1574,49 @@ fi
|
||||||
%dir %{_prefix}/lib/gcc
|
%dir %{_prefix}/lib/gcc
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%if 0%{?fedora} < 14
|
||||||
%ifarch sparcv9 ppc
|
%ifarch sparcv9 ppc
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libsupc++.a
|
||||||
%endif
|
%endif
|
||||||
%ifarch sparc64 ppc64
|
%ifarch sparc64 ppc64
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libsupc++.a
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparcv9 sparc64 ppc ppc64
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparcv9 ppc %{multilib_64_archs}
|
%ifnarch sparcv9 ppc %{multilib_64_archs}
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
|
%doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%files -n libstdc++-static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_prefix}/lib/gcc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%ifarch sparcv9 ppc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libsupc++.a
|
||||||
|
%endif
|
||||||
|
%ifarch sparc64 ppc64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libsupc++.a
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{build_libstdcxx_docs}
|
%if %{build_libstdcxx_docs}
|
||||||
%files -n libstdc++-docs
|
%files -n libstdc++-docs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -1829,15 +1886,52 @@ fi
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adainclude
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adainclude
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifarch sparc64 ppc64
|
%ifarch sparc64 ppc64
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adainclude
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adainclude
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparcv9 sparc64 ppc ppc64
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%files -n libgnat-static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_prefix}/lib/gcc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%ifarch sparcv9 ppc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
|
%ifarch sparc64 ppc64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -1859,6 +1953,7 @@ fi
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mf-runtime.h
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mf-runtime.h
|
||||||
|
%if 0%{?fedora} < 14
|
||||||
%ifarch sparcv9 ppc
|
%ifarch sparcv9 ppc
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
|
||||||
|
@ -1872,12 +1967,218 @@ fi
|
||||||
%ifnarch sparcv9 sparc64 ppc ppc64
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
|
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%files -n libmudflap-static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_prefix}/lib/gcc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%ifarch sparcv9 ppc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%ifarch sparc64 ppc64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflap.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 11 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-8
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- fix demangler (PR other/43838)
|
||||||
|
- VTA backports
|
||||||
|
- further var-tracking speedup (#598310, PR debug/41371)
|
||||||
|
- for typedefs in non-template classes adjust underlying type to
|
||||||
|
emit proper debug info (#601893)
|
||||||
|
- fix up fastjar directory traversal bugs (CVE-2010-0831)
|
||||||
|
|
||||||
|
* Tue Jun 8 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-7
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs c++/43555, fortran/42900, fortran/44360, libfortran/41169,
|
||||||
|
libgcj/38251, libobjc/36610, libstdc++/32499, pch/14940,
|
||||||
|
rtl-optimization/39580, target/44075, target/44169, target/44199
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/44367, debug/44375, rtl-optimization/44013,
|
||||||
|
tree-optimization/44182
|
||||||
|
- speed up var-tracking (#598310, PR debug/41371)
|
||||||
|
- -Wunused-but-set-* bugfixes
|
||||||
|
- PRs c++/44361, c++/44362, c++/44412, c++/44443, c++/44444
|
||||||
|
- fix -mno-fused-madd -mfma4 on i?86/x86_64 (PR target/44338)
|
||||||
|
- use GCJ_PROPERTIES=jdt.compiler.useSingleThread=true when
|
||||||
|
building classes with ecj1 (#524155)
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
- add some static subpackages (#556049)
|
||||||
|
%endif
|
||||||
|
|
||||||
|
* Tue May 25 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-5
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs bootstrap/43870, debug/44205, target/43733, target/44074,
|
||||||
|
target/44202, target/44245, tree-optimization/43845
|
||||||
|
- fix cv-qual issue with function types (#593750, PR c++/44193)
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/41371, debug/42801, debug/43260, debug/43521
|
||||||
|
|
||||||
|
* Tue May 18 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-4
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PR fortran/44135
|
||||||
|
- C++ -Wunused-but-set-variable fix (PR c++/44108)
|
||||||
|
- avoid C++ gimplification affecting mangling (#591635, PR c++/44148)
|
||||||
|
- asm goto fixes (PRs middle-end/44102, bootstrap/42347)
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/41371, debug/44112
|
||||||
|
|
||||||
|
* Fri May 14 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-3
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs debug/43370, documentation/44016, fortran/44036, middle-end/43671,
|
||||||
|
middle-end/44085, target/43744
|
||||||
|
- make comdat guards of STB_GNU_UNIQUE variables also STB_GNU_UNIQUE
|
||||||
|
(PR c++/44059)
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/42278, debug/43950, debug/43983,debug/44104, debug/44136
|
||||||
|
- fix up .debug_macinfo (#479914)
|
||||||
|
- asm goto fixes (PRs middle-end/44071, middle-end/42739)
|
||||||
|
- fix up -march=native (PR target/44046)
|
||||||
|
- C++ -Wunused-but-set-{variable,parameter} support, fixes for C support
|
||||||
|
(#538266, PRs c++/44062, c/43981)
|
||||||
|
- -march=bdver1 and -mtune=bdver1 support
|
||||||
|
|
||||||
|
* Mon May 3 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-2
|
||||||
|
- fix VTA ICE on subregs of @GOTPCREL symbols (#588154, PR debug/43972)
|
||||||
|
|
||||||
|
* Fri Apr 30 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-1
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- GCC 4.4.4 release
|
||||||
|
- VTA backports
|
||||||
|
- PR target/43921
|
||||||
|
|
||||||
|
* Tue Apr 27 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-19
|
||||||
|
- Power7 backports (#584993, #585005)
|
||||||
|
- PRs tree-optimization/43544, target/41787, target/43154, middle-end/42431,
|
||||||
|
rtl-optimization/43413
|
||||||
|
- add @GCC_4.5.0 symbols to libgcc_s
|
||||||
|
- PRs target/43383, other/25232
|
||||||
|
- force DW_CFA_def_cfa instead of DW_CFA_def_cfa_{register,offset{,_sf}}
|
||||||
|
after DW_CFA_def_cfa_expression
|
||||||
|
- make sure _Unwind_DebugHook uses standard calling convention
|
||||||
|
- #pragma omp for fix (PR c/43893)
|
||||||
|
|
||||||
|
* Thu Apr 22 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-18
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs fortran/43339, fortran/43836, libgcj/40860, libgomp/43569,
|
||||||
|
libgomp/43706, libstdc++/40518, middle-end/43337, middle-end/43570,
|
||||||
|
tree-optimization/43769, tree-optimization/43771
|
||||||
|
- fix ICE when compiling 64-bit Wine (#583501, PR target/43662)
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/40040, debug/43762
|
||||||
|
- add support for -Wunused-but-set-{parameter,variable} non-default
|
||||||
|
warnings for C (#538266, PRs c/18624, bootstrap/43699)
|
||||||
|
|
||||||
|
* 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,
|
||||||
|
target/38085, target/43458, target/43643, target/43668,
|
||||||
|
tree-optimization/43186, tree-optimization/43560,
|
||||||
|
tree-optimization/43607, tree-optimization/43629
|
||||||
|
- VTA backports
|
||||||
|
- PR debug/43670
|
||||||
|
- fix xop-vpermil2p* tests (target/43103)
|
||||||
|
|
||||||
|
* Wed Apr 7 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-15
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs libfortran/43605, target/43638
|
||||||
|
- AMD XOP fixes (#579493, PRs target/42664, target/43667)
|
||||||
|
- fix raw string support on big endian hosts (PR preprocessor/43642)
|
||||||
|
- allow -gdwarf-4 option
|
||||||
|
|
||||||
|
* Thu Apr 1 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-14
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs other/43562, c++/41185, c++/41786, fortran/43409, fortran/43551,
|
||||||
|
libfortran/43409, middle-end/43600, target/39254, target/43524,
|
||||||
|
tree-optimization/43528
|
||||||
|
- update raw string support to match N3077
|
||||||
|
- VTA backports
|
||||||
|
- PRs bootstrap/43596, debug/42977, debug/43557, debug/43593,
|
||||||
|
target/43580
|
||||||
|
|
||||||
|
* Sat Mar 27 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-13
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs c/43381, libfortran/43517, target/42113
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/43516, debug/43540
|
||||||
|
|
||||||
|
* Thu Mar 25 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-12
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs c/43385, target/43348, tree-optimization/43415
|
||||||
|
- VTA backports
|
||||||
|
- PRs bootstrap/43511, debug/19192, debug/43479, debug/43508
|
||||||
|
- provide unwind info even for C++ thunks on x86, x86-64 and s390{,x}
|
||||||
|
(PR target/43498)
|
||||||
|
- provide unwind info for x86 PIC thunks even when not using CFI assembler
|
||||||
|
directives (PR debug/43293)
|
||||||
|
|
||||||
|
* Mon Mar 22 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-11
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs c++/43116, libfortran/43265, libgomp/42942, middle-end/42718,
|
||||||
|
middle-end/43419, rtl-optimization/43360, rtl-optimization/43438,
|
||||||
|
target/43305, target/43417
|
||||||
|
- VTA backports
|
||||||
|
- PRs bootstrap/43399, bootstrap/43403, debug/42873, debug/43058,
|
||||||
|
debug/43443, target/43399
|
||||||
|
|
||||||
|
* Tue Mar 16 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-10
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs fortran/43228, fortran/43303, libfortran/43265, libfortran/43320
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/36728, debug/43051, debug/43092, debug/43290,
|
||||||
|
tree-optimization/42917, tree-optimization/43317
|
||||||
|
- fix non-localized vars handling and forwarder block merging
|
||||||
|
(#572260, PR debug/43329)
|
||||||
|
%if 0%{?rhel} >= 6
|
||||||
|
- remove gappletviewer, gcjwebplugin and related files even for
|
||||||
|
RHEL, as xulrunner got updated to 1.9.2.1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
* Tue Mar 9 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-9
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs ada/42253, bootstrap/43121, c/43248, tree-optimization/43220
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/42897, debug/43176, debug/43177, debug/43229, debug/43237,
|
||||||
|
debug/43290, debug/43299, debug/43304
|
||||||
|
- fix unwind info in i?86 PIC register setup sequences (PR debug/43293)
|
||||||
|
|
||||||
|
* Fri Feb 26 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-8
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PR libstdc++/21769
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/42800, debug/43077, debug/43150, debug/43160, debug/43161,
|
||||||
|
debug/43165, debug/43166, debug/43190, target/43139
|
||||||
|
- fix alignment of some stack vars (PR middle-end/39315)
|
||||||
|
|
||||||
|
* Sun Feb 21 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-7
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs c++/43024, c++/43033, fortran/41869, target/40887,
|
||||||
|
tree-optimization/42871, tree-optimization/43074
|
||||||
|
- VTA backports (PRs debug/42918, debug/43084)
|
||||||
|
- --enable-decimal-float on s390{,x} (#565871)
|
||||||
|
- improve __builtin_expect handling, propagate branch probabilities
|
||||||
|
during expansion even for sequences with more than one jump
|
||||||
|
(PR middle-end/42233)
|
||||||
|
|
||||||
* Thu Feb 11 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-6
|
* Thu Feb 11 2010 Jakub Jelinek <jakub@redhat.com> 4.4.3-6
|
||||||
- update from gcc-4_4-branch
|
- update from gcc-4_4-branch
|
||||||
- PR tree-optimization/42705
|
- PR tree-optimization/42705
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
2008-01-25 Jakub Jelinek <jakub@redhat.com>
|
|
||||||
|
|
||||||
* lang.c (java_classify_record): Revert 2007-12-20 change.
|
|
||||||
|
|
||||||
--- gcc/java/lang.c 2007-12-27 09:09:49.000000000 +0100
|
|
||||||
+++ gcc/java/lang.c 2008-01-25 17:43:57.000000000 +0100
|
|
||||||
@@ -965,9 +965,7 @@ java_classify_record (tree type)
|
|
||||||
if (! CLASS_P (type))
|
|
||||||
return RECORD_IS_STRUCT;
|
|
||||||
|
|
||||||
- /* ??? GDB does not support DW_TAG_interface_type as of December,
|
|
||||||
- 2007. Re-enable this at a later time. */
|
|
||||||
- if (0 && CLASS_INTERFACE (TYPE_NAME (type)))
|
|
||||||
+ if (CLASS_INTERFACE (TYPE_NAME (type)))
|
|
||||||
return RECORD_IS_INTERFACE;
|
|
||||||
|
|
||||||
return RECORD_IS_CLASS;
|
|
|
@ -1,229 +0,0 @@
|
||||||
2010-01-05 Alexandre Oliva <aoliva@redhat.com>
|
|
||||||
|
|
||||||
* params.def (PARAM_MAX_VARTRACK_SIZE): New.
|
|
||||||
* doc/invoke.texi: Document it.
|
|
||||||
* var-tracking.c: Include toplev.h and params.h.
|
|
||||||
(vt_find_locations): Return bool indicating success. Compute
|
|
||||||
hash sizes unconditionally. Check new parameter, report.
|
|
||||||
(variable_tracking_main_1): Check vt_find_locations results and
|
|
||||||
retry. Renamed from...
|
|
||||||
(variable_tracking_main): ... this. New wrapper to preserve
|
|
||||||
flag_var_tracking_assignments.
|
|
||||||
* Makefile.in (var-tracking.o): Adjust dependencies.
|
|
||||||
|
|
||||||
--- gcc/doc/invoke.texi.jj 2010-01-09 20:39:58.000000000 +0100
|
|
||||||
+++ gcc/doc/invoke.texi 2010-01-21 10:00:15.979730377 +0100
|
|
||||||
@@ -7937,6 +7937,15 @@ with more basic blocks than this paramet
|
|
||||||
motion optimization performed on them. The default value of the
|
|
||||||
parameter is 1000 for -O1 and 10000 for -O2 and above.
|
|
||||||
|
|
||||||
+@item max-vartrack-size
|
|
||||||
+Sets a maximum number of hash table slots to use during variable
|
|
||||||
+tracking dataflow analysis of any function. If this limit is exceeded
|
|
||||||
+with variable tracking at assignments enabled, analysis for that
|
|
||||||
+function is retried without it, after removing all debug insns from
|
|
||||||
+the function. If the limit is exceeded even without debug insns, var
|
|
||||||
+tracking analysis is completely disabled for the function. Setting
|
|
||||||
+the parameter to zero makes it unlimited.
|
|
||||||
+
|
|
||||||
@item min-nondebug-insn-uid
|
|
||||||
Use uids starting at this parameter for nondebug insns. The range below
|
|
||||||
the parameter is reserved exclusively for debug insns created by
|
|
||||||
--- gcc/params.def.jj 2010-01-09 20:39:58.000000000 +0100
|
|
||||||
+++ gcc/params.def 2010-01-21 10:00:15.980730943 +0100
|
|
||||||
@@ -771,6 +771,13 @@ DEFPARAM (PARAM_LOOP_INVARIANT_MAX_BBS_I
|
|
||||||
"max basic blocks number in loop for loop invariant motion",
|
|
||||||
10000, 0, 0)
|
|
||||||
|
|
||||||
+/* Set maximum hash table size for var tracking. */
|
|
||||||
+
|
|
||||||
+DEFPARAM (PARAM_MAX_VARTRACK_SIZE,
|
|
||||||
+ "max-vartrack-size",
|
|
||||||
+ "Max. size of var tracking hash tables",
|
|
||||||
+ 50000000, 0, 0)
|
|
||||||
+
|
|
||||||
/* Set minimum insn uid for non-debug insns. */
|
|
||||||
|
|
||||||
DEFPARAM (PARAM_MIN_NONDEBUG_INSN_UID,
|
|
||||||
--- gcc/var-tracking.c.jj 2010-01-21 09:10:37.000000000 +0100
|
|
||||||
+++ gcc/var-tracking.c 2010-01-21 10:00:15.983740989 +0100
|
|
||||||
@@ -109,6 +109,8 @@
|
|
||||||
#include "tree-flow.h"
|
|
||||||
#include "cselib.h"
|
|
||||||
#include "target.h"
|
|
||||||
+#include "toplev.h"
|
|
||||||
+#include "params.h"
|
|
||||||
|
|
||||||
/* var-tracking.c assumes that tree code with the same value as VALUE rtx code
|
|
||||||
has no chance to appear in REG_EXPR/MEM_EXPRs and isn't a decl.
|
|
||||||
@@ -451,7 +453,7 @@ static int add_uses (rtx *, void *);
|
|
||||||
static void add_uses_1 (rtx *, void *);
|
|
||||||
static void add_stores (rtx, const_rtx, void *);
|
|
||||||
static bool compute_bb_dataflow (basic_block);
|
|
||||||
-static void vt_find_locations (void);
|
|
||||||
+static bool vt_find_locations (void);
|
|
||||||
|
|
||||||
static void dump_attrs_list (attrs);
|
|
||||||
static int dump_var_slot (void **, void *);
|
|
||||||
@@ -5511,7 +5513,7 @@ compute_bb_dataflow (basic_block bb)
|
|
||||||
|
|
||||||
/* Find the locations of variables in the whole function. */
|
|
||||||
|
|
||||||
-static void
|
|
||||||
+static bool
|
|
||||||
vt_find_locations (void)
|
|
||||||
{
|
|
||||||
fibheap_t worklist, pending, fibheap_swap;
|
|
||||||
@@ -5522,6 +5524,8 @@ vt_find_locations (void)
|
|
||||||
int *rc_order;
|
|
||||||
int i;
|
|
||||||
int htabsz = 0;
|
|
||||||
+ int htabmax = PARAM_VALUE (PARAM_MAX_VARTRACK_SIZE);
|
|
||||||
+ bool success = true;
|
|
||||||
|
|
||||||
/* Compute reverse completion order of depth first search of the CFG
|
|
||||||
so that the data-flow runs faster. */
|
|
||||||
@@ -5543,7 +5547,7 @@ vt_find_locations (void)
|
|
||||||
fibheap_insert (pending, bb_order[bb->index], bb);
|
|
||||||
sbitmap_ones (in_pending);
|
|
||||||
|
|
||||||
- while (!fibheap_empty (pending))
|
|
||||||
+ while (success && !fibheap_empty (pending))
|
|
||||||
{
|
|
||||||
fibheap_swap = pending;
|
|
||||||
pending = worklist;
|
|
||||||
@@ -5566,11 +5570,11 @@ vt_find_locations (void)
|
|
||||||
|
|
||||||
SET_BIT (visited, bb->index);
|
|
||||||
|
|
||||||
- if (dump_file && VTI (bb)->in.vars)
|
|
||||||
+ if (VTI (bb)->in.vars)
|
|
||||||
{
|
|
||||||
htabsz
|
|
||||||
- -= htab_size (shared_hash_htab (VTI (bb)->in.vars))
|
|
||||||
- + htab_size (shared_hash_htab (VTI (bb)->out.vars));
|
|
||||||
+ -= (htab_size (shared_hash_htab (VTI (bb)->in.vars))
|
|
||||||
+ + htab_size (shared_hash_htab (VTI (bb)->out.vars)));
|
|
||||||
oldinsz
|
|
||||||
= htab_elements (shared_hash_htab (VTI (bb)->in.vars));
|
|
||||||
oldoutsz
|
|
||||||
@@ -5634,9 +5638,20 @@ vt_find_locations (void)
|
|
||||||
}
|
|
||||||
|
|
||||||
changed = compute_bb_dataflow (bb);
|
|
||||||
- if (dump_file)
|
|
||||||
- htabsz += htab_size (shared_hash_htab (VTI (bb)->in.vars))
|
|
||||||
- + htab_size (shared_hash_htab (VTI (bb)->out.vars));
|
|
||||||
+ htabsz += (htab_size (shared_hash_htab (VTI (bb)->in.vars))
|
|
||||||
+ + htab_size (shared_hash_htab (VTI (bb)->out.vars)));
|
|
||||||
+
|
|
||||||
+ if (htabmax && htabsz > htabmax)
|
|
||||||
+ {
|
|
||||||
+ if (MAY_HAVE_DEBUG_INSNS)
|
|
||||||
+ inform (DECL_SOURCE_LOCATION (cfun->decl),
|
|
||||||
+ "variable tracking size limit exceeded with debug insns, retrying without");
|
|
||||||
+ else
|
|
||||||
+ inform (DECL_SOURCE_LOCATION (cfun->decl),
|
|
||||||
+ "variable tracking size limit exceeded");
|
|
||||||
+ success = false;
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
if (changed)
|
|
||||||
{
|
|
||||||
@@ -5687,7 +5702,7 @@ vt_find_locations (void)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (MAY_HAVE_DEBUG_INSNS)
|
|
||||||
+ if (success && MAY_HAVE_DEBUG_INSNS)
|
|
||||||
FOR_EACH_BB (bb)
|
|
||||||
gcc_assert (VTI (bb)->flooded);
|
|
||||||
|
|
||||||
@@ -5698,6 +5713,8 @@ vt_find_locations (void)
|
|
||||||
sbitmap_free (visited);
|
|
||||||
sbitmap_free (in_worklist);
|
|
||||||
sbitmap_free (in_pending);
|
|
||||||
+
|
|
||||||
+ return success;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Print the content of the LIST to dump file. */
|
|
||||||
@@ -7600,9 +7617,11 @@ vt_finalize (void)
|
|
||||||
|
|
||||||
/* The entry point to variable tracking pass. */
|
|
||||||
|
|
||||||
-unsigned int
|
|
||||||
-variable_tracking_main (void)
|
|
||||||
+static inline unsigned int
|
|
||||||
+variable_tracking_main_1 (void)
|
|
||||||
{
|
|
||||||
+ bool success;
|
|
||||||
+
|
|
||||||
if (flag_var_tracking_assignments < 0)
|
|
||||||
{
|
|
||||||
delete_debug_insns ();
|
|
||||||
@@ -7627,7 +7646,31 @@ variable_tracking_main (void)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
- vt_find_locations ();
|
|
||||||
+ success = vt_find_locations ();
|
|
||||||
+
|
|
||||||
+ if (!success && flag_var_tracking_assignments > 0)
|
|
||||||
+ {
|
|
||||||
+ vt_finalize ();
|
|
||||||
+
|
|
||||||
+ delete_debug_insns ();
|
|
||||||
+
|
|
||||||
+ /* This is later restored by our caller. */
|
|
||||||
+ flag_var_tracking_assignments = 0;
|
|
||||||
+
|
|
||||||
+ vt_initialize ();
|
|
||||||
+
|
|
||||||
+ if (!frame_pointer_needed && !vt_stack_adjustments ())
|
|
||||||
+ gcc_unreachable ();
|
|
||||||
+
|
|
||||||
+ success = vt_find_locations ();
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (!success)
|
|
||||||
+ {
|
|
||||||
+ vt_finalize ();
|
|
||||||
+ vt_debug_insns_local (false);
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
if (dump_file && (dump_flags & TDF_DETAILS))
|
|
||||||
{
|
|
||||||
@@ -7641,6 +7684,19 @@ variable_tracking_main (void)
|
|
||||||
vt_debug_insns_local (false);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+unsigned int
|
|
||||||
+variable_tracking_main (void)
|
|
||||||
+{
|
|
||||||
+ unsigned int ret;
|
|
||||||
+ int save = flag_var_tracking_assignments;
|
|
||||||
+
|
|
||||||
+ ret = variable_tracking_main_1 ();
|
|
||||||
+
|
|
||||||
+ flag_var_tracking_assignments = save;
|
|
||||||
+
|
|
||||||
+ return ret;
|
|
||||||
+}
|
|
||||||
|
|
||||||
static bool
|
|
||||||
gate_handle_var_tracking (void)
|
|
||||||
--- gcc/Makefile.in.jj 2010-01-21 08:58:12.000000000 +0100
|
|
||||||
+++ gcc/Makefile.in 2010-01-21 10:00:45.555730868 +0100
|
|
||||||
@@ -2751,7 +2751,7 @@ var-tracking.o : var-tracking.c $(CONFIG
|
|
||||||
$(RTL_H) $(TREE_H) hard-reg-set.h insn-config.h reload.h $(FLAGS_H) \
|
|
||||||
$(BASIC_BLOCK_H) output.h sbitmap.h alloc-pool.h $(FIBHEAP_H) $(HASHTAB_H) \
|
|
||||||
$(REGS_H) $(EXPR_H) $(TIMEVAR_H) tree-pass.h cselib.h $(TARGET_H) \
|
|
||||||
- $(TREE_FLOW_H)
|
|
||||||
+ $(TREE_FLOW_H) $(TOPLEV_H) $(PARAMS_H)
|
|
||||||
profile.o : profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
||||||
$(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) $(FUNCTION_H) \
|
|
||||||
$(TOPLEV_H) $(COVERAGE_H) $(TREE_FLOW_H) value-prof.h cfghooks.h \
|
|
|
@ -6,7 +6,7 @@
|
||||||
;;
|
;;
|
||||||
-sparc-*-linux*) # SPARC's running GNU/Linux, libc6
|
-sparc-*-linux*) # SPARC's running GNU/Linux, libc6
|
||||||
+sparc-*-linux* | sparcv9*-*-linux*) # SPARC's running GNU/Linux, libc6
|
+sparc-*-linux* | sparcv9*-*-linux*) # SPARC's running GNU/Linux, libc6
|
||||||
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h"
|
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/gas.h linux.h"
|
||||||
extra_options="${extra_options} sparc/long-double-switch.opt"
|
extra_options="${extra_options} sparc/long-double-switch.opt"
|
||||||
tmake_file="${tmake_file} sparc/t-linux"
|
tmake_file="${tmake_file} sparc/t-linux"
|
||||||
@@ -2287,7 +2287,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
|
@@ -2287,7 +2287,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
;;
|
;;
|
||||||
-sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
|
-sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
|
||||||
+sparc64*-*-linux*) # 64-bit SPARC's running GNU/Linux
|
+sparc64*-*-linux*) # 64-bit SPARC's running GNU/Linux
|
||||||
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h sparc/linux64.h"
|
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/gas.h linux.h sparc/linux64.h"
|
||||||
extra_options="${extra_options} sparc/long-double-switch.opt"
|
extra_options="${extra_options} sparc/long-double-switch.opt"
|
||||||
tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm"
|
tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm"
|
||||||
--- libgcc/config.host.jj 2008-04-24 15:46:19.000000000 -0500
|
--- libgcc/config.host.jj 2008-04-24 15:46:19.000000000 -0500
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2010-04-27 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* unwind-dw2.c (_Unwind_DebugHook): Add used attribute.
|
||||||
|
|
||||||
2009-05-27 Tom Tromey <tromey@redhat.com>
|
2009-05-27 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* unwind-dw2.c (_Unwind_DebugHook): New function.
|
* unwind-dw2.c (_Unwind_DebugHook): New function.
|
||||||
|
@ -5,11 +9,12 @@
|
||||||
|
|
||||||
--- gcc/unwind-dw2.c (revision 147933)
|
--- gcc/unwind-dw2.c (revision 147933)
|
||||||
+++ gcc/unwind-dw2.c (revision 147934)
|
+++ gcc/unwind-dw2.c (revision 147934)
|
||||||
@@ -1473,18 +1473,31 @@ uw_init_context_1 (struct _Unwind_Contex
|
@@ -1473,18 +1473,32 @@ uw_init_context_1 (struct _Unwind_Contex
|
||||||
context->ra = __builtin_extract_return_addr (outer_ra);
|
context->ra = __builtin_extract_return_addr (outer_ra);
|
||||||
}
|
}
|
||||||
|
|
||||||
+static void _Unwind_DebugHook (void *, void *) __attribute__ ((__noinline__));
|
+static void _Unwind_DebugHook (void *, void *)
|
||||||
|
+ __attribute__ ((__noinline__, __used__));
|
||||||
+
|
+
|
||||||
+/* This function is called during unwinding. It is intended as a hook
|
+/* This function is called during unwinding. It is intended as a hook
|
||||||
+ for a debugger to intercept exceptions. CFA is the CFA of the
|
+ for a debugger to intercept exceptions. CFA is the CFA of the
|
||||||
|
|
19
import.log
19
import.log
|
@ -7,3 +7,22 @@ gcc-4_4_3-1_fc13:HEAD:gcc-4.4.3-1.fc13.src.rpm:1264094717
|
||||||
gcc-4_4_3-4_fc13:HEAD:gcc-4.4.3-4.fc13.src.rpm:1264621537
|
gcc-4_4_3-4_fc13:HEAD:gcc-4.4.3-4.fc13.src.rpm:1264621537
|
||||||
gcc-4_4_3-5_fc13:HEAD:gcc-4.4.3-5.fc13.src.rpm:1265659730
|
gcc-4_4_3-5_fc13:HEAD:gcc-4.4.3-5.fc13.src.rpm:1265659730
|
||||||
gcc-4_4_3-6_fc13:HEAD:gcc-4.4.3-6.fc13.src.rpm:1265925505
|
gcc-4_4_3-6_fc13:HEAD:gcc-4.4.3-6.fc13.src.rpm:1265925505
|
||||||
|
gcc-4_4_3-7_fc13:F-13:gcc-4.4.3-7.fc13.src.rpm:1266793373
|
||||||
|
gcc-4_4_3-8_fc13:F-13:gcc-4.4.3-8.fc13.src.rpm:1267230097
|
||||||
|
gcc-4_4_3-9_fc13:F-13:gcc-4.4.3-9.fc13.src.rpm:1268168014
|
||||||
|
gcc-4_4_3-10_fc13:F-13:gcc-4.4.3-10.fc13.src.rpm:1268755563
|
||||||
|
gcc-4_4_3-11_fc13:F-13:gcc-4.4.3-11.fc13.src.rpm:1269273622
|
||||||
|
gcc-4_4_3-12_fc13:F-13:gcc-4.4.3-12.fc13.src.rpm:1269531219
|
||||||
|
gcc-4_4_3-13_fc13:F-13:gcc-4.4.3-13.fc13.src.rpm:1269701401
|
||||||
|
gcc-4_4_3-14_fc13:F-13:gcc-4.4.3-14.fc13.src.rpm:1270134283
|
||||||
|
gcc-4_4_3-15_fc13:F-13:gcc-4.4.3-15.fc13.src.rpm:1270645785
|
||||||
|
gcc-4_4_3-16_fc13:F-13:gcc-4.4.3-16.fc13.src.rpm:1270804069
|
||||||
|
gcc-4_4_3-18_fc13:F-13:gcc-4.4.3-18.fc13.src.rpm:1271928249
|
||||||
|
gcc-4_4_3-19_fc13:F-13:gcc-4.4.3-19.fc13.src.rpm:1272396517
|
||||||
|
gcc-4_4_4-1_fc13:F-13:gcc-4.4.4-1.fc13.src.rpm:1272657908
|
||||||
|
gcc-4_4_4-2_fc13:F-13:gcc-4.4.4-2.fc13.src.rpm:1272918321
|
||||||
|
gcc-4_4_4-3_fc13:F-13:gcc-4.4.4-3.fc13.src.rpm:1273873717
|
||||||
|
gcc-4_4_4-4_fc13:F-13:gcc-4.4.4-4.fc13.src.rpm:1274217265
|
||||||
|
gcc-4_4_4-5_fc13:F-13:gcc-4.4.4-5.fc13.src.rpm:1274827909
|
||||||
|
gcc-4_4_4-7_fc13:F-13:gcc-4.4.4-7.fc13.src.rpm:1275991168
|
||||||
|
gcc-4_4_4-8_fc13:F-13:gcc-4.4.4-8.fc13.src.rpm:1276244305
|
||||||
|
|
Loading…
Reference in New Issue