From Nicholas Duffek:

* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
	target_new_objfile_hook.
This commit is contained in:
Kevin Buettner 2002-07-12 18:42:05 +00:00
parent 6904b546a2
commit e42dc924cb
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-07-12 Kevin Buettner <kevinb@redhat.com>
From Nicholas Duffek:
* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
target_new_objfile_hook.
2002-07-12 Kevin Buettner <kevinb@redhat.com>
From Nicholas Duffek:

View File

@ -832,6 +832,11 @@ vmap_ldinfo (LdInfo *ldi)
/* relocate symbol table(s). */
vmap_symtab (vp);
/* Announce new object files. Doing this after symbol relocation
makes aix-thread.c's job easier. */
if (target_new_objfile_hook && vp->objfile)
target_new_objfile_hook (vp->objfile);
/* There may be more, so we don't break out of the loop. */
}
@ -1109,6 +1114,9 @@ xcoff_relocate_core (struct target_ops *target)
}
vmap_symtab (vp);
if (target_new_objfile_hook && vp != vmap && vp->objfile)
target_new_objfile_hook (vp->objfile);
}
while (LDI_NEXT (ldi, arch64) != 0);
vmap_exec ();