Fix is_linkage_table_addr in win32-os.c
authorStas Boukarev <stassats@gmail.com>
Mon, 30 Sep 2013 22:27:23 +0000 (02:27 +0400)
committerStas Boukarev <stassats@gmail.com>
Mon, 30 Sep 2013 22:28:18 +0000 (02:28 +0400)
commit7ff2233608f1f110e112ae576fa829618ce181ae
treefd445bfcc9e49cf1b2e284074d1b645c78385949
parent1471fe66b2159cf5edbee456a34ee14226db2aaa
Fix is_linkage_table_addr in win32-os.c

The aptly misnamed function in_range_p doesn't actually take START and
END of the range as arguments, but START and SIZE.
change
in_range_p(addr, LINKAGE_TABLE_SPACE_START, LINKAGE_TABLE_SPACE_END)
to
in_range_p(addr, LINKAGE_TABLE_SPACE_START, LINKAGE_TABLE_SPACE_SIZE)
src/runtime/win32-os.c