Merge patch from Jeremy Fitzhardinge:

20-hg-secmap
  HELGRIND: fix bugs causing a torrent of "access to distingished map"
  messages. There were two: one is some absurdly broken rounding/padding
  code in set_address_range_state() (how did anything work!?). The other
  was some odd looking code in the tracking of attaching shared memory
  segments. Since they're semantically very similar to mmap, track them
  as such.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1257 a5019735-40e9-0310-863c-91ae7b9d1cf9
2 files changed