mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
2010-08-03 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_vms_slurp_egsd): Do not set SEC_HAS_CONTENTS nor SEC_RELOC for empty sections.
This commit is contained in:
parent
d833fa0d58
commit
5621317228
@ -1,3 +1,8 @@
|
||||
2010-08-03 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* vms-alpha.c (_bfd_vms_slurp_egsd): Do not set SEC_HAS_CONTENTS
|
||||
nor SEC_RELOC for empty sections.
|
||||
|
||||
2010-08-03 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* vms-alpha.c (evax_section_flags): Fix flags for absolute
|
||||
|
@ -1145,7 +1145,7 @@ _bfd_vms_slurp_egsd (bfd *abfd)
|
||||
section->size = bfd_getl32 (egps->alloc);
|
||||
new_flags = vms_secflag_by_name (evax_section_flags, name,
|
||||
section->size > 0);
|
||||
if (!(old_flags & EGPS__V_NOMOD))
|
||||
if (!(old_flags & EGPS__V_NOMOD) && section->size > 0)
|
||||
{
|
||||
new_flags |= SEC_HAS_CONTENTS;
|
||||
if (old_flags & EGPS__V_REL)
|
||||
|
Loading…
Reference in New Issue
Block a user