diff options
Diffstat (limited to 'gdb/solib-som.c')
-rw-r--r-- | gdb/solib-som.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/solib-som.c b/gdb/solib-som.c index dcc5f63..b53232f 100644 --- a/gdb/solib-som.c +++ b/gdb/solib-som.c @@ -113,13 +113,6 @@ som_relocate_section_addresses (struct so_list *so, { 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; |