]>
Commit | Line | Data |
---|---|---|
b5b0b447 ER |
1 | diff -up gcc-4.7.0/libgcc/unwind-generic.h.cross-libgcc-ia64 gcc-4.7.0/libgcc/unwind-generic.h |
2 | --- gcc-4.7.0/libgcc/unwind-generic.h.cross-libgcc-ia64 2012-06-01 18:14:22.552450391 +0200 | |
3 | +++ gcc-4.7.0/libgcc/unwind-generic.h 2012-06-01 18:14:42.523121821 +0200 | |
4 | @@ -211,7 +211,9 @@ _Unwind_SjLj_Resume_or_Rethrow (struct _ | |
5 | compatible with the standard ABI for IA-64, we inline these. */ | |
6 | ||
7 | #ifdef __ia64__ | |
8 | +#ifndef inhibit_libc | |
9 | #include <stdlib.h> | |
10 | +#endif | |
11 | ||
12 | static inline _Unwind_Ptr | |
13 | _Unwind_GetDataRelBase (struct _Unwind_Context *_C) | |
14 | diff -up gcc-4.7.0/libgcc/config/m68k/linux-atomic.c.cross-libgcc-m68k gcc-4.7.0/libgcc/config/m68k/linux-atomic.c | |
15 | --- gcc-4.7.0/libgcc/config/m68k/linux-atomic.c.cross-libgcc-m68k 2012-06-01 18:08:54.998851298 +0200 | |
16 | +++ gcc-4.7.0/libgcc/config/m68k/linux-atomic.c 2012-06-01 18:09:16.871488040 +0200 | |
17 | @@ -33,7 +33,9 @@ see the files COPYING3 and COPYING.RUNTI | |
18 | using the kernel helper defined below. There is no support for | |
19 | 64-bit operations yet. */ | |
20 | ||
21 | +#ifndef inhibit_libc | |
22 | #include <asm/unistd.h> | |
23 | +#endif | |
24 | #include <stdbool.h> | |
25 | ||
26 | #ifndef __NR_atomic_cmpxchg_32 |