]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2000-04-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 27 Apr 2000 15:11:14 +0000 (15:11 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 27 Apr 2000 15:11:14 +0000 (15:11 +0000)
* 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.

gdb/ChangeLog
gdb/cxux-nat.c
gdb/irix5-nat.c
gdb/osfsolib.c
gdb/pa64solib.c

index 45d5a788b9d2b1a70918fc713384c8ac1e38f781..d750ccd7bd75ff03cdb93a82cf6c926990257c56 100644 (file)
@@ -1,3 +1,11 @@
+2000-04-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * 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.
+
 Thu Apr 27 14:07:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * mips-tdep.c, d10v-tdep.c: Include "arch-utils.h".
index 9db528a06b936e02c4b0f99b888d9fef0d0d30b6..8c16bceb983e8ad13bdc42bcf72676933374fa50 100644 (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);
            }
index 0c090de6477c14fa509f2534209f360225f9e024..2a16dc07ebdcd479902b41b9deee250af819a367 100644 (file)
@@ -852,7 +852,9 @@ symbol_add_stub (arg)
        text_addr = bfd_section_vma (so->abfd, lowest_sect) + LM_OFFSET (so);
     }
 
-  section_addrs.text_addr = text_addr;
+
+  section_addrs.other[0].name = ".text";
+  section_addrs.other[0].addr = text_addr;
   so->objfile = symbol_file_add (so->so_name, so->from_tty,
                                 &section_addrs, 0, 0);
   return (1);
index 3ea550ace31df67099986cc5dc1c096785c06ada..8638629139dd48027ad1539371704cafbc2390db 100644 (file)
@@ -598,7 +598,8 @@ symbol_add_stub (arg)
        text_addr = bfd_section_vma (so->abfd, lowest_sect) + LM_OFFSET (so);
     }
 
-  section_addrs.text_addr = text_addr;
+  section_addrs.other[0].addr = text_addr;
+  section_addrs.other[0].name = ".text";
   so->objfile = symbol_file_add (so->so_name, so->from_tty,
                                 &section_addrs, 0, OBJF_SHARED);
   return (1);
index 271efc2367b7608e349208a5b62bdb27d75f6eb3..cb991b2c09d3aca2894fa7123c938b51f23f10cb 100644 (file)
@@ -272,7 +272,8 @@ pa64_solib_add_solib_objfile (so, name, from_tty, text_addr)
   tmp_bfd = NULL;
 
   /* Now let the generic code load up symbols for this library.  */
-  section_addrs.text_addr = text_addr;
+  section_addrs.other[0].addr = text_addr;
+  section_addrs.other[0].name = ".text";
   so->objfile = symbol_file_add (name, from_tty, &section_addrs, 0, OBJF_SHARED);
   so->abfd = so->objfile->obfd;