aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-som.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-08-09 16:45:32 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-08-09 16:45:32 +0000
commit4fec86cf7464a3a67117a89fcf19badee76797a3 (patch)
tree36f7384205d409330929a80ccbccc922906d6dd9 /gdb/solib-som.c
parent4396b6862a60b1add68552ddac6b8d68513e51e8 (diff)
downloadfsf-binutils-gdb-4fec86cf7464a3a67117a89fcf19badee76797a3.zip
fsf-binutils-gdb-4fec86cf7464a3a67117a89fcf19badee76797a3.tar.gz
fsf-binutils-gdb-4fec86cf7464a3a67117a89fcf19badee76797a3.tar.bz2
* solib-som.c (som_relocate_section_addresses): Stop saving
the $CODE$ section in the so_list structure.
Diffstat (limited to 'gdb/solib-som.c')
-rw-r--r--gdb/solib-som.c7
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;