[packages] valgrind: fix load address handling
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 6 Sep 2011 00:23:30 +0000 (00:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 6 Sep 2011 00:23:30 +0000 (00:23 +0000)
commit4f5a5bb4837e3253d49e64fa7f27d777c3f9f533
tree590dcb97dae8ec2215cb722b3c7df99706c9a972
parent2216edb0a126aee2fc6bb677d36ada0310821f10
[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.

SVN-Revision: 28180
utils/valgrind/Makefile
utils/valgrind/patches/002-fix_load_address_substitution.patch [new file with mode: 0644]