diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind-3.7.0/valgrind-3.7.0-fix-error-of-reading-debug-info.patch')
| -rw-r--r-- | meta/recipes-devtools/valgrind/valgrind-3.7.0/valgrind-3.7.0-fix-error-of-reading-debug-info.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.7.0/valgrind-3.7.0-fix-error-of-reading-debug-info.patch b/meta/recipes-devtools/valgrind/valgrind-3.7.0/valgrind-3.7.0-fix-error-of-reading-debug-info.patch deleted file mode 100644 index b1626f0b0f..0000000000 --- a/meta/recipes-devtools/valgrind/valgrind-3.7.0/valgrind-3.7.0-fix-error-of-reading-debug-info.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | fix debug info reading error when do memcheck on ppc targets | ||
| 4 | following is the error message: | ||
| 5 | --2263-- WARNING: Serious error when reading debug info | ||
| 6 | --2263-- When reading debug info from /lib/ld-2.13.so: | ||
| 7 | --2263-- Can't make sense of .got section mapping | ||
| 8 | --2263-- WARNING: Serious error when reading debug info | ||
| 9 | --2263-- When reading debug info from /home/root/lzh: | ||
| 10 | --2263-- Can't make sense of .data section mapping | ||
| 11 | --2263-- WARNING: Serious error when reading debug info | ||
| 12 | --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_core-ppc32-linux.so: | ||
| 13 | --2263-- Can't make sense of .data section mapping | ||
| 14 | --2263-- WARNING: Serious error when reading debug info | ||
| 15 | --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_memcheck-ppc32-linux.so: | ||
| 16 | --2263-- Can't make sense of .data section mapping | ||
| 17 | --2263-- WARNING: Serious error when reading debug info | ||
| 18 | --2263-- When reading debug info from /lib/libc-2.13.so: | ||
| 19 | --2263-- Can't make sense of .data section mapping | ||
| 20 | |||
| 21 | Signed-off-by: Zhenhua Luo <b19537@freescale.com> | ||
| 22 | |||
| 23 | --- a/coregrind/m_debuginfo/readelf.c 2012-09-11 21:45:36.696462313 -0500 | ||
| 24 | +++ b/coregrind/m_debuginfo/readelf.c 2012-09-11 21:45:49.913463615 -0500 | ||
| 25 | @@ -1539,7 +1539,7 @@ | ||
| 26 | && phdr->p_offset < di->fsm.rw_map_foff + di->fsm.rw_map_size | ||
| 27 | && phdr->p_offset + phdr->p_filesz | ||
| 28 | <= di->fsm.rw_map_foff + di->fsm.rw_map_size | ||
| 29 | - && (phdr->p_flags & (PF_R | PF_W | PF_X)) == (PF_R | PF_W)) { | ||
| 30 | + && (phdr->p_flags & (PF_R | PF_W | PF_X)) >= (PF_R | PF_W)) { | ||
| 31 | if (n_rw == N_RX_RW_AREAS) { | ||
| 32 | ML_(symerr)(di, True, | ||
| 33 | "N_RX_RW_AREAS is too low; " | ||
