diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2015-07-08 00:23:47 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-09 18:00:18 +0100 |
| commit | f9ac3f3e200e4fd0dfe0f45ddc606ce945ea0143 (patch) | |
| tree | 1df34d2b324d1f23a136f58509912ea892311c61 /meta/recipes-devtools/elfutils/elfutils-0.163/mips_readelf_w.patch | |
| parent | d32b383c3a7af0212cf6bfc942f4f8d6ae08d986 (diff) | |
| download | poky-f9ac3f3e200e4fd0dfe0f45ddc606ce945ea0143.tar.gz | |
elfutils: 0.162 -> 0.163
(From OE-Core rev: cb8fc7521cdaaa7b8f82a0c6dfc6526778c99099)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.163/mips_readelf_w.patch')
| -rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.163/mips_readelf_w.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.163/mips_readelf_w.patch b/meta/recipes-devtools/elfutils/elfutils-0.163/mips_readelf_w.patch new file mode 100644 index 0000000000..8e669e7199 --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.163/mips_readelf_w.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | From: Kurt Roeckx <kurt@roeckx.be> | ||
| 2 | Subject: Make readelf -w output debug information on mips | ||
| 3 | Bug-Debian: http://bugs.debian.org/662041 | ||
| 4 | Forwarded: not-needed | ||
| 5 | |||
| 6 | Upstreams wants a change where this is handled by a hook that needs | ||
| 7 | to be filled in by the backend for the arch. | ||
| 8 | |||
| 9 | Index: elfutils-0.153/src/readelf.c | ||
| 10 | =================================================================== | ||
| 11 | --- elfutils-0.153.orig/src/readelf.c 2012-08-10 22:01:55.000000000 +0200 | ||
| 12 | +++ elfutils-0.153/src/readelf.c 2012-09-18 21:46:27.000000000 +0200 | ||
| 13 | @@ -7364,7 +7364,8 @@ | ||
| 14 | GElf_Shdr shdr_mem; | ||
| 15 | GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); | ||
| 16 | |||
| 17 | - if (shdr != NULL && shdr->sh_type == SHT_PROGBITS) | ||
| 18 | + if (shdr != NULL && ( | ||
| 19 | + (shdr->sh_type == SHT_PROGBITS) || (shdr->sh_type == SHT_MIPS_DWARF))) | ||
| 20 | { | ||
| 21 | static const struct | ||
| 22 | { | ||
