diff options
Diffstat (limited to 'meta/packages/elfutils/elfutils-0.131/gcc-4.3_support.diff')
-rw-r--r-- | meta/packages/elfutils/elfutils-0.131/gcc-4.3_support.diff | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/meta/packages/elfutils/elfutils-0.131/gcc-4.3_support.diff b/meta/packages/elfutils/elfutils-0.131/gcc-4.3_support.diff deleted file mode 100644 index b337da9b60..0000000000 --- a/meta/packages/elfutils/elfutils-0.131/gcc-4.3_support.diff +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | Index: elfutils-0.131/libelf/common.h | ||
2 | =================================================================== | ||
3 | --- elfutils-0.131.orig/libelf/common.h 2008-04-02 13:32:19.000000000 -0300 | ||
4 | +++ elfutils-0.131/libelf/common.h 2008-04-02 13:35:53.000000000 -0300 | ||
5 | @@ -110,45 +110,6 @@ | ||
6 | } | ||
7 | |||
8 | |||
9 | -/* Acquire lock for the descriptor and all children. */ | ||
10 | -static void | ||
11 | -libelf_acquire_all (Elf *elf) | ||
12 | -{ | ||
13 | - rwlock_wrlock (elf->lock); | ||
14 | - | ||
15 | - if (elf->kind == ELF_K_AR) | ||
16 | - { | ||
17 | - Elf *child = elf->state.ar.children; | ||
18 | - | ||
19 | - while (child != NULL) | ||
20 | - { | ||
21 | - if (child->ref_count != 0) | ||
22 | - libelf_acquire_all (child); | ||
23 | - child = child->next; | ||
24 | - } | ||
25 | - } | ||
26 | -} | ||
27 | - | ||
28 | -/* Release own lock and those of the children. */ | ||
29 | -static void | ||
30 | -libelf_release_all (Elf *elf) | ||
31 | -{ | ||
32 | - if (elf->kind == ELF_K_AR) | ||
33 | - { | ||
34 | - Elf *child = elf->state.ar.children; | ||
35 | - | ||
36 | - while (child != NULL) | ||
37 | - { | ||
38 | - if (child->ref_count != 0) | ||
39 | - libelf_release_all (child); | ||
40 | - child = child->next; | ||
41 | - } | ||
42 | - } | ||
43 | - | ||
44 | - rwlock_unlock (elf->lock); | ||
45 | -} | ||
46 | - | ||
47 | - | ||
48 | /* Macro to convert endianess in place. It determines the function it | ||
49 | has to use itself. */ | ||
50 | #define CONVERT(Var) \ | ||
51 | Index: elfutils-0.131/libelf/elf_readall.c | ||
52 | =================================================================== | ||
53 | --- elfutils-0.131.orig/libelf/elf_readall.c 2008-04-02 13:36:06.000000000 -0300 | ||
54 | +++ elfutils-0.131/libelf/elf_readall.c 2008-04-02 13:38:25.000000000 -0300 | ||
55 | @@ -60,6 +60,45 @@ | ||
56 | #include "common.h" | ||
57 | |||
58 | |||
59 | +/* Acquire lock for the descriptor and all children. */ | ||
60 | +static void | ||
61 | +libelf_acquire_all (Elf *elf) | ||
62 | +{ | ||
63 | + rwlock_wrlock (elf->lock); | ||
64 | + | ||
65 | + if (elf->kind == ELF_K_AR) | ||
66 | + { | ||
67 | + Elf *child = elf->state.ar.children; | ||
68 | + | ||
69 | + while (child != NULL) | ||
70 | + { | ||
71 | + if (child->ref_count != 0) | ||
72 | + libelf_acquire_all (child); | ||
73 | + child = child->next; | ||
74 | + } | ||
75 | + } | ||
76 | +} | ||
77 | + | ||
78 | +/* Release own lock and those of the children. */ | ||
79 | +static void | ||
80 | +libelf_release_all (Elf *elf) | ||
81 | +{ | ||
82 | + if (elf->kind == ELF_K_AR) | ||
83 | + { | ||
84 | + Elf *child = elf->state.ar.children; | ||
85 | + | ||
86 | + while (child != NULL) | ||
87 | + { | ||
88 | + if (child->ref_count != 0) | ||
89 | + libelf_release_all (child); | ||
90 | + child = child->next; | ||
91 | + } | ||
92 | + } | ||
93 | + | ||
94 | + rwlock_unlock (elf->lock); | ||
95 | +} | ||
96 | + | ||
97 | + | ||
98 | static void | ||
99 | set_address (Elf *elf, size_t offset) | ||
100 | { | ||