ebtables: fix use of cflags
[openwrt.git] / toolchain / uClibc / patches / 410-ldd-avr32-support.patch
1 Subject: [PATCH] ldd: AVR32 support
2
3 Add AVR32-specific definitions to ldd.
4
5 ---
6
7 utils/ldd.c | 5 +++++
8 1 file changed, 5 insertions(+)
9
10 Index: uClibc-0.9.28/utils/ldd.c
11 ===================================================================
12 --- uClibc-0.9.28.orig/utils/ldd.c 2006-02-07 16:48:02.000000000 +0100
13 +++ uClibc-0.9.28/utils/ldd.c 2006-02-07 17:13:00.000000000 +0100
14 @@ -56,6 +56,11 @@
15 #define ELFCLASSM ELFCLASS32
16 #endif
17
18 +#if defined(__avr32__)
19 +#define MATCH_MACHINE(x) (x == EM_AVR32)
20 +#define ELFCLASSM ELFCLASS32
21 +#endif
22 +
23 #if defined(__s390__)
24 #define MATCH_MACHINE(x) (x == EM_S390)
25 #define ELFCLASSM ELFCLASS32
This page took 0.043408 seconds and 5 git commands to generate.