Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The value of AT_BASE should be the offset between where the ELF inter…
…preter expected to be loaded (as expressed in the ELF headers) and where it was actually loaded, and not (as valgrind was doing) the absolute value of the load address for the interpreter. Note that when prelink is not in use the two are normally the same, as the intpreter (like all shared libraries) is normally linked with a zero load address. When prelinked that is no longer true. With that fixed, the hack to patch out AT_BASE to avoid confusing gdb on systems where prelink is in use is no longer needed. Fixes BZ#329612 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13768 a5019735-40e9-0310-863c-91ae7b9d1cf9
- Loading branch information
tom
committed
Jan 7, 2014
1 parent
57b8a93
commit e35481f
Showing
4 changed files
with
9 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters