]> git.ipfire.org Git - thirdparty/valgrind.git/commit
To get 32-bit programs working on Opteron, VG_(valgrind_end) was recently
authorNicholas Nethercote <n.nethercote@gmail.com>
Fri, 10 Sep 2004 13:56:13 +0000 (13:56 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Fri, 10 Sep 2004 13:56:13 +0000 (13:56 +0000)
commit15779f7ff6f51a4f660f9c56f014296b09393e23
tree577626cdb906ce12f30b52708b4c121670beba98
parent8aa3bbac8d2cf9668025fb0a1b6cdc527bbe0cf6
To get 32-bit programs working on Opteron, VG_(valgrind_end) was recently
changed to name the last byte in Valgrind's section, rather than one past the
last byte.  This was because the last byte is 0xffffffff, and so one past gave
0x0, which screwed things up.

However, when this change was made, all the places where VG_(valgrind_end) is
used weren't adjusted appropriately.  So this commit makes those adjustments.
It also renames the variable as VG_(valgrind_last), which makes the difference
between it and the other VG_(*_end) variables much clearer.

MERGED FROM HEAD

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_2_2_0_BRANCH@2680
coregrind/vg_include.h
coregrind/vg_main.c
coregrind/vg_memory.c
coregrind/vg_mylibc.c