From 27a70503bc8ba0932c9f8187757e77d7a15fd71c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 21 May 2010 15:11:05 +0000 Subject: 2010-05-21 Tristan Gingold * vms-alpha.c (_bfd_vms_slurp_eihs): Do not create a bfd section for the GST. --- bfd/vms-alpha.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'bfd/vms-alpha.c') diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 2c6a19c600..f4804b4f70 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; } -- cgit v1.2.1