[packages] valgrind: fix load address handling
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Sep 2011 00:23:30 +0000 (00:23 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Sep 2011 00:23:30 +0000 (00:23 +0000)
commit5028fab7fe2ab64fccca84c141f853988bb141f3
tree590dcb97dae8ec2215cb722b3c7df99706c9a972
parent4a53d191697f829b08e87d2464d335a7837f4c77
[packages] valgrind: fix load address handling
The compile-time generation of the valgrind linker script broke due to toolchain updates
resulting in valgrind binaries compiled with the standard load address of 0x08048000 which
leads to memory conflicts with the debug client later on; valgrind will abort with the
message below:

  valgrind: mmap(0x8048000, 348160) failed in UME with error 22 (Invalid argument).
  valgrind: this can be caused by executables with very large text, data or bss segments.

This change adds another sed pattern to properly substitute the current linker script format.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28180 3c298f89-4303-0410-b956-a3cf2f4a3e73
utils/valgrind/Makefile
utils/valgrind/patches/002-fix_load_address_substitution.patch [new file with mode: 0644]