diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-08-29 13:05:42 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-08-30 11:07:39 +0200 |
commit | d6d6ff6a9c6c48ca7871d5004fa77a4eb317efb5 (patch) | |
tree | 65f7fd606412051ea7de9f3e2d0afe64f7132b5e /toolchain/gcc | |
parent | eba7132f3a37dc41ee9e0e1a7b9d7b5878c7b04f (diff) | |
download | buildroot-novena-d6d6ff6a9c6c48ca7871d5004fa77a4eb317efb5.tar.gz buildroot-novena-d6d6ff6a9c6c48ca7871d5004fa77a4eb317efb5.zip |
Add the patch fixing gcc 4.2.4 to gcc 4.2.2
The patch introduced by commit
1ed2e4fffd0d852e62bc98e92045a132f24c37d8 must also be added to gcc
4.2.2 to let the AVR32 toolchain build properly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/4.2.2-avr32-2.1.5/1001-gcc-4.2.x-inhibit-libc.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/toolchain/gcc/4.2.2-avr32-2.1.5/1001-gcc-4.2.x-inhibit-libc.patch b/toolchain/gcc/4.2.2-avr32-2.1.5/1001-gcc-4.2.x-inhibit-libc.patch new file mode 100644 index 000000000..9a7c90974 --- /dev/null +++ b/toolchain/gcc/4.2.2-avr32-2.1.5/1001-gcc-4.2.x-inhibit-libc.patch @@ -0,0 +1,49 @@ +--- gcc-4.2.4/gcc/unwind-sjlj.c.khem 2010-08-11 12:45:28.000000000 -0700 ++++ gcc-4.2.4/gcc/unwind-sjlj.c 2010-08-11 12:45:50.000000000 -0700 +@@ -28,6 +28,8 @@ + Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ + ++#ifndef inhibit_libc ++ + #include "tconfig.h" + #include "tsystem.h" + #include "coretypes.h" +@@ -326,3 +328,4 @@ uw_identify_context (struct _Unwind_Cont + #include "unwind.inc" + + #endif /* USING_SJLJ_EXCEPTIONS */ ++#endif +--- gcc-4.2.4/gcc/unwind-dw2.c.khem 2010-08-11 12:42:45.000000000 -0700 ++++ gcc-4.2.4/gcc/unwind-dw2.c 2010-08-11 12:43:17.000000000 -0700 +@@ -28,6 +28,8 @@ + Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ + ++#ifndef inhibit_libc ++ + #include "tconfig.h" + #include "tsystem.h" + #include "coretypes.h" +@@ -1537,3 +1539,5 @@ alias (_Unwind_SetIP); + #endif + + #endif /* !USING_SJLJ_EXCEPTIONS */ ++#endif ++ +--- gcc-4.2.4/gcc/unwind-dw2-fde-glibc.c.khem 2010-08-11 12:44:25.000000000 -0700 ++++ gcc-4.2.4/gcc/unwind-dw2-fde-glibc.c 2010-08-11 12:44:48.000000000 -0700 +@@ -29,6 +29,8 @@ + segment and dl_iterate_phdr to avoid register/deregister calls at + DSO load/unload. */ + ++#ifndef inhibit_libc ++ + #ifndef _GNU_SOURCE + #define _GNU_SOURCE 1 + #endif +@@ -438,3 +440,4 @@ _Unwind_Find_FDE (void *pc, struct dwarf + #if defined (USE_GAS_SYMVER) && defined (SHARED) && defined (USE_LIBUNWIND_EXCEPTIONS) + alias (_Unwind_Find_FDE); + #endif ++#endif |