aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-05-21 15:11:06 +0000
committerTristan Gingold <gingold@adacore.com>2010-05-21 15:11:06 +0000
commit6a286118b53a8804e60a53112520dba897f6605a (patch)
tree7acd09eb5c992efc077a1a86e0f78d8d2e2a1f33 /bfd
parentc068d5be63b558c53cfb79369d225b2d5e87d0c5 (diff)
downloadgdb-6a286118b53a8804e60a53112520dba897f6605a.zip
gdb-6a286118b53a8804e60a53112520dba897f6605a.tar.gz
gdb-6a286118b53a8804e60a53112520dba897f6605a.tar.bz2
2010-05-21 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_vms_slurp_eihs): Do not create a bfd section for the GST.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/vms-alpha.c12
2 files changed, 5 insertions, 12 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 167e8c6..0372583 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2010-05-21 Tristan Gingold <gingold@adacore.com>
+ * vms-alpha.c (_bfd_vms_slurp_eihs): Do not create a bfd section
+ for the GST.
+
+2010-05-21 Tristan Gingold <gingold@adacore.com>
+
* vms-alpha.c (_bfd_vms_slurp_eisd): Set SEC_HAS_CONTENTS and
SEC_LOAD if isect has data.
(vms_get_symbol_info): Refine the condition for 'T' type.
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 2c6a19c..f4804b4 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -667,12 +667,6 @@ _bfd_vms_slurp_eihs (bfd *abfd, unsigned int offset)
if (gstvbn)
{
- flagword bfd_flags = SEC_HAS_CONTENTS;
-
- section = bfd_make_section (abfd, "$GST$");
- if (!section)
- return FALSE;
-
if (bfd_seek (abfd, VMS_BLOCK_SIZE * (gstvbn - 1), SEEK_SET))
{
bfd_set_error (bfd_error_file_truncated);
@@ -682,12 +676,6 @@ _bfd_vms_slurp_eihs (bfd *abfd, unsigned int offset)
if (_bfd_vms_slurp_object_records (abfd) != TRUE)
return FALSE;
- section->filepos = VMS_BLOCK_SIZE * (gstvbn - 1);
- section->size = bfd_tell (abfd) - section->filepos;
-
- if (!bfd_set_section_flags (abfd, section, bfd_flags))
- return FALSE;
-
abfd->flags |= HAS_SYMS;
}