diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-09-19 16:37:18 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-09-19 16:37:18 (GMT) |
commit | a6552be181a3fb178df12c7c98a91008107e9814 (patch) | |
tree | 30d5a98adcc22868c5b428a42b4fc99ee1d440e4 /patches/gcc/4.3.5/350-sh-without-headers.patch | |
parent | 9176074aecda78ed7a85701d14f5572cdab624e8 (diff) |
cc/gcc: add 4.3.5
4.3.5 is the latest 4.3 version, and probably the last one.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches/gcc/4.3.5/350-sh-without-headers.patch')
-rw-r--r-- | patches/gcc/4.3.5/350-sh-without-headers.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/patches/gcc/4.3.5/350-sh-without-headers.patch b/patches/gcc/4.3.5/350-sh-without-headers.patch new file mode 100644 index 0000000..0bb860d --- /dev/null +++ b/patches/gcc/4.3.5/350-sh-without-headers.patch @@ -0,0 +1,29 @@ +Original patch from: ../4.3.2/350-sh-without-headers.patch + +-= BEGIN original header =- +On 20081011, Khem RAJ writes: + You have to bar gcc trying to build unwinding at stage 1. Try the + attached patch and see if it helps. + + gcc/config/sh/linux-unwind.h | 3 +++ + 1 file changed, 3 insertions(+) + +-= END original header =- + +diff -durN gcc-4.3.3.orig/gcc/config/sh/linux-unwind.h gcc-4.3.3/gcc/config/sh/linux-unwind.h +--- gcc-4.3.3.orig/gcc/config/sh/linux-unwind.h 2007-09-12 08:59:06.000000000 +0200 ++++ gcc-4.3.3/gcc/config/sh/linux-unwind.h 2009-01-27 22:28:57.000000000 +0100 +@@ -26,6 +26,8 @@ + the Free Software Foundation, 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + ++#ifndef inhibit_libc ++ + /* Do code reading to identify a signal frame, and set the frame + state data appropriately. See unwind-dw2.c for the structs. */ + +@@ -251,3 +253,4 @@ + return _URC_NO_REASON; + } + #endif /* defined (__SH5__) */ ++#endif /* ifndef inhibit_libc */ |