aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-som.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-01-19 00:21:16 +0000
committerJeff Law <law@redhat.com>1994-01-19 00:21:16 +0000
commit2f156c92bdff30019f890307d7276ba6813fec24 (patch)
tree064599ea8c4a3ab38c6940cde4072e29d3b163a0 /gas/config/obj-som.c
parentec0bcbbaa11ea9207ae00dc142d3b6e41556d2a0 (diff)
downloadgdb-2f156c92bdff30019f890307d7276ba6813fec24.zip
gdb-2f156c92bdff30019f890307d7276ba6813fec24.tar.gz
gdb-2f156c92bdff30019f890307d7276ba6813fec24.tar.bz2
* config/tc-hppa.c: Disable multiple $CODE$ subspace code. It
confuses GDB for some unknown reason. * cofnig/obj-som.c: Likewise.
Diffstat (limited to 'gas/config/obj-som.c')
-rw-r--r--gas/config/obj-som.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/obj-som.c b/gas/config/obj-som.c
index 77f6335..80beab3 100644
--- a/gas/config/obj-som.c
+++ b/gas/config/obj-som.c
@@ -206,6 +206,7 @@ adjust_stab_sections (abfd, sec, xxx)
bfd_h_put_32 (abfd, (bfd_vma) strsz, (bfd_byte *) p + 8);
}
+#if 0
/* Adjust the VMA address for each $CODE$ subspace. */
static void
adjust_code_sections (abfd, sec, xxx)
@@ -221,6 +222,7 @@ adjust_code_sections (abfd, sec, xxx)
bfd_set_section_vma (stdoutput, sec, size_so_far);
size_so_far += bfd_get_section_size_before_reloc (sec);
}
+#endif
/* Called late in the asssembly phase to adjust the special
stab entry and to set the starting address for each code subspace. */
@@ -229,5 +231,8 @@ void
som_frob_file ()
{
bfd_map_over_sections (stdoutput, adjust_stab_sections, (PTR) 0);
+#if 0
+ See comment in tc-hppa.c:pa_proc about GDB lossage
bfd_map_over_sections (stdoutput, adjust_code_sections, (PTR) 0);
+#endif
}