* cxux-nat.c (add_shared_symbol_files): Don't treat .text section
 	as special in the section_addr_info structure.
	* pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
	* osfsolib.c (symbol_add_stub): Ditto.
	* irix5-nat.c (symbol_add_stub): Ditto.
This commit is contained in:
Elena Zannoni
2000-04-27 15:11:14 +00:00
parent 28d069e647
commit a034fba4ec
5 changed files with 17 additions and 4 deletions

View File

@@ -386,7 +386,8 @@ add_shared_symbol_files ()
{
struct section_addr_info section_addrs;
memset (&section_addrs, 0, sizeof (section_addrs));
section_addrs.text_addr = lms.l_addr;
section_addrs.other[0].addr = lms.l_addr;
section_addrs.other[0].name = ".text";
symbol_file_add (path_name, 1, &section_addrs, 0, 0);
free (path_name);
}