diff options
Diffstat (limited to 'meta/packages/elfutils/elfutils-0.131/gnu_inline.diff')
-rw-r--r-- | meta/packages/elfutils/elfutils-0.131/gnu_inline.diff | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/meta/packages/elfutils/elfutils-0.131/gnu_inline.diff b/meta/packages/elfutils/elfutils-0.131/gnu_inline.diff deleted file mode 100644 index 8652d0e1cf..0000000000 --- a/meta/packages/elfutils/elfutils-0.131/gnu_inline.diff +++ /dev/null | |||
@@ -1,105 +0,0 @@ | |||
1 | --- | ||
2 | backends/ia64_retval.c | 3 +++ | ||
3 | libdw/libdw.h | 2 +- | ||
4 | libdw/libdwP.h | 3 +++ | ||
5 | src/ld.h | 3 +++ | ||
6 | src/strip.c | 3 +++ | ||
7 | src/unstrip.c | 4 ++++ | ||
8 | 6 files changed, 17 insertions(+), 1 deletion(-) | ||
9 | |||
10 | --- elfutils-0.131.orig/backends/ia64_retval.c | ||
11 | +++ elfutils-0.131/backends/ia64_retval.c | ||
12 | @@ -31,10 +31,13 @@ | ||
13 | #include <dwarf.h> | ||
14 | |||
15 | #define BACKEND ia64_ | ||
16 | #include "libebl_CPU.h" | ||
17 | |||
18 | +#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) | ||
19 | +#define inline inline __attribute__ ((gnu_inline)) | ||
20 | +#endif | ||
21 | |||
22 | /* r8, or pair r8, r9, or aggregate up to r8-r11. */ | ||
23 | static const Dwarf_Op loc_intreg[] = | ||
24 | { | ||
25 | { .atom = DW_OP_reg8 }, { .atom = DW_OP_piece, .number = 8 }, | ||
26 | --- elfutils-0.131.orig/libdw/libdw.h | ||
27 | +++ elfutils-0.131/libdw/libdw.h | ||
28 | @@ -62,11 +62,11 @@ | ||
29 | # define __nonnull_attribute__(args...) | ||
30 | # define __deprecated_attribute__ | ||
31 | #endif | ||
32 | |||
33 | |||
34 | -#ifdef __GNUC_STDC_INLINE__ | ||
35 | +#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) | ||
36 | # define __libdw_extern_inline extern __inline __attribute__ ((__gnu_inline__)) | ||
37 | #else | ||
38 | # define __libdw_extern_inline extern __inline | ||
39 | #endif | ||
40 | |||
41 | --- elfutils-0.131.orig/libdw/libdwP.h | ||
42 | +++ elfutils-0.131/libdw/libdwP.h | ||
43 | @@ -54,10 +54,13 @@ | ||
44 | #include <libintl.h> | ||
45 | #include <stdbool.h> | ||
46 | |||
47 | #include <libdw.h> | ||
48 | |||
49 | +#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) | ||
50 | +#define inline inline __attribute__ ((gnu_inline)) | ||
51 | +#endif | ||
52 | |||
53 | /* gettext helper macros. */ | ||
54 | #define _(Str) dgettext ("elfutils", Str) | ||
55 | |||
56 | |||
57 | --- elfutils-0.131.orig/src/ld.h | ||
58 | +++ elfutils-0.131/src/ld.h | ||
59 | @@ -30,10 +30,13 @@ | ||
60 | #include <obstack.h> | ||
61 | #include <stdbool.h> | ||
62 | #include <stdio.h> | ||
63 | #include "xelf.h" | ||
64 | |||
65 | +#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) | ||
66 | +#define inline inline __attribute__ ((gnu_inline)) | ||
67 | +#endif | ||
68 | |||
69 | /* Recommended size of the buffer passed to ld_strerror. */ | ||
70 | #define ERRBUFSIZE (512) | ||
71 | |||
72 | /* Character used to introduce version name after symbol. */ | ||
73 | --- elfutils-0.131.orig/src/strip.c | ||
74 | +++ elfutils-0.131/src/strip.c | ||
75 | @@ -50,10 +50,13 @@ | ||
76 | |||
77 | #include <elf-knowledge.h> | ||
78 | #include <libebl.h> | ||
79 | #include <system.h> | ||
80 | |||
81 | +#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) | ||
82 | +#define inline inline __attribute__ ((gnu_inline)) | ||
83 | +#endif | ||
84 | |||
85 | /* Name and version of program. */ | ||
86 | static void print_version (FILE *stream, struct argp_state *state); | ||
87 | void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; | ||
88 | |||
89 | --- elfutils-0.131.orig/src/unstrip.c | ||
90 | +++ elfutils-0.131/src/unstrip.c | ||
91 | @@ -60,10 +60,14 @@ | ||
92 | |||
93 | #ifndef _ | ||
94 | # define _(str) gettext (str) | ||
95 | #endif | ||
96 | |||
97 | +#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) | ||
98 | +#define inline inline __attribute__ ((gnu_inline)) | ||
99 | +#endif | ||
100 | + | ||
101 | /* Name and version of program. */ | ||
102 | static void print_version (FILE *stream, struct argp_state *state); | ||
103 | void (*argp_program_version_hook) (FILE *, struct argp_state *) | ||
104 | = print_version; | ||
105 | |||