On 03/29/2011 01:59 PM, Julian Seward wrote: > > You might need to link the app with a non standard load address, > in the same way that the valgrind executables are normally > linked. See coregrind/link_tool_exe_linux.in for background. > > In short (I think) you need to get -Ttext=0x38000000 to the linker. > > Once done, you should have an entry point address a bit > above that point: > > $ readelf -a memcheck/memcheck-x86-linux | grep Entry > Entry point address: 0x38040f40 >
Thanks for the help. Unfortunately it results in a linker error that is beyond my understanding of what is going on: /bgsys/drivers/ppcfloor/gnu-linux/powerpc-bgp-linux/bin/ld: parread: Not enough room for program headers (allocated 6, need 7) Section to Segment mapping: Segment Sections... 00: LOAD: .note.ABI-tag .note.BGP-tag .init 01: LOAD: .text __libc_freeres_fn __libc_thread_freeres_fn .fini .rodata .except __libc_subfreeres __libc_atexit __libc_thread_subfreeres .gcc_except_table 02: LOAD: .eh_frame .tdata .tbss .ctors .dtors .jcr .data.rel.ro .got2 .data .got .sdata .sbss .bss __libc_freeres_ptrs 03: NOTE: .note.ABI-tag 04: NOTE: .note.BGP-tag 05: TLS: .tdata .tbss 06: STACK: /bgsys/drivers/ppcfloor/gnu-linux/powerpc-bgp-linux/bin/ld: final link failed: Bad value ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
