From 20d9950f50dafc490092286776d41d14cfbb93ed Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 25 Jul 2008 09:28:48 +0000 Subject: elfutils: added 0.131 with Debian patches to build with gcc 4.3.1 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4949 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../elfutils/elfutils-0.131/gnu_inline.diff | 105 +++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 meta/packages/elfutils/elfutils-0.131/gnu_inline.diff (limited to 'meta/packages/elfutils/elfutils-0.131/gnu_inline.diff') diff --git a/meta/packages/elfutils/elfutils-0.131/gnu_inline.diff b/meta/packages/elfutils/elfutils-0.131/gnu_inline.diff new file mode 100644 index 0000000000..8652d0e1cf --- /dev/null +++ b/meta/packages/elfutils/elfutils-0.131/gnu_inline.diff @@ -0,0 +1,105 @@ +--- + backends/ia64_retval.c | 3 +++ + libdw/libdw.h | 2 +- + libdw/libdwP.h | 3 +++ + src/ld.h | 3 +++ + src/strip.c | 3 +++ + src/unstrip.c | 4 ++++ + 6 files changed, 17 insertions(+), 1 deletion(-) + +--- elfutils-0.131.orig/backends/ia64_retval.c ++++ elfutils-0.131/backends/ia64_retval.c +@@ -31,10 +31,13 @@ + #include + + #define BACKEND ia64_ + #include "libebl_CPU.h" + ++#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) ++#define inline inline __attribute__ ((gnu_inline)) ++#endif + + /* r8, or pair r8, r9, or aggregate up to r8-r11. */ + static const Dwarf_Op loc_intreg[] = + { + { .atom = DW_OP_reg8 }, { .atom = DW_OP_piece, .number = 8 }, +--- elfutils-0.131.orig/libdw/libdw.h ++++ elfutils-0.131/libdw/libdw.h +@@ -62,11 +62,11 @@ + # define __nonnull_attribute__(args...) + # define __deprecated_attribute__ + #endif + + +-#ifdef __GNUC_STDC_INLINE__ ++#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) + # define __libdw_extern_inline extern __inline __attribute__ ((__gnu_inline__)) + #else + # define __libdw_extern_inline extern __inline + #endif + +--- elfutils-0.131.orig/libdw/libdwP.h ++++ elfutils-0.131/libdw/libdwP.h +@@ -54,10 +54,13 @@ + #include + #include + + #include + ++#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) ++#define inline inline __attribute__ ((gnu_inline)) ++#endif + + /* gettext helper macros. */ + #define _(Str) dgettext ("elfutils", Str) + + +--- elfutils-0.131.orig/src/ld.h ++++ elfutils-0.131/src/ld.h +@@ -30,10 +30,13 @@ + #include + #include + #include + #include "xelf.h" + ++#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) ++#define inline inline __attribute__ ((gnu_inline)) ++#endif + + /* Recommended size of the buffer passed to ld_strerror. */ + #define ERRBUFSIZE (512) + + /* Character used to introduce version name after symbol. */ +--- elfutils-0.131.orig/src/strip.c ++++ elfutils-0.131/src/strip.c +@@ -50,10 +50,13 @@ + + #include + #include + #include + ++#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) ++#define inline inline __attribute__ ((gnu_inline)) ++#endif + + /* Name and version of program. */ + static void print_version (FILE *stream, struct argp_state *state); + void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; + +--- elfutils-0.131.orig/src/unstrip.c ++++ elfutils-0.131/src/unstrip.c +@@ -60,10 +60,14 @@ + + #ifndef _ + # define _(str) gettext (str) + #endif + ++#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__) ++#define inline inline __attribute__ ((gnu_inline)) ++#endif ++ + /* Name and version of program. */ + static void print_version (FILE *stream, struct argp_state *state); + void (*argp_program_version_hook) (FILE *, struct argp_state *) + = print_version; + -- cgit v1.2.3