2001-02-20 Martin M. Hunt <hunt@redhat.com>

* solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
	extract_signed_integer() should be called instead of
	extract_address().
This commit is contained in:
Martin Hunt 2001-02-20 18:05:19 +00:00
parent 291b7e049d
commit 58bc91c9c3
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,11 @@
2001-02-20 Martin M. Hunt <hunt@redhat.com>
* solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
extract_signed_integer() should be called instead of
extract_address().
2001-02-20 Martin M. Hunt <hunt@redhat.com>
* MAINTAINERS: Add Martin Hunt to Write After Approval list.
2001-02-19 Andrew Cagney <ac131313@redhat.com>

View File

@ -249,7 +249,8 @@ LM_ADDR (struct so_list *so)
{
struct link_map_offsets *lmo = SVR4_FETCH_LINK_MAP_OFFSETS ();
return extract_address (so->lm_info->lm + lmo->l_addr_offset, lmo->l_addr_size);
return (CORE_ADDR) extract_signed_integer (so->lm_info->lm + lmo->l_addr_offset,
lmo->l_addr_size);
}
static CORE_ADDR