diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-07-25 09:28:48 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-07-25 09:28:48 +0000 |
commit | 20d9950f50dafc490092286776d41d14cfbb93ed (patch) | |
tree | a03140d9b9b51d500849de4deabea673db6454ab /meta/packages/elfutils/elfutils-0.131/gnu_inline.diff | |
parent | 41d6612ec730f93046aaf1978adb4be77bc257bd (diff) | |
download | openembedded-core-20d9950f50dafc490092286776d41d14cfbb93ed.tar.gz openembedded-core-20d9950f50dafc490092286776d41d14cfbb93ed.tar.bz2 openembedded-core-20d9950f50dafc490092286776d41d14cfbb93ed.zip |
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
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, 105 insertions, 0 deletions
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 <dwarf.h> + + #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 <libintl.h> + #include <stdbool.h> + + #include <libdw.h> + ++#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 <obstack.h> + #include <stdbool.h> + #include <stdio.h> + #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 <elf-knowledge.h> + #include <libebl.h> + #include <system.h> + ++#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; + |