diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-05-21 15:11:05 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-05-21 15:11:05 +0000 |
commit | 3a255ab808a371341745748fbcdbbe095ec32cac (patch) | |
tree | 35798b1545fec4fe5e3f9ddf8a83fddec432fdab /bfd/vms-alpha.c | |
parent | 94487fcb0f27bdfc9104e5e3a51f46299aa227a6 (diff) | |
download | gdb-3a255ab808a371341745748fbcdbbe095ec32cac.tar.gz |
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/vms-alpha.c')
-rw-r--r-- | bfd/vms-alpha.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 2c6a19c600f..f4804b4f70d 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; } |