diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-05-17 08:43:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-18 14:32:47 +0100 |
commit | e080d8e18e62949c046023962ead58109dc7caef (patch) | |
tree | 03f226753c14ced2b89ab726ba11912111f6ba93 /meta | |
parent | 725acfad7c093708d3d7cd72f8e72fedce4335a4 (diff) | |
download | poky-e080d8e18e62949c046023962ead58109dc7caef.tar.gz |
gcc: remove unused patches and move patches in proper dir
gcc: update upstream-status for patches
python: update upstream-status for patches
libtool: update upstream-status of patches
m4: update upstream status for patches
eglibc: remove unused patches
eglibc: update upstream status of patches
glibc: update upstream-status of patches & remove unused patches
(From OE-Core rev: d10df0e5a363fe8b305ffac7e8ac231da8e07552)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
76 files changed, 91 insertions, 847 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch b/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch index 4d3e0613b1..46b1584fa6 100644 --- a/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch +++ b/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html | 3 | import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html |
2 | 4 | ||
3 | Index: libc/bits/stdio-lock.h | 5 | Index: libc/bits/stdio-lock.h |
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/armv4t-interworking.patch b/meta/recipes-core/eglibc/eglibc-2.12/armv4t-interworking.patch deleted file mode 100644 index 6ab306180c..0000000000 --- a/meta/recipes-core/eglibc/eglibc-2.12/armv4t-interworking.patch +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | Index: libc/ports/sysdeps/arm/memcpy.S | ||
2 | =================================================================== | ||
3 | --- libc.orig/ports/sysdeps/arm/memcpy.S 2009-09-03 16:12:00.000000000 -0700 | ||
4 | +++ libc/ports/sysdeps/arm/memcpy.S 2009-10-28 12:51:22.000000000 -0700 | ||
5 | @@ -130,7 +130,12 @@ ENTRY(memcpy) | ||
6 | strcsb r4, [r0], #1 | ||
7 | strcsb ip, [r0] | ||
8 | |||
9 | +#if defined (__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) | ||
10 | + ldmfd sp!, {r0, r4, lr} | ||
11 | + bx lr | ||
12 | +#else | ||
13 | ldmfd sp!, {r0, r4, pc} | ||
14 | +#endif | ||
15 | |||
16 | 9: rsb ip, ip, #4 | ||
17 | cmp ip, #2 | ||
18 | Index: libc/ports/sysdeps/arm/memmove.S | ||
19 | =================================================================== | ||
20 | --- libc.orig/ports/sysdeps/arm/memmove.S 2009-09-03 16:12:00.000000000 -0700 | ||
21 | +++ libc/ports/sysdeps/arm/memmove.S 2009-10-28 12:51:22.000000000 -0700 | ||
22 | @@ -144,7 +144,12 @@ ENTRY(memmove) | ||
23 | strneb r3, [r0, #-1]! | ||
24 | strcsb r4, [r0, #-1]! | ||
25 | strcsb ip, [r0, #-1] | ||
26 | +#if defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__) | ||
27 | + ldmfd sp!, {r0, r4, lr} | ||
28 | + bx lr | ||
29 | +#else | ||
30 | ldmfd sp!, {r0, r4, pc} | ||
31 | +#endif | ||
32 | |||
33 | 9: cmp ip, #2 | ||
34 | ldrgtb r3, [r1, #-1]! | ||
35 | Index: libc/ports/sysdeps/unix/sysv/linux/arm/clone.S | ||
36 | =================================================================== | ||
37 | --- libc.orig/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-09-03 16:12:04.000000000 -0700 | ||
38 | +++ libc/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-10-28 12:51:22.000000000 -0700 | ||
39 | @@ -96,8 +96,14 @@ ENTRY(__clone) | ||
40 | #endif | ||
41 | @ pick the function arg and call address off the stack and execute | ||
42 | ldr r0, [sp, #4] | ||
43 | +#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) | ||
44 | + ldr ip, [sp], #8 | ||
45 | + mov lr, pc | ||
46 | + bx ip | ||
47 | +#else | ||
48 | mov lr, pc | ||
49 | ldr pc, [sp], #8 | ||
50 | +#endif | ||
51 | |||
52 | @ and we are done, passing the return value through r0 | ||
53 | b PLTJMP(HIDDEN_JUMPTARGET(_exit)) | ||
54 | Index: libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h | ||
55 | =================================================================== | ||
56 | --- libc.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-09-16 13:58:18.000000000 +0100 | ||
57 | +++ libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-11-03 19:17:16.000000000 +0000 | ||
58 | @@ -129,6 +129,11 @@ | ||
59 | DO_RET(lr); \ | ||
60 | 1: .word C_SYMBOL_NAME(rtld_errno) - 0b - 8; | ||
61 | # else | ||
62 | +#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) | ||
63 | +#define POP_PC ldr lr, [sp], #4; bx lr | ||
64 | +#else | ||
65 | +#define POP_PC ldr pc, [sp], #4 | ||
66 | +#endif | ||
67 | # define SYSCALL_ERROR_HANDLER \ | ||
68 | __local_syscall_error: \ | ||
69 | str lr, [sp, #-4]!; \ | ||
70 | @@ -138,7 +143,7 @@ | ||
71 | rsb r1, r1, #0; \ | ||
72 | str r1, [r0]; \ | ||
73 | mvn r0, #0; \ | ||
74 | - ldr pc, [sp], #4; | ||
75 | + POP_PC; | ||
76 | # endif | ||
77 | #else | ||
78 | # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ | ||
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch b/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch index 99c3fef802..1e7dfa7848 100644 --- a/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch +++ b/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21: | 3 | In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21: |
2 | ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait_private': | 4 | ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait_private': |
3 | ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: warning: implicit declaration of function 'THREAD_GETMEM' | 5 | ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: warning: implicit declaration of function 'THREAD_GETMEM' |
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff b/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff index 934d31ab89..89fff79c00 100644 --- a/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff +++ b/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [Backport] | ||
2 | |||
1 | Make 3.82, as shipped with Fedora 14, fixes some holes in the parser which in | 3 | Make 3.82, as shipped with Fedora 14, fixes some holes in the parser which in |
2 | turn breaks behaviour of some Makefiles. Most notably eglibc's. | 4 | turn breaks behaviour of some Makefiles. Most notably eglibc's. |
3 | 5 | ||
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch b/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch index f968678efb..40ae6d37f4 100644 --- a/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch +++ b/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
1 | The default lib search path order is: | 3 | The default lib search path order is: |
2 | 4 | ||
3 | 1) LD_LIBRARY_PATH | 5 | 1) LD_LIBRARY_PATH |
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch b/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch index ed08d7e301..186c705e56 100644 --- a/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch +++ b/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic | 3 | On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic |
2 | section if a --version-script sets _RLD_MAP to local. This is apparently | 4 | section if a --version-script sets _RLD_MAP to local. This is apparently |
3 | a binutils bug, but libc shouldn't segfault in this case. | 5 | a binutils bug, but libc shouldn't segfault in this case. |
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch b/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch index 57835adcdb..90e644ec3c 100644 --- a/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch +++ b/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html | 3 | Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html |
2 | 4 | ||
3 | This patch scratches an itch. Each individual gcc command in the | 5 | This patch scratches an itch. Each individual gcc command in the |
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch b/meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch deleted file mode 100644 index 945a8ff687..0000000000 --- a/meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | Needed to support ARMv4t machines | ||
2 | |||
3 | Upstream-status: Pending | ||
4 | |||
5 | Index: libc/ports/sysdeps/arm/memcpy.S | ||
6 | =================================================================== | ||
7 | --- libc.orig/ports/sysdeps/arm/memcpy.S 2009-09-03 16:12:00.000000000 -0700 | ||
8 | +++ libc/ports/sysdeps/arm/memcpy.S 2009-10-28 12:51:22.000000000 -0700 | ||
9 | @@ -130,7 +130,12 @@ ENTRY(memcpy) | ||
10 | strcsb r4, [r0], #1 | ||
11 | strcsb ip, [r0] | ||
12 | |||
13 | +#if defined (__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) | ||
14 | + ldmfd sp!, {r0, r4, lr} | ||
15 | + bx lr | ||
16 | +#else | ||
17 | ldmfd sp!, {r0, r4, pc} | ||
18 | +#endif | ||
19 | |||
20 | 9: rsb ip, ip, #4 | ||
21 | cmp ip, #2 | ||
22 | Index: libc/ports/sysdeps/arm/memmove.S | ||
23 | =================================================================== | ||
24 | --- libc.orig/ports/sysdeps/arm/memmove.S 2009-09-03 16:12:00.000000000 -0700 | ||
25 | +++ libc/ports/sysdeps/arm/memmove.S 2009-10-28 12:51:22.000000000 -0700 | ||
26 | @@ -144,7 +144,12 @@ ENTRY(memmove) | ||
27 | strneb r3, [r0, #-1]! | ||
28 | strcsb r4, [r0, #-1]! | ||
29 | strcsb ip, [r0, #-1] | ||
30 | +#if defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__) | ||
31 | + ldmfd sp!, {r0, r4, lr} | ||
32 | + bx lr | ||
33 | +#else | ||
34 | ldmfd sp!, {r0, r4, pc} | ||
35 | +#endif | ||
36 | |||
37 | 9: cmp ip, #2 | ||
38 | ldrgtb r3, [r1, #-1]! | ||
39 | Index: libc/ports/sysdeps/unix/sysv/linux/arm/clone.S | ||
40 | =================================================================== | ||
41 | --- libc.orig/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-09-03 16:12:04.000000000 -0700 | ||
42 | +++ libc/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-10-28 12:51:22.000000000 -0700 | ||
43 | @@ -96,8 +96,14 @@ ENTRY(__clone) | ||
44 | #endif | ||
45 | @ pick the function arg and call address off the stack and execute | ||
46 | ldr r0, [sp, #4] | ||
47 | +#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) | ||
48 | + ldr ip, [sp], #8 | ||
49 | + mov lr, pc | ||
50 | + bx ip | ||
51 | +#else | ||
52 | mov lr, pc | ||
53 | ldr pc, [sp], #8 | ||
54 | +#endif | ||
55 | |||
56 | @ and we are done, passing the return value through r0 | ||
57 | b PLTJMP(HIDDEN_JUMPTARGET(_exit)) | ||
58 | Index: libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h | ||
59 | =================================================================== | ||
60 | --- libc.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-09-16 13:58:18.000000000 +0100 | ||
61 | +++ libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-11-03 19:17:16.000000000 +0000 | ||
62 | @@ -129,6 +129,11 @@ | ||
63 | DO_RET(lr); \ | ||
64 | 1: .word C_SYMBOL_NAME(rtld_errno) - 0b - 8; | ||
65 | # else | ||
66 | +#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) | ||
67 | +#define POP_PC ldr lr, [sp], #4; bx lr | ||
68 | +#else | ||
69 | +#define POP_PC ldr pc, [sp], #4 | ||
70 | +#endif | ||
71 | # define SYSCALL_ERROR_HANDLER \ | ||
72 | __local_syscall_error: \ | ||
73 | str lr, [sp, #-4]!; \ | ||
74 | @@ -138,7 +143,7 @@ | ||
75 | rsb r1, r1, #0; \ | ||
76 | str r1, [r0]; \ | ||
77 | mvn r0, #0; \ | ||
78 | - ldr pc, [sp], #4; | ||
79 | + POP_PC; | ||
80 | # endif | ||
81 | #else | ||
82 | # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ | ||
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch b/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch index f968678efb..40ae6d37f4 100644 --- a/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch +++ b/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
1 | The default lib search path order is: | 3 | The default lib search path order is: |
2 | 4 | ||
3 | 1) LD_LIBRARY_PATH | 5 | 1) LD_LIBRARY_PATH |
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch b/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch index 9424003a47..9740e17393 100644 --- a/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch +++ b/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic | 3 | On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic |
2 | section if a --version-script sets _RLD_MAP to local. This is apparently | 4 | section if a --version-script sets _RLD_MAP to local. This is apparently |
3 | a binutils bug, but libc shouldn't segfault in this case. | 5 | a binutils bug, but libc shouldn't segfault in this case. |
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch b/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch index 7bd6d56feb..915325882b 100644 --- a/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch +++ b/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html | 3 | Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html |
2 | 4 | ||
3 | This patch scratches an itch. Each individual gcc command in the | 5 | This patch scratches an itch. Each individual gcc command in the |
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch index 8069c8931d..cdfeaeadd8 100644 --- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch +++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch | |||
@@ -1,3 +1,11 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | We run the ldconfig in the cross fashion. make the code bitsize aware so that | ||
4 | we can cross build ldconfig cache for various architectures. | ||
5 | |||
6 | Richard Purdie <richard.purdie@linuxfoundation.org> 2009/05/19 | ||
7 | Nitin A Kamble <nitin.a.kamble@intel.com> 2009/03/29 | ||
8 | |||
1 | Index: ldconfig-native-2.12.1/readelflib.c | 9 | Index: ldconfig-native-2.12.1/readelflib.c |
2 | =================================================================== | 10 | =================================================================== |
3 | --- ldconfig-native-2.12.1.orig/readelflib.c | 11 | --- ldconfig-native-2.12.1.orig/readelflib.c |
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch index 77ba03c1af..7f8e4db78a 100644 --- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch +++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | Do data input/output handling according to endien-ness of the library file. | 1 | Upstream-Status: Inappropriate [embedded specific] |
2 | |||
3 | Do data input/output handling according to endien-ness of the library file. That | ||
4 | enables use of ldconfig in the cross fashion for any architecture. | ||
2 | 5 | ||
3 | 2011/04/04 | 6 | 2011/04/04 |
4 | Richard Purdie <richard.purdie@linuxfoundation.org> | 7 | Richard Purdie <richard.purdie@linuxfoundation.org> |
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch index b148553055..4e9aab9416 100644 --- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch +++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
1 | The native version of ldconfig was using native definition of LD_SO (i.e. | 3 | The native version of ldconfig was using native definition of LD_SO (i.e. |
2 | ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig. | 4 | ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig. |
3 | This was causing libc.so on the target marked as ELF lib rather than | 5 | This was causing libc.so on the target marked as ELF lib rather than |
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch index 52ab64c0d6..52986e61c7 100644 --- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch +++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch | |||
@@ -1,3 +1,7 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | enable standalone building of ldconfig | ||
4 | |||
1 | --- | 5 | --- |
2 | cache.c | 11 +- | 6 | cache.c | 11 +- |
3 | chroot_canon.c | 7 + | 7 | chroot_canon.c | 7 + |
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch index 0312ca8833..27bc411078 100644 --- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch +++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | Coming from this bug: http://sourceware.org/bugzilla/show_bug.cgi?id=11149 | 3 | Coming from this bug: http://sourceware.org/bugzilla/show_bug.cgi?id=11149 |
2 | 4 | ||
3 | Nitin A Kamble <nitin.a.kamble@intel.com>2011/03/29 | 5 | Nitin A Kamble <nitin.a.kamble@intel.com>2011/03/29 |
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/arm-check-pf.patch b/meta/recipes-core/glibc/glibc-2.10.1/arm-check-pf.patch deleted file mode 100644 index b045405a37..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/arm-check-pf.patch +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | Index: glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/check_pf.c | ||
4 | =================================================================== | ||
5 | --- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/check_pf.c 2009-06-19 20:45:32.451372131 +0400 | ||
6 | +++ glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/check_pf.c 2009-06-19 20:45:51.351313426 +0400 | ||
7 | @@ -207,9 +207,6 @@ | ||
8 | newp->info.flags = (((ifam->ifa_flags & IFA_F_DEPRECATED) | ||
9 | ? in6ai_deprecated : 0) | ||
10 | | ((ifam->ifa_flags | ||
11 | - & IFA_F_TEMPORARY) | ||
12 | - ? in6ai_temporary : 0) | ||
13 | - | ((ifam->ifa_flags | ||
14 | & IFA_F_HOMEADDRESS) | ||
15 | ? in6ai_homeaddress : 0)); | ||
16 | memcpy (newp->info.addr, address ?: local, | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/arm-lowlevellock-include-tls.patch b/meta/recipes-core/glibc/glibc-2.10.1/arm-lowlevellock-include-tls.patch deleted file mode 100644 index 3f812959f5..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/arm-lowlevellock-include-tls.patch +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | Index: glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h | ||
4 | =================================================================== | ||
5 | --- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2009-06-19 20:54:35.446686910 +0400 | ||
6 | +++ glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2009-06-19 20:54:43.774683370 +0400 | ||
7 | @@ -25,6 +25,7 @@ | ||
8 | #include <atomic.h> | ||
9 | #include <sysdep.h> | ||
10 | #include <kernel-features.h> | ||
11 | +#include <tls.h> | ||
12 | |||
13 | #define FUTEX_WAIT 0 | ||
14 | #define FUTEX_WAKE 1 | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/glibc-2.9-enable-binutils-2.2.patch b/meta/recipes-core/glibc/glibc-2.10.1/glibc-2.9-enable-binutils-2.2.patch index 4ac6d8b56f..07e4758601 100644 --- a/meta/recipes-core/glibc/glibc-2.10.1/glibc-2.9-enable-binutils-2.2.patch +++ b/meta/recipes-core/glibc/glibc-2.10.1/glibc-2.9-enable-binutils-2.2.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | 1 | Upstream-Status: Inappropriate [configuration] |
2 | 2 | ||
3 | --- glibc-2.9.orig/configure.in 2009-10-22 15:38:13.000000000 +0200 | 3 | --- glibc-2.9.orig/configure.in 2009-10-22 15:38:13.000000000 +0200 |
4 | +++ glibc-2.9/configure.in 2009-10-22 15:37:33.000000000 +0200 | 4 | +++ glibc-2.9/configure.in 2009-10-22 15:37:33.000000000 +0200 |
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/glibc-check_pf.patch b/meta/recipes-core/glibc/glibc-2.10.1/glibc-check_pf.patch index a0e55bfaec..dec0892459 100644 --- a/meta/recipes-core/glibc/glibc-2.10.1/glibc-check_pf.patch +++ b/meta/recipes-core/glibc/glibc-2.10.1/glibc-check_pf.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | From libc-ports-return-550-listarch-libc-ports=sources dot redhat dot com at sourceware dot org Tue Oct 31 17:37:21 2006 | 3 | From libc-ports-return-550-listarch-libc-ports=sources dot redhat dot com at sourceware dot org Tue Oct 31 17:37:21 2006 |
2 | Return-Path: <libc-ports-return-550-listarch-libc-ports=sources dot redhat dot com at sourceware dot org> | 4 | Return-Path: <libc-ports-return-550-listarch-libc-ports=sources dot redhat dot com at sourceware dot org> |
3 | Delivered-To: listarch-libc-ports at sources dot redhat dot com | 5 | Delivered-To: listarch-libc-ports at sources dot redhat dot com |
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/local-args6.diff b/meta/recipes-core/glibc/glibc-2.10.1/local-args6.diff deleted file mode 100644 index d6f3e0e3bc..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/local-args6.diff +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- glibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h.orig | ||
4 | +++ glibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h | ||
5 | @@ -73,6 +73,9 @@ | ||
6 | # define DOCARGS_5 DOCARGS_4 | ||
7 | # define UNDOCARGS_5 UNDOCARGS_4 | ||
8 | |||
9 | +# define DOCARGS_6 DOCARGS_5 | ||
10 | +# define UNDOCARGS_6 UNDOCARGS_5 | ||
11 | + | ||
12 | # ifdef IS_IN_libpthread | ||
13 | # define CENABLE bl PLTJMP(__pthread_enable_asynccancel) | ||
14 | # define CDISABLE bl PLTJMP(__pthread_disable_asynccancel) | ||
diff --git a/meta/recipes-devtools/gcc/files/canadian-build-modules-configure.patch b/meta/recipes-devtools/gcc/files/canadian-build-modules-configure.patch deleted file mode 100644 index 8aede105c5..0000000000 --- a/meta/recipes-devtools/gcc/files/canadian-build-modules-configure.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | diff -urN gcc-4.2.2-orig/gcc/configure gcc-4.2.2/gcc/configure | ||
2 | --- gcc-4.2.2-orig/gcc/configure 2008-08-31 23:10:56.000000000 +0200 | ||
3 | +++ gcc-4.2.2/gcc/configure 2008-08-31 23:03:02.000000000 +0200 | ||
4 | @@ -12716,6 +12716,7 @@ | ||
5 | esac | ||
6 | saved_CFLAGS="${CFLAGS}" | ||
7 | CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ | ||
8 | + CPP="${CPP_FOR_BUILD}" CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \ | ||
9 | CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \ | ||
10 | --enable-languages=${enable_languages-all} \ | ||
11 | --target=$target_alias --host=$build_alias --build=$build_alias | ||
12 | diff -urN gcc-4.2.2-orig/gcc/configure.ac gcc-4.2.2/gcc/configure.ac | ||
13 | --- gcc-4.2.2-orig/gcc/configure.ac 2008-08-31 23:10:53.000000000 +0200 | ||
14 | +++ gcc-4.2.2/gcc/configure.ac 2008-08-31 23:03:29.000000000 +0200 | ||
15 | @@ -1490,6 +1490,7 @@ | ||
16 | esac | ||
17 | saved_CFLAGS="${CFLAGS}" | ||
18 | CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ | ||
19 | + CPP="${CPP_FOR_BUILD}" CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \ | ||
20 | ${realsrcdir}/configure \ | ||
21 | --enable-languages=${enable_languages-all} \ | ||
22 | --target=$target_alias --host=$build_alias --build=$build_alias | ||
diff --git a/meta/recipes-devtools/gcc/files/gcc-4.3.3-fix-EXTRA_BUILD.patch b/meta/recipes-devtools/gcc/files/gcc-4.3.3-fix-EXTRA_BUILD.patch deleted file mode 100644 index 8a2a4c4040..0000000000 --- a/meta/recipes-devtools/gcc/files/gcc-4.3.3-fix-EXTRA_BUILD.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | Index: gcc-4.3.3/Makefile.in | ||
2 | =================================================================== | ||
3 | --- gcc-4.3.3.orig/Makefile.in 2010-06-16 18:04:38.379008150 +0400 | ||
4 | +++ gcc-4.3.3/Makefile.in 2010-06-16 18:05:29.115006261 +0400 | ||
5 | @@ -148,6 +148,7 @@ | ||
6 | # built for the build system to override those in BASE_FLAGS_TO_PASSS. | ||
7 | EXTRA_BUILD_FLAGS = \ | ||
8 | CFLAGS="$(CFLAGS_FOR_BUILD)" \ | ||
9 | + LIBCFLAGS="$(CFLAGS_FOR_BUILD)" \ | ||
10 | LDFLAGS="$(LDFLAGS_FOR_BUILD)" | ||
11 | |||
12 | # This is the list of directories to built for the host system. | ||
diff --git a/meta/recipes-devtools/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch b/meta/recipes-devtools/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch deleted file mode 100644 index b3753364f8..0000000000 --- a/meta/recipes-devtools/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: gcc-4.3.1/Makefile.in | ||
2 | =================================================================== | ||
3 | --- gcc-4.3.1.orig/Makefile.in 2010-07-07 13:08:44.000000000 +0200 | ||
4 | +++ gcc-4.3.1/Makefile.in 2010-07-07 13:11:59.246625709 +0200 | ||
5 | @@ -149,7 +149,7 @@ | ||
6 | EXTRA_BUILD_FLAGS = \ | ||
7 | CFLAGS="$(CFLAGS_FOR_BUILD)" \ | ||
8 | LDFLAGS="$(LDFLAGS_FOR_BUILD)" \ | ||
9 | - LIBCFLAGS="" | ||
10 | + LIBCFLAGS="$(CFLAGS_FOR_BUILD)" | ||
11 | |||
12 | # This is the list of directories to built for the host system. | ||
13 | SUBDIRS = @configdirs@ | ||
diff --git a/meta/recipes-devtools/gcc/files/gcc-posix-open-fix.patch b/meta/recipes-devtools/gcc/files/gcc-posix-open-fix.patch deleted file mode 100644 index 99f813e866..0000000000 --- a/meta/recipes-devtools/gcc/files/gcc-posix-open-fix.patch +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | --- gcc-3.4.6/gcc/collect2.c 2008-10-04 18:17:17.796750393 +0400 | ||
2 | +++ gcc-3.4.6/gcc/collect2.new 2008-10-04 18:24:10.120748711 +0400 | ||
3 | @@ -1534,7 +1534,7 @@ collect_execute (const char *prog, char | ||
4 | if (redir) | ||
5 | { | ||
6 | /* Open response file. */ | ||
7 | - redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT); | ||
8 | + redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, S_IWUSR); | ||
9 | |||
10 | /* Duplicate the stdout and stderr file handles | ||
11 | so they can be restored later. */ | ||
diff --git a/meta/recipes-devtools/gcc/files/gcc4-mtune-compat.patch b/meta/recipes-devtools/gcc/files/gcc4-mtune-compat.patch deleted file mode 100644 index 0da2811d37..0000000000 --- a/meta/recipes-devtools/gcc/files/gcc4-mtune-compat.patch +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | Patch for gcc3 to support gcc4-compatible (and consistent) values for -mtune= option. | ||
2 | |||
3 | --- gcc-3.4.4/gcc/config/arm/arm.c.org 2007-12-15 23:58:35.000000000 +0200 | ||
4 | +++ gcc-3.4.4/gcc/config/arm/arm.c 2007-12-16 00:20:39.000000000 +0200 | ||
5 | @@ -432,7 +432,9 @@ | ||
6 | {"arm10tdmi", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_LDSCHED | FL_ARCH5 }, | ||
7 | {"arm1020t", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_LDSCHED | FL_ARCH5 }, | ||
8 | {"arm926ejs", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 | FL_ARCH5E }, | ||
9 | + {"arm926ej-s", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 | FL_ARCH5E }, | ||
10 | {"arm1026ejs", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 | FL_ARCH5E }, | ||
11 | + {"arm1026ej-s", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 | FL_ARCH5E }, | ||
12 | {"xscale", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_LDSCHED | FL_STRONG | FL_ARCH5 | FL_ARCH5E | FL_XSCALE }, | ||
13 | {"iwmmxt", FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_LDSCHED | FL_STRONG | FL_ARCH5 | FL_ARCH5E | FL_XSCALE | FL_IWMMXT }, | ||
14 | /* V6 Architecture Processors */ | ||
diff --git a/meta/recipes-devtools/gcc/files/gfortran-4.3.x.patch b/meta/recipes-devtools/gcc/files/gfortran-4.3.x.patch deleted file mode 100644 index 0c42851ce1..0000000000 --- a/meta/recipes-devtools/gcc/files/gfortran-4.3.x.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | The patch below fixes a crash building libgfortran on arm-linux-gnueabi. | ||
2 | |||
3 | This target doesn't really have a 128-bit integer type, however it does use | ||
4 | TImode to represent the return value of certain special ABI defined library | ||
5 | functions. This results in type_for_size(TImode) being called. | ||
6 | |||
7 | Because TImode deosn't correspond to any gfortran integer kind | ||
8 | gfc_type_for_size returns NULL and we segfault shortly after. | ||
9 | |||
10 | The patch below fixes this by making gfc_type_for_size handle TImode in the | ||
11 | same way as the C frontend. | ||
12 | |||
13 | Tested on x86_64-linux and arm-linux-gnueabi. | ||
14 | Applied to trunk. | ||
15 | |||
16 | Paul | ||
17 | |||
18 | 2007-05-15 Paul Brook <paul@codesourcery.com> | ||
19 | |||
20 | gcc/fortran/ | ||
21 | * trans-types.c (gfc_type_for_size): Handle signed TImode. | ||
22 | |||
23 | Index: gcc-4.2.1/gcc/fortran/trans-types.c | ||
24 | =================================================================== | ||
25 | --- gcc-4.2.1/gcc/fortran/trans-types.c (revision 170435) | ||
26 | +++ gcc-4.2.1/gcc/fortran/trans-types.c (working copy) | ||
27 | @@ -1800,6 +1800,13 @@ gfc_type_for_size (unsigned bits, int un | ||
28 | if (type && bits == TYPE_PRECISION (type)) | ||
29 | return type; | ||
30 | } | ||
31 | + | ||
32 | + /* Handle TImode as a special case because it is used by some backends | ||
33 | + (eg. ARM) even though it is not available for normal use. */ | ||
34 | +#if HOST_BITS_PER_WIDE_INT >= 65 | ||
35 | + if (bits == TYPE_PRECISION (intTI_type_node)) | ||
36 | + return intTI_type_node; | ||
37 | +#endif | ||
38 | } | ||
39 | else | ||
40 | { | ||
diff --git a/meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch b/meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch deleted file mode 100644 index 429e9ffd0c..0000000000 --- a/meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | diff -rupN gcc-4.2.orig/gcc/c-incpath.c gcc-4.2/gcc/c-incpath.c | ||
2 | --- gcc-4.2.orig/gcc/c-incpath.c 2007-09-01 11:28:30.000000000 -0400 | ||
3 | +++ gcc-4.2/gcc/c-incpath.c 2008-08-17 16:56:01.000000000 -0400 | ||
4 | @@ -340,13 +340,18 @@ add_path (char *path, int chain, int cxx | ||
5 | cpp_dir *p; | ||
6 | |||
7 | #if defined (HAVE_DOS_BASED_FILE_SYSTEM) | ||
8 | - /* Convert all backslashes to slashes. The native CRT stat() | ||
9 | - function does not recognize a directory that ends in a backslash | ||
10 | - (unless it is a drive root dir, such "c:\"). Forward slashes, | ||
11 | - trailing or otherwise, cause no problems for stat(). */ | ||
12 | - char* c; | ||
13 | - for (c = path; *c; c++) | ||
14 | - if (*c == '\\') *c = '/'; | ||
15 | + /* Remove unnecessary trailing slashes. On some versions of MS | ||
16 | + Windows, trailing _forward_ slashes cause no problems for stat(). | ||
17 | + On newer versions, stat() does not recognise a directory that ends | ||
18 | + in a '\\' or '/', unless it is a drive root dir, such as "c:/", | ||
19 | + where it is obligatory. */ | ||
20 | + int pathlen = strlen (path); | ||
21 | + char* end = path + pathlen - 1; | ||
22 | + /* Preserve the lead '/' or lead "c:/". */ | ||
23 | + char* start = path + (pathlen > 2 && path[1] == ':' ? 3 : 1); | ||
24 | + | ||
25 | + for (; end > start && IS_DIR_SEPARATOR (*end); end--) | ||
26 | + *end = 0; | ||
27 | #endif | ||
28 | |||
29 | p = XNEW (cpp_dir); | ||
diff --git a/meta/recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch b/meta/recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch deleted file mode 100644 index e16fb4464a..0000000000 --- a/meta/recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | --- | ||
2 | config/mh-mingw | 3 +++ | ||
3 | configure | 1 + | ||
4 | configure.in | 1 + | ||
5 | 3 files changed, 5 insertions(+) | ||
6 | |||
7 | Index: gcc-4.2.3/config/mh-mingw | ||
8 | =================================================================== | ||
9 | --- /dev/null | ||
10 | +++ gcc-4.2.3/config/mh-mingw | ||
11 | @@ -0,0 +1,3 @@ | ||
12 | +# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows | ||
13 | +# Vista (see PR33281 for details). | ||
14 | +BOOT_CFLAGS += -D__USE_MINGW_ACCESS | ||
15 | Index: gcc-4.2.3/configure.in | ||
16 | =================================================================== | ||
17 | --- gcc-4.2.3.orig/configure.in | ||
18 | +++ gcc-4.2.3/configure.in | ||
19 | @@ -929,6 +929,7 @@ case "${host}" in | ||
20 | host_makefile_frag="config/mh-cygwin" | ||
21 | ;; | ||
22 | *-mingw32*) | ||
23 | + host_makefile_frag="config/mh-mingw" | ||
24 | ;; | ||
25 | *-interix*) | ||
26 | host_makefile_frag="config/mh-interix" | ||
27 | Index: gcc-4.2.3/configure | ||
28 | =================================================================== | ||
29 | --- gcc-4.2.3.orig/configure | ||
30 | +++ gcc-4.2.3/configure | ||
31 | @@ -1769,6 +1769,7 @@ case "${host}" in | ||
32 | host_makefile_frag="config/mh-cygwin" | ||
33 | ;; | ||
34 | *-mingw32*) | ||
35 | + host_makefile_frag="config/mh-mingw" | ||
36 | ;; | ||
37 | *-interix*) | ||
38 | host_makefile_frag="config/mh-interix" | ||
diff --git a/meta/recipes-devtools/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch b/meta/recipes-devtools/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch deleted file mode 100644 index faf44c27f9..0000000000 --- a/meta/recipes-devtools/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | --- | ||
2 | config/mh-mingw | 1 + | ||
3 | 1 file changed, 1 insertion(+) | ||
4 | |||
5 | Index: gcc-4.2.3/config/mh-mingw | ||
6 | =================================================================== | ||
7 | --- gcc-4.2.3.orig/config/mh-mingw | ||
8 | +++ gcc-4.2.3/config/mh-mingw | ||
9 | @@ -1,3 +1,4 @@ | ||
10 | # Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows | ||
11 | # Vista (see PR33281 for details). | ||
12 | BOOT_CFLAGS += -D__USE_MINGW_ACCESS | ||
13 | +CFLAGS += -D__USE_MINGW_ACCESS | ||
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-c++-builtin-redecl.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-c++-builtin-redecl.patch index a149eae98e..a2dcedeab3 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-c++-builtin-redecl.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-c++-builtin-redecl.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2007-10-02 Jakub Jelinek <jakub@redhat.com> | 2 | 2007-10-02 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * decl.c (duplicate_decls): When redeclaring a builtin function, | 4 | * decl.c (duplicate_decls): When redeclaring a builtin function, |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-cpp-pragma.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-cpp-pragma.patch index 00d37bd7ce..6dab5bf916 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-cpp-pragma.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-cpp-pragma.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2008-02-26 Jakub Jelinek <jakub@redhat.com> | 2 | 2008-02-26 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA | 4 | * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-i386-libgomp.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-i386-libgomp.patch index a588db28e8..bf09f23aa0 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-i386-libgomp.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-i386-libgomp.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | Build i386.rpm libgomp and libsupc++.a(guard.o) as i486+, pre-i486 | 2 | Build i386.rpm libgomp and libsupc++.a(guard.o) as i486+, pre-i486 |
2 | hardware isn't supported because NPTL doesn't support it anyway. | 3 | hardware isn't supported because NPTL doesn't support it anyway. |
3 | 4 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ia64-libunwind.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ia64-libunwind.patch index cad13d1228..0d6fa61d6a 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ia64-libunwind.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ia64-libunwind.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2004-11-27 Jakub Jelinek <jakub@redhat.com> | 2 | 2004-11-27 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * config.gcc (ia64*-*-linux*): If native and libelf is installed, | 4 | * config.gcc (ia64*-*-linux*): If native and libelf is installed, |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-debug-iface-type.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-debug-iface-type.patch index de14a50018..bd856e4032 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-debug-iface-type.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-debug-iface-type.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> | 2 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * lang.c (java_classify_record): Revert 2007-12-20 change. | 4 | * lang.c (java_classify_record): Revert 2007-12-20 change. |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-nomulti.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-nomulti.patch index 3cb10f3c23..2502f041dd 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-nomulti.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-nomulti.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | Index: libjava/configure.ac | 2 | Index: libjava/configure.ac |
2 | =================================================================== | 3 | =================================================================== |
3 | --- libjava/configure.ac.orig 2010-03-21 12:41:37.000000000 -0700 | 4 | --- libjava/configure.ac.orig 2010-03-21 12:41:37.000000000 -0700 |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-libgomp-speedup.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-libgomp-speedup.patch index da85e556ec..54c855fb34 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-libgomp-speedup.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-libgomp-speedup.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2008-03-28 Jakub Jelinek <jakub@redhat.com> | 2 | 2008-03-28 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * config/linux/sparc/futex.h (atomic_write_barrier): Fix membar | 4 | * config/linux/sparc/futex.h (atomic_write_barrier): Fix membar |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ppc32-retaddr.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ppc32-retaddr.patch index 3de4158eb0..cf9f856de5 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ppc32-retaddr.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ppc32-retaddr.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2005-11-28 Jakub Jelinek <jakub@redhat.com> | 2 | 2005-11-28 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * config/rs6000/rs6000.c (rs6000_return_addr): If COUNT == 0, | 4 | * config/rs6000/rs6000.c (rs6000_return_addr): If COUNT == 0, |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr27898.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr27898.patch index 172bb81171..7ea650f54f 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr27898.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr27898.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2006-08-18 Jakub Jelinek <jakub@redhat.com> | 2 | 2006-08-18 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | PR c/27898 | 4 | PR c/27898 |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr32139.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr32139.patch index f35696703d..b8a2aff987 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr32139.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr32139.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2007-06-01 Jakub Jelinek <jakub@redhat.com> | 2 | 2007-06-01 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | PR tree-optimization/32139 | 4 | PR tree-optimization/32139 |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr33763.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr33763.patch index 68c30650ff..6fc0a1f7c1 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr33763.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr33763.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2007-11-06 Jakub Jelinek <jakub@redhat.com> | 2 | 2007-11-06 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | PR tree-optimization/33763 | 4 | PR tree-optimization/33763 |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh251682.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh251682.patch index e96ae6f134..8415073e17 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh251682.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh251682.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2008-04-01 Jakub Jelinek <jakub@redhat.com> | 2 | 2008-04-01 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | PR pch/13675 | 4 | PR pch/13675 |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh330771.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh330771.patch index 4888ac47dd..22ea108a1a 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh330771.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh330771.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> | 2 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * Makefile.am (libgcj_tools_la_LIBADD): Add. | 4 | * Makefile.am (libgcj_tools_la_LIBADD): Add. |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh341221.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh341221.patch index 7e2801b99b..67edaf1e74 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh341221.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh341221.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2007-10-21 Jakub Jelinek <jakub@redhat.com> | 2 | 2007-10-21 Jakub Jelinek <jakub@redhat.com> |
2 | 3 | ||
3 | * doc/Makefile.am (POD2MAN): Set date from cp-tools.texinfo | 4 | * doc/Makefile.am (POD2MAN): Set date from cp-tools.texinfo |
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch index 23704d3b71..6da24315f3 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [distribution: fedora] | ||
1 | 2010-02-08 Roland McGrath <roland@redhat.com> | 2 | 2010-02-08 Roland McGrath <roland@redhat.com> |
2 | 3 | ||
3 | * config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the | 4 | * config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/15342.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/15342.patch deleted file mode 100644 index d0f3e72d47..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/15342.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | --- gcc/gcc/regrename.c~ 2004-01-14 17:55:20.000000000 +0000 | ||
2 | +++ gcc/gcc/regrename.c 2005-02-28 07:24:25.893015200 +0000 | ||
3 | @@ -671,7 +671,8 @@ | ||
4 | |||
5 | case SET: | ||
6 | scan_rtx (insn, &SET_SRC (x), class, action, OP_IN, 0); | ||
7 | - scan_rtx (insn, &SET_DEST (x), class, action, OP_OUT, 0); | ||
8 | + scan_rtx (insn, &SET_DEST (x), class, action, | ||
9 | + GET_CODE (PATTERN (insn)) == COND_EXEC ? OP_INOUT : OP_OUT, 0); | ||
10 | return; | ||
11 | |||
12 | case STRICT_LOW_PART: | ||
13 | @@ -696,7 +697,8 @@ | ||
14 | abort (); | ||
15 | |||
16 | case CLOBBER: | ||
17 | - scan_rtx (insn, &SET_DEST (x), class, action, OP_OUT, 1); | ||
18 | + scan_rtx (insn, &SET_DEST (x), class, action, | ||
19 | + GET_CODE (PATTERN (insn)) == COND_EXEC ? OP_INOUT : OP_OUT, 0); | ||
20 | return; | ||
21 | |||
22 | case EXPR_LIST: | ||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/arm-nolibfloat.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/arm-nolibfloat.patch index c4897c0330..57d4a00774 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/arm-nolibfloat.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/arm-nolibfloat.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Pending | ||
1 | # Dimitry Andric <dimitry@andric.com>, 2004-05-01 | 2 | # Dimitry Andric <dimitry@andric.com>, 2004-05-01 |
2 | # | 3 | # |
3 | # * Removed the extra -lfloat option from LIBGCC_SPEC, since it isn't needed | 4 | # * Removed the extra -lfloat option from LIBGCC_SPEC, since it isn't needed |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/arm-softfloat.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/arm-softfloat.patch index 5e1edd9208..9a0a691760 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/arm-softfloat.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/arm-softfloat.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Pending | ||
1 | Index: gcc-4.0.2/gcc/config/arm/t-linux | 2 | Index: gcc-4.0.2/gcc/config/arm/t-linux |
2 | =================================================================== | 3 | =================================================================== |
3 | --- gcc-4.0.2.orig/gcc/config/arm/t-linux 2004-05-15 12:41:35.000000000 +0000 | 4 | --- gcc-4.0.2.orig/gcc/config/arm/t-linux 2004-05-15 12:41:35.000000000 +0000 |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/cache-amnesia.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/cache-amnesia.patch deleted file mode 100644 index ef7cd111c5..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/cache-amnesia.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | diff --git a/gcc/configure b/gcc/configure | ||
2 | index 44620ab..6e1830c 100755 | ||
3 | --- a/gcc/configure | ||
4 | +++ b/gcc/configure | ||
5 | @@ -12272,7 +12272,7 @@ else | ||
6 | esac | ||
7 | saved_CFLAGS="${CFLAGS}" | ||
8 | CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ | ||
9 | - ${realsrcdir}/configure \ | ||
10 | + CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \ | ||
11 | --enable-languages=${enable_languages-all} \ | ||
12 | --target=$target_alias --host=$build_alias --build=$build_alias | ||
13 | CFLAGS="${saved_CFLAGS}" | ||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/fortran-static-linking.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/fortran-static-linking.patch deleted file mode 100644 index 3dd6321dc3..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/fortran-static-linking.patch +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | f951 (fortran) links to MPFR and GMP of our staging area but when executing | ||
2 | the command the libs can not be found. Use rpath like all the other apps in | ||
3 | our staging bin/ directory. | ||
4 | |||
5 | Patch the configure to avoid the regeneration... | ||
6 | |||
7 | Index: gcc-4.2.2/configure | ||
8 | =================================================================== | ||
9 | --- gcc-4.2.2.orig/configure 2008-01-15 23:23:41.000000000 +0100 | ||
10 | +++ gcc-4.2.2/configure 2008-01-15 23:25:20.000000000 +0100 | ||
11 | @@ -2278,14 +2278,14 @@ | ||
12 | |||
13 | |||
14 | if test "x$with_mpfr" != x; then | ||
15 | - gmplibs="-L$with_mpfr/lib $gmplibs" | ||
16 | + gmplibs="-static -L$with_mpfr/lib $gmplibs" | ||
17 | gmpinc="-I$with_mpfr/include" | ||
18 | fi | ||
19 | if test "x$with_mpfr_include" != x; then | ||
20 | gmpinc="-I$with_mpfr_include" | ||
21 | fi | ||
22 | if test "x$with_mpfr_lib" != x; then | ||
23 | - gmplibs="-L$with_mpfr_lib $gmplibs" | ||
24 | + gmplibs="-static -L$with_mpfr_lib $gmplibs" | ||
25 | fi | ||
26 | |||
27 | # Specify a location for gmp | ||
28 | Index: gcc-4.2.2/configure.in | ||
29 | =================================================================== | ||
30 | --- gcc-4.2.2.orig/configure.in 2008-01-15 23:23:41.000000000 +0100 | ||
31 | +++ gcc-4.2.2/configure.in 2008-01-15 23:24:36.000000000 +0100 | ||
32 | @@ -1066,14 +1066,14 @@ | ||
33 | AC_ARG_WITH(mpfr_lib, [ --with-mpfr-lib=PATH Specify the directory for the installed MPFR library]) | ||
34 | |||
35 | if test "x$with_mpfr" != x; then | ||
36 | - gmplibs="-L$with_mpfr/lib $gmplibs" | ||
37 | + gmplibs="-static -L$with_mpfr/lib $gmplibs" | ||
38 | gmpinc="-I$with_mpfr/include" | ||
39 | fi | ||
40 | if test "x$with_mpfr_include" != x; then | ||
41 | gmpinc="-I$with_mpfr_include" | ||
42 | fi | ||
43 | if test "x$with_mpfr_lib" != x; then | ||
44 | - gmplibs="-L$with_mpfr_lib $gmplibs" | ||
45 | + gmplibs="-static -L$with_mpfr_lib $gmplibs" | ||
46 | fi | ||
47 | |||
48 | # Specify a location for gmp | ||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.0-arm-lib1asm.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.0-arm-lib1asm.patch deleted file mode 100644 index cf17da6a02..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.0-arm-lib1asm.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | # Fixes errors like the following when building glibc (or any other executable | ||
2 | # or shared library) when using gcc 3.4.0 for ARM with softfloat: | ||
3 | # | ||
4 | # .../libc_pic.os(.text+0x15834): In function `__modf': undefined reference to `__subdf3' | ||
5 | # .../libc_pic.os(.text+0x158b8): In function `__modf': undefined reference to `__subdf3' | ||
6 | # .../libc_pic.os(.text+0x1590c): In function `scalbn': undefined reference to `__muldf3' | ||
7 | # .../libc_pic.os(.text+0x15e94): In function `__ldexpf': undefined reference to `__eqsf2' | ||
8 | # .../libc_pic.os(.text+0xcee4c): In function `monstartup': undefined reference to `__fixsfsi' | ||
9 | |||
10 | diff -urNd gcc-3.4.0-orig/gcc/config/arm/t-linux gcc-3.4.0/gcc/config/arm/t-linux | ||
11 | --- gcc-3.4.0-orig/gcc/config/arm/t-linux 2003-09-20 23:09:07.000000000 +0200 | ||
12 | +++ gcc-3.4.0/gcc/config/arm/t-linux 2004-05-01 20:31:59.102846400 +0200 | ||
13 | @@ -4,7 +4,10 @@ | ||
14 | LIBGCC2_DEBUG_CFLAGS = -g0 | ||
15 | |||
16 | LIB1ASMSRC = arm/lib1funcs.asm | ||
17 | -LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx | ||
18 | +LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \ | ||
19 | + _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \ | ||
20 | + _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \ | ||
21 | + _fixsfsi _fixunssfsi _floatdidf _floatdisf | ||
22 | |||
23 | # MULTILIB_OPTIONS = mhard-float/msoft-float | ||
24 | # MULTILIB_DIRNAMES = hard-float soft-float | ||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch index e6cc42bb65..7453acd348 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Pending | ||
1 | --- gcc-2005q3/gcc/config/arm/linux-eabi.h~ 2007-07-10 09:19:47.000000000 +0930 | 2 | --- gcc-2005q3/gcc/config/arm/linux-eabi.h~ 2007-07-10 09:19:47.000000000 +0930 |
2 | +++ gcc-2005q3/gcc/config/arm/linux-eabi.h 2007-07-10 10:42:37.000000000 +0930 | 3 | +++ gcc-2005q3/gcc/config/arm/linux-eabi.h 2007-07-10 10:42:37.000000000 +0930 |
3 | @@ -48,7 +48,8 @@ | 4 | @@ -48,7 +48,8 @@ |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-makefile-fix.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-makefile-fix.patch index 74c1f26833..9c53173413 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-makefile-fix.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-makefile-fix.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Pending | ||
1 | --- gcc-3.4.4/gcc/Makefile.in.orig 2005-07-25 21:00:37 +0200 | 2 | --- gcc-3.4.4/gcc/Makefile.in.orig 2005-07-25 21:00:37 +0200 |
2 | +++ gcc-3.4.4/gcc/Makefile.in 2005-07-25 21:01:19 +0200 | 3 | +++ gcc-3.4.4/gcc/Makefile.in 2005-07-25 21:01:19 +0200 |
3 | @@ -304,7 +304,7 @@ | 4 | @@ -304,7 +304,7 @@ |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-configure-no-fortran.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-configure-no-fortran.patch index c845503303..d9aed34bf3 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-configure-no-fortran.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-configure-no-fortran.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
1 | --- tmp/configure.in.orig 2006-09-05 17:50:48.000000000 +0100 | 2 | --- tmp/configure.in.orig 2006-09-05 17:50:48.000000000 +0100 |
2 | +++ tmp/configure.in 2006-09-05 17:50:48.000000000 +0100 | 3 | +++ tmp/configure.in 2006-09-05 17:50:48.000000000 +0100 |
3 | @@ -157,7 +157,6 @@ | 4 | @@ -157,7 +157,6 @@ |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-new-makeinfo.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-new-makeinfo.patch index b984605af7..bd3197dc67 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-new-makeinfo.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc-new-makeinfo.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
1 | --- | 2 | --- |
2 | configure | 2 +- | 3 | configure | 2 +- |
3 | configure.in | 2 +- | 4 | configure.in | 2 +- |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc34-arm-tune.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc34-arm-tune.patch deleted file mode 100644 index cdb20bef9b..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc34-arm-tune.patch +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | --- gcc-3.4.0/gcc/config/arm/linux-elf.h.arm-tune 2004-01-31 01:18:11.000000000 -0500 | ||
2 | +++ gcc-3.4.0/gcc/config/arm/linux-elf.h 2004-04-24 18:19:10.000000000 -0400 | ||
3 | @@ -126,3 +126,6 @@ | ||
4 | |||
5 | #define LINK_GCC_C_SEQUENCE_SPEC \ | ||
6 | "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}" | ||
7 | + | ||
8 | +/* Tune for XScale. */ | ||
9 | +#define TARGET_TUNE_DEFAULT TARGET_CPU_xscale | ||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc41-configure.in.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc41-configure.in.patch index 3d33bcb978..88b0611a2f 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc41-configure.in.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc41-configure.in.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
1 | --- gcc-3.4.4/configure.in.orig 2005-08-09 19:57:51.504323183 -0700 | 3 | --- gcc-3.4.4/configure.in.orig 2005-08-09 19:57:51.504323183 -0700 |
2 | +++ gcc-3.4.4/configure.in 2005-08-09 20:00:12.073168623 -0700 | 4 | +++ gcc-3.4.4/configure.in 2005-08-09 20:00:12.073168623 -0700 |
3 | @@ -1907,7 +1907,7 @@ | 5 | @@ -1907,7 +1907,7 @@ |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc_optab_arm.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc_optab_arm.patch index fa21b26554..5738a470ff 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/gcc_optab_arm.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/gcc_optab_arm.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | ARM is the only architecture that has a helper function that returns | 3 | ARM is the only architecture that has a helper function that returns |
2 | an unbiased result. This fix is trivial enough that we can show it | 4 | an unbiased result. This fix is trivial enough that we can show it |
3 | doesn't effect any of the other arches. Can we consider this a | 5 | doesn't effect any of the other arches. Can we consider this a |
diff --git a/meta/recipes-devtools/gcc/files/gfortran.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/gfortran.patch index 96905e5d7d..c78e8313b6 100644 --- a/meta/recipes-devtools/gcc/files/gfortran.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/gfortran.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | The patch below fixes a crash building libgfortran on arm-linux-gnueabi. | 3 | The patch below fixes a crash building libgfortran on arm-linux-gnueabi. |
2 | 4 | ||
3 | This target doesn't really have a 128-bit integer type, however it does use | 5 | This target doesn't really have a 128-bit integer type, however it does use |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/no-libfloat.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/no-libfloat.patch deleted file mode 100644 index e5d12cfb4f..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/no-libfloat.patch +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | --- gcc/gcc/config/arm/linux-elf.h.old 2005-04-20 00:46:28.923375320 +0100 | ||
2 | +++ gcc/gcc/config/arm/linux-elf.h 2005-04-20 00:46:34.181575952 +0100 | ||
3 | @@ -56,7 +56,7 @@ | ||
4 | %{shared:-lc} \ | ||
5 | %{!shared:%{profile:-lc_p}%{!profile:-lc}}" | ||
6 | |||
7 | -#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc" | ||
8 | +#define LIBGCC_SPEC "-lgcc" | ||
9 | |||
10 | /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add | ||
11 | the GNU/Linux magical crtbegin.o file (see crtstuff.c) which | ||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/pic-without-sl.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/pic-without-sl.patch deleted file mode 100644 index 9a49794da4..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/pic-without-sl.patch +++ /dev/null | |||
@@ -1,303 +0,0 @@ | |||
1 | Index: gcc/config/arm/arm-protos.h | ||
2 | =================================================================== | ||
3 | RCS file: /cvsroot/gcc/gcc/gcc/config/arm/arm-protos.h,v | ||
4 | retrieving revision 1.60.4.20 | ||
5 | diff -u -r1.60.4.20 arm-protos.h | ||
6 | --- gcc/config/arm/arm-protos.h 29 Mar 2005 03:00:11 -0000 1.60.4.20 | ||
7 | +++ gcc/config/arm/arm-protos.h 23 Apr 2005 04:41:06 -0000 | ||
8 | @@ -64,6 +64,7 @@ | ||
9 | extern enum reg_class vfp_secondary_reload_class (enum machine_mode, rtx); | ||
10 | extern int tls_symbolic_operand (rtx, enum machine_mode); | ||
11 | extern bool arm_tls_operand_p (rtx x); | ||
12 | +extern bool arm_pc_pic_operand_p (rtx x); | ||
13 | |||
14 | /* Predicates. */ | ||
15 | extern int s_register_operand (rtx, enum machine_mode); | ||
16 | Index: gcc/config/arm/arm.c | ||
17 | =================================================================== | ||
18 | RCS file: /cvsroot/gcc/gcc/gcc/config/arm/arm.c,v | ||
19 | retrieving revision 1.303.2.79 | ||
20 | diff -u -r1.303.2.79 arm.c | ||
21 | --- gcc/config/arm/arm.c 12 Apr 2005 06:17:07 -0000 1.303.2.79 | ||
22 | +++ gcc/config/arm/arm.c 23 Apr 2005 04:41:09 -0000 | ||
23 | @@ -1003,7 +1003,7 @@ | ||
24 | |||
25 | /* If stack checking is disabled, we can use r10 as the PIC register, | ||
26 | which keeps r9 available. */ | ||
27 | - if (flag_pic) | ||
28 | + if (0 && flag_pic) | ||
29 | arm_pic_register = TARGET_APCS_STACK ? 9 : 10; | ||
30 | |||
31 | if (TARGET_APCS_FLOAT) | ||
32 | @@ -3120,6 +3120,10 @@ | ||
33 | rtx | ||
34 | legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) | ||
35 | { | ||
36 | + if (GET_CODE (orig) == UNSPEC | ||
37 | + && XINT (orig, 1) == UNSPEC_GOTSLOTPC) | ||
38 | + abort (); | ||
39 | + | ||
40 | if (GET_CODE (orig) == SYMBOL_REF | ||
41 | || GET_CODE (orig) == LABEL_REF) | ||
42 | { | ||
43 | @@ -3149,27 +3153,80 @@ | ||
44 | else | ||
45 | address = reg; | ||
46 | |||
47 | - if (TARGET_ARM) | ||
48 | - emit_insn (gen_pic_load_addr_arm (address, orig)); | ||
49 | - else | ||
50 | - emit_insn (gen_pic_load_addr_thumb (address, orig)); | ||
51 | + if (arm_pic_register != INVALID_REGNUM) | ||
52 | + { | ||
53 | + /* Using GP-based PIC addressing. */ | ||
54 | + if (TARGET_ARM) | ||
55 | + emit_insn (gen_pic_load_addr_arm (address, orig)); | ||
56 | + else | ||
57 | + emit_insn (gen_pic_load_addr_thumb (address, orig)); | ||
58 | + | ||
59 | + if ((GET_CODE (orig) == LABEL_REF | ||
60 | + || (GET_CODE (orig) == SYMBOL_REF && | ||
61 | + SYMBOL_REF_LOCAL_P (orig))) | ||
62 | + && NEED_GOT_RELOC) | ||
63 | + pic_ref = gen_rtx_PLUS (Pmode, pic_offset_table_rtx, address); | ||
64 | + else | ||
65 | + { | ||
66 | + pic_ref = gen_rtx_MEM (Pmode, | ||
67 | + gen_rtx_PLUS (Pmode, pic_offset_table_rtx, | ||
68 | + address)); | ||
69 | + RTX_UNCHANGING_P (pic_ref) = 1; | ||
70 | + } | ||
71 | |||
72 | - if ((GET_CODE (orig) == LABEL_REF | ||
73 | - || (GET_CODE (orig) == SYMBOL_REF && | ||
74 | - SYMBOL_REF_LOCAL_P (orig))) | ||
75 | - && NEED_GOT_RELOC) | ||
76 | - pic_ref = gen_rtx_PLUS (Pmode, pic_offset_table_rtx, address); | ||
77 | + current_function_uses_pic_offset_table = 1; | ||
78 | + } | ||
79 | else | ||
80 | { | ||
81 | - pic_ref = gen_rtx_MEM (Pmode, | ||
82 | - gen_rtx_PLUS (Pmode, pic_offset_table_rtx, | ||
83 | - address)); | ||
84 | - RTX_UNCHANGING_P (pic_ref) = 1; | ||
85 | + /* Using PC-based PIC addressing. */ | ||
86 | + rtx label, tmp; | ||
87 | + int offset; | ||
88 | + | ||
89 | + label = gen_label_rtx (); | ||
90 | + offset = TARGET_ARM ? 8 : 4; | ||
91 | + | ||
92 | + if (GET_CODE (orig) == LABEL_REF | ||
93 | + || (GET_CODE (orig) == SYMBOL_REF && SYMBOL_REF_LOCAL_P (orig))) | ||
94 | + { | ||
95 | + /* This symbol is defined locally. We don't need a GOT entry. */ | ||
96 | + tmp = gen_rtx_MINUS (Pmode, gen_rtx_UNSPEC (Pmode, gen_rtvec (1, orig), UNSPEC_PIC_SYM), gen_rtx_PLUS (Pmode, | ||
97 | + gen_rtx_LABEL_REF (Pmode, label), | ||
98 | + GEN_INT (offset))); | ||
99 | + | ||
100 | + load_tls_operand (tmp, address); | ||
101 | + | ||
102 | + if (TARGET_ARM) | ||
103 | + emit_insn (gen_pic_add_dot_plus_eight (address, label)); | ||
104 | + else | ||
105 | + emit_insn (gen_pic_add_dot_plus_four (address, label)); | ||
106 | + } | ||
107 | + else | ||
108 | + { | ||
109 | + rtx x = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, orig), UNSPEC_GOTSLOTPC); | ||
110 | + rtx dummy_label; | ||
111 | + | ||
112 | + dummy_label = gen_label_rtx (); | ||
113 | + LABEL_PRESERVE_P (dummy_label) = 1; | ||
114 | + LABEL_NUSES (dummy_label) = 1; | ||
115 | + | ||
116 | + tmp = gen_rtx_MINUS (Pmode, x, gen_rtx_PLUS (Pmode, | ||
117 | + gen_rtx_LABEL_REF (Pmode, label), | ||
118 | + GEN_INT (offset))); | ||
119 | + | ||
120 | + load_tls_operand (tmp, address); | ||
121 | + | ||
122 | + if (TARGET_ARM) | ||
123 | + emit_insn (gen_tls_load_dot_plus_eight (address, address, label, dummy_label)); | ||
124 | + else | ||
125 | + emit_insn (gen_tls_load_dot_plus_four (address, address, label, dummy_label)); | ||
126 | + } | ||
127 | + | ||
128 | + pic_ref = address; | ||
129 | } | ||
130 | |||
131 | insn = emit_move_insn (reg, pic_ref); | ||
132 | #endif | ||
133 | - current_function_uses_pic_offset_table = 1; | ||
134 | + | ||
135 | /* Put a REG_EQUAL note on this insn, so that it can be optimized | ||
136 | by loop. */ | ||
137 | REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EQUAL, orig, | ||
138 | @@ -3179,11 +3236,17 @@ | ||
139 | else if (GET_CODE (orig) == CONST) | ||
140 | { | ||
141 | rtx base, offset; | ||
142 | + bool minus = FALSE; | ||
143 | |||
144 | if (GET_CODE (XEXP (orig, 0)) == PLUS | ||
145 | && XEXP (XEXP (orig, 0), 0) == pic_offset_table_rtx) | ||
146 | return orig; | ||
147 | |||
148 | + if (GET_CODE (XEXP (orig, 0)) == MINUS | ||
149 | + && GET_CODE (XEXP (XEXP (orig, 0), 0)) == UNSPEC | ||
150 | + && XINT (XEXP (XEXP (orig, 0), 0), 1) == UNSPEC_GOTSLOTPC) | ||
151 | + return orig; | ||
152 | + | ||
153 | if (GET_CODE (XEXP (orig, 0)) == UNSPEC) | ||
154 | return orig; | ||
155 | |||
156 | @@ -3201,6 +3264,13 @@ | ||
157 | offset = legitimize_pic_address (XEXP (XEXP (orig, 0), 1), Pmode, | ||
158 | base == reg ? 0 : reg); | ||
159 | } | ||
160 | + else if (GET_CODE (XEXP (orig, 0)) == MINUS) | ||
161 | + { | ||
162 | + minus = TRUE; | ||
163 | + base = legitimize_pic_address (XEXP (XEXP (orig, 0), 0), Pmode, reg); | ||
164 | + offset = legitimize_pic_address (XEXP (XEXP (orig, 0), 1), Pmode, | ||
165 | + base == reg ? 0 : reg); | ||
166 | + } | ||
167 | else | ||
168 | abort (); | ||
169 | |||
170 | @@ -3228,7 +3298,7 @@ | ||
171 | return reg; | ||
172 | } | ||
173 | |||
174 | - return gen_rtx_PLUS (Pmode, base, offset); | ||
175 | + return minus ? gen_rtx_MINUS (Pmode, base, offset) : gen_rtx_PLUS (Pmode, base, offset); | ||
176 | } | ||
177 | |||
178 | return orig; | ||
179 | @@ -3267,7 +3337,7 @@ | ||
180 | rtx l1, pic_tmp, pic_tmp2, pic_rtx; | ||
181 | rtx global_offset_table; | ||
182 | |||
183 | - if (current_function_uses_pic_offset_table == 0 || TARGET_SINGLE_PIC_BASE) | ||
184 | + if (current_function_uses_pic_offset_table == 0 || TARGET_SINGLE_PIC_BASE || arm_pic_register == INVALID_REGNUM) | ||
185 | return; | ||
186 | |||
187 | if (!flag_pic) | ||
188 | @@ -3341,8 +3411,11 @@ | ||
189 | static int | ||
190 | pcrel_constant_p (rtx x) | ||
191 | { | ||
192 | + if (GET_CODE (x) == CONST) | ||
193 | + return pcrel_constant_p (XEXP (x, 0)); | ||
194 | + | ||
195 | if (GET_CODE (x) == MINUS) | ||
196 | - return symbol_mentioned_p (XEXP (x, 0)) && label_mentioned_p (XEXP (x, 1)); | ||
197 | + return (((GET_CODE (XEXP (x, 0)) == UNSPEC && XINT (XEXP (x, 0), 1) == UNSPEC_PIC_SYM)) || symbol_mentioned_p (XEXP (x, 0))) && label_mentioned_p (XEXP (x, 1)); | ||
198 | |||
199 | if (GET_CODE (x) == UNSPEC | ||
200 | && XINT (x, 1) == UNSPEC_TLS | ||
201 | @@ -3946,12 +4019,32 @@ | ||
202 | return SYMBOL_REF_TLS_MODEL (op); | ||
203 | } | ||
204 | |||
205 | +bool | ||
206 | +arm_pc_pic_operand_p (rtx op) | ||
207 | +{ | ||
208 | + if (GET_CODE (op) == CONST | ||
209 | + && GET_CODE (XEXP (op, 0)) == MINUS | ||
210 | + && GET_CODE (XEXP (XEXP (op, 0), 0)) == UNSPEC | ||
211 | + && XINT (XEXP (XEXP (op, 0), 0), 1) == UNSPEC_GOTSLOTPC) | ||
212 | + return 1; | ||
213 | + | ||
214 | + if (GET_CODE (op) == CONST | ||
215 | + && GET_CODE (XEXP (op, 0)) == MINUS | ||
216 | + && GET_CODE (XEXP (XEXP (op, 0), 0)) == UNSPEC | ||
217 | + && XINT (XEXP (XEXP (op, 0), 0), 1) == UNSPEC_PIC_SYM) | ||
218 | + return 1; | ||
219 | + | ||
220 | + return 0; | ||
221 | +} | ||
222 | + | ||
223 | /* Valid input to a move instruction. */ | ||
224 | int | ||
225 | move_input_operand (rtx op, enum machine_mode mode) | ||
226 | { | ||
227 | if (tls_symbolic_operand (op, mode)) | ||
228 | return 0; | ||
229 | + if (pcrel_constant_p (op)) | ||
230 | + return 1; | ||
231 | return general_operand (op, mode); | ||
232 | } | ||
233 | |||
234 | @@ -15634,11 +15727,34 @@ | ||
235 | return TRUE; | ||
236 | } | ||
237 | |||
238 | +static bool | ||
239 | +arm_emit_got_decoration (FILE *fp, rtx x) | ||
240 | +{ | ||
241 | + rtx val; | ||
242 | + | ||
243 | + val = XVECEXP (x, 0, 0); | ||
244 | + | ||
245 | + fputs ("_gotslotpc_(", fp); | ||
246 | + | ||
247 | + output_addr_const (fp, val); | ||
248 | + | ||
249 | + fputc (')', fp); | ||
250 | + | ||
251 | + return TRUE; | ||
252 | +} | ||
253 | + | ||
254 | bool | ||
255 | arm_output_addr_const_extra (FILE *fp, rtx x) | ||
256 | { | ||
257 | if (GET_CODE (x) == UNSPEC && XINT (x, 1) == UNSPEC_TLS) | ||
258 | return arm_emit_tls_decoration (fp, x); | ||
259 | + else if (GET_CODE (x) == UNSPEC && XINT (x, 1) == UNSPEC_GOTSLOTPC) | ||
260 | + return arm_emit_got_decoration (fp, x); | ||
261 | + else if (GET_CODE (x) == UNSPEC && XINT (x, 1) == UNSPEC_PIC_SYM) | ||
262 | + { | ||
263 | + output_addr_const (fp, XVECEXP (x, 0, 0)); | ||
264 | + return TRUE; | ||
265 | + } | ||
266 | else if (GET_CODE (x) == CONST_VECTOR) | ||
267 | return arm_emit_vector_const (fp, x); | ||
268 | |||
269 | Index: gcc/config/arm/arm.md | ||
270 | =================================================================== | ||
271 | RCS file: /cvsroot/gcc/gcc/gcc/config/arm/arm.md,v | ||
272 | retrieving revision 1.145.2.31 | ||
273 | diff -u -r1.145.2.31 arm.md | ||
274 | --- gcc/config/arm/arm.md 28 Mar 2005 19:04:37 -0000 1.145.2.31 | ||
275 | +++ gcc/config/arm/arm.md 23 Apr 2005 04:41:11 -0000 | ||
276 | @@ -88,6 +88,7 @@ | ||
277 | (UNSPEC_WMADDS 18) ; Used by the intrinsic form of the iWMMXt WMADDS instruction. | ||
278 | (UNSPEC_WMADDU 19) ; Used by the intrinsic form of the iWMMXt WMADDU instruction. | ||
279 | (UNSPEC_TLS 20) ; A symbol that has been treated properly for TLS usage. | ||
280 | + (UNSPEC_GOTSLOTPC 21) | ||
281 | ] | ||
282 | ) | ||
283 | |||
284 | @@ -4179,7 +4180,8 @@ | ||
285 | && (CONSTANT_P (operands[1]) | ||
286 | || symbol_mentioned_p (operands[1]) | ||
287 | || label_mentioned_p (operands[1])) | ||
288 | - && ! tls_mentioned_p (operands[1])) | ||
289 | + && ! tls_mentioned_p (operands[1]) | ||
290 | + && ! arm_pc_pic_operand_p (operands[1])) | ||
291 | operands[1] = legitimize_pic_address (operands[1], SImode, | ||
292 | (no_new_pseudos ? operands[0] : 0)); | ||
293 | } | ||
294 | @@ -4412,7 +4414,8 @@ | ||
295 | (mem:SI (unspec:SI [(plus:SI (match_dup 0) | ||
296 | (const (plus:SI (pc) (const_int 8))))] | ||
297 | UNSPEC_PIC_BASE))) | ||
298 | - (use (label_ref (match_operand 1 "" "")))])] | ||
299 | + (use (label_ref (match_operand 1 "" ""))) | ||
300 | + (use (label_ref (match_operand 1 "" "")))])] | ||
301 | "" | ||
302 | ) | ||
303 | |||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/pr34130.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/pr34130.patch deleted file mode 100644 index 415335f4b4..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/pr34130.patch +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | Index: gcc-4.1.2/gcc/fold-const.c | ||
2 | =================================================================== | ||
3 | --- gcc-4.1.2.orig/gcc/fold-const.c 2007-11-21 18:53:42.000000000 +0100 | ||
4 | +++ gcc-4.1.2/gcc/fold-const.c 2007-11-21 18:56:26.000000000 +0100 | ||
5 | @@ -5339,7 +5339,10 @@ | ||
6 | } | ||
7 | break; | ||
8 | } | ||
9 | - /* FALLTHROUGH */ | ||
10 | + /* If the constant is negative, we cannot simplify this. */ | ||
11 | + if (tree_int_cst_sgn (c) == -1) | ||
12 | + break; | ||
13 | + /* FALLTHROUGH */ | ||
14 | case NEGATE_EXPR: | ||
15 | if ((t1 = extract_muldiv (op0, c, code, wide_type)) != 0) | ||
16 | return fold_build1 (tcode, ctype, fold_convert (ctype, t1)); | ||
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch index 8b05cb73a9..1695582954 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | Index: gcc-4.0.2/gcc/c-incpath.c | 3 | Index: gcc-4.0.2/gcc/c-incpath.c |
2 | =================================================================== | 4 | =================================================================== |
3 | --- gcc-4.0.2.orig/gcc/c-incpath.c 2005-01-23 16:05:27.000000000 +0100 | 5 | --- gcc-4.0.2.orig/gcc/c-incpath.c 2005-01-23 16:05:27.000000000 +0100 |
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-xgcc-cpp.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-xgcc-cpp.patch index 921cab6e18..b06de5458b 100644 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-xgcc-cpp.patch +++ b/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-xgcc-cpp.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
1 | upstream: n/a | 2 | upstream: n/a |
2 | comment: Use the preprocessor we have just compiled instead the one of | 3 | comment: Use the preprocessor we have just compiled instead the one of |
3 | the system. There might be incompabilities between us and them. | 4 | the system. There might be incompabilities between us and them. |
diff --git a/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch b/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch index f3fa55d88a..4c36e4ecb4 100644 --- a/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch +++ b/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | Status: Inappropriate [embedded specific] | 1 | Upstream-Status: Inappropriate [embedded specific] |
2 | 2 | ||
3 | Enalbing sysroot support exposed a bug where the final library | 3 | Enalbing sysroot support exposed a bug where the final library |
4 | had an RPATH encoded into it which still pointed to the sysroot. | 4 | had an RPATH encoded into it which still pointed to the sysroot. |
diff --git a/meta/recipes-devtools/libtool/libtool/prefix-manpage-fix.patch b/meta/recipes-devtools/libtool/libtool/prefix-manpage-fix.patch index a8a4dcd4f6..f9de383bc9 100644 --- a/meta/recipes-devtools/libtool/libtool/prefix-manpage-fix.patch +++ b/meta/recipes-devtools/libtool/libtool/prefix-manpage-fix.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | Status: Inappropriate [embedded specific] | 1 | Upstream-Status: Inappropriate [embedded specific] |
2 | 2 | ||
3 | For cross environment, it not possible to run the generated executable. | 3 | For cross environment, it not possible to run the generated executable. |
4 | nstead use the build version of libtool to generate the man pages. | 4 | nstead use the build version of libtool to generate the man pages. |
diff --git a/meta/recipes-devtools/libtool/libtool/prefix.patch b/meta/recipes-devtools/libtool/libtool/prefix.patch index 0c98f0ddf4..1b20324715 100644 --- a/meta/recipes-devtools/libtool/libtool/prefix.patch +++ b/meta/recipes-devtools/libtool/libtool/prefix.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | Status: Inappropriate [embedded specific] | 1 | Upstream-Status: Inappropriate [embedded specific] |
2 | 2 | ||
3 | Renames "libtool" -> "${TARGET_PREFIX}libtool" which makes sure | 3 | Renames "libtool" -> "${TARGET_PREFIX}libtool" which makes sure |
4 | it can't be confused with the host libtool. | 4 | it can't be confused with the host libtool. |
diff --git a/meta/recipes-devtools/m4/m4/ac_config_links.patch b/meta/recipes-devtools/m4/m4/ac_config_links.patch index 22103876e3..275c0b2e7d 100644 --- a/meta/recipes-devtools/m4/m4/ac_config_links.patch +++ b/meta/recipes-devtools/m4/m4/ac_config_links.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
1 | This patch fixes a build problem for m4-native experienced on Ubuntu 9.10, | 3 | This patch fixes a build problem for m4-native experienced on Ubuntu 9.10, |
2 | where autoconf/automake (AC_CONFIG_LINKS) ends up making GNUmakefile a | 4 | where autoconf/automake (AC_CONFIG_LINKS) ends up making GNUmakefile a |
3 | symlink to itself. | 5 | symlink to itself. |
diff --git a/meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch b/meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch index ba51d87d22..98774535d5 100644 --- a/meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch +++ b/meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [licensing] | ||
2 | |||
1 | The older GPLv2 m4 does not work well with newer autoconf. It causes the | 3 | The older GPLv2 m4 does not work well with newer autoconf. It causes the |
2 | circular dependency as seen bellow. | 4 | circular dependency as seen bellow. |
3 | Removing this m4 file which was needed only forl older autoconf | 5 | Removing this m4 file which was needed only forl older autoconf |
diff --git a/meta/recipes-devtools/m4/m4/make.patch b/meta/recipes-devtools/m4/m4/make.patch index 3577b0b7db..79fb415121 100644 --- a/meta/recipes-devtools/m4/m4/make.patch +++ b/meta/recipes-devtools/m4/m4/make.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
1 | 2 | ||
2 | # | 3 | # |
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | 4 | # Patch managed by http://www.holgerschurig.de/patcher.html |
diff --git a/meta/recipes-devtools/python/python-native/04-default-is-optimized.patch b/meta/recipes-devtools/python/python-native/04-default-is-optimized.patch index 5131e0ba69..8fe147e0ef 100644 --- a/meta/recipes-devtools/python/python-native/04-default-is-optimized.patch +++ b/meta/recipes-devtools/python/python-native/04-default-is-optimized.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
1 | # When compiling for an embedded system, we need every bit of | 3 | # When compiling for an embedded system, we need every bit of |
2 | # performance we can get. default to optimized with the option | 4 | # performance we can get. default to optimized with the option |
3 | # of opt-out. | 5 | # of opt-out. |
diff --git a/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch b/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch index f5e852a118..a39247ce70 100644 --- a/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch +++ b/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | # Some versions of SWIG do not use the extension parameter. | 3 | # Some versions of SWIG do not use the extension parameter. |
2 | # Make it optional. | 4 | # Make it optional. |
3 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> | 5 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> |
diff --git a/meta/recipes-devtools/python/python-native/11-distutils-never-modify-shebang-line.patch b/meta/recipes-devtools/python/python-native/11-distutils-never-modify-shebang-line.patch index 8354e266fa..c92469b9b6 100644 --- a/meta/recipes-devtools/python/python-native/11-distutils-never-modify-shebang-line.patch +++ b/meta/recipes-devtools/python/python-native/11-distutils-never-modify-shebang-line.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | # Don't modify the she-bang line for a cross-build. | 3 | # Don't modify the she-bang line for a cross-build. |
2 | # Otherwise it points to our hostpython (which we do not want) | 4 | # Otherwise it points to our hostpython (which we do not want) |
3 | # | 5 | # |
diff --git a/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch b/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch index bf4366f12b..9532eb3ad9 100644 --- a/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch +++ b/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
1 | # The proper prefix is inside our staging area. | 3 | # The proper prefix is inside our staging area. |
2 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> | 4 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> |
3 | 5 | ||
diff --git a/meta/recipes-devtools/python/python-native/debug.patch b/meta/recipes-devtools/python/python-native/debug.patch index beb3adc6db..5ec10d6b20 100644 --- a/meta/recipes-devtools/python/python-native/debug.patch +++ b/meta/recipes-devtools/python/python-native/debug.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
1 | Index: Python-2.6.1/Lib/distutils/unixccompiler.py | 3 | Index: Python-2.6.1/Lib/distutils/unixccompiler.py |
2 | =================================================================== | 4 | =================================================================== |
3 | --- Python-2.6.1.orig/Lib/distutils/unixccompiler.py 2009-11-13 16:04:54.000000000 +0000 | 5 | --- Python-2.6.1.orig/Lib/distutils/unixccompiler.py 2009-11-13 16:04:54.000000000 +0000 |
diff --git a/meta/recipes-devtools/python/python-native/nohostlibs.patch b/meta/recipes-devtools/python/python-native/nohostlibs.patch index da2bd8f1d2..aed45c9913 100644 --- a/meta/recipes-devtools/python/python-native/nohostlibs.patch +++ b/meta/recipes-devtools/python/python-native/nohostlibs.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
1 | Index: Python-2.6.6/setup.py | 3 | Index: Python-2.6.6/setup.py |
2 | =================================================================== | 4 | =================================================================== |
3 | --- Python-2.6.6.orig/setup.py | 5 | --- Python-2.6.6.orig/setup.py |