Index: solib-som.c =================================================================== RCS file: /cvs/src/src/gdb/solib-som.c,v retrieving revision 1.11 diff -u -p -r1.11 solib-som.c --- solib-som.c 2 Jul 2007 22:01:09 -0000 1.11 +++ solib-som.c 7 Aug 2007 20:35:36 -0000 @@ -113,13 +113,6 @@ som_relocate_section_addresses (struct s { flagword aflag = bfd_get_section_flags(so->abfd, sec->the_bfd_section); - /* solib.c does something similar, but it only recognizes ".text", SOM calls - the text section "$CODE$". */ - if (strcmp (sec->the_bfd_section->name, "$CODE$") == 0) - { - so->textsection = sec; - } - if (aflag & SEC_CODE) { sec->addr += so->lm_info->text_addr - so->lm_info->text_link_addr;