2011-08-04 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_vms_write_eeom): Round vms_linkage_index. (_bfd_vms_write_etir): Initialize vms_linkage_index to 0.
This commit is contained in:
parent
249a777b4c
commit
f1bb038899
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-08-04 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* vms-alpha.c (_bfd_vms_write_eeom): Round vms_linkage_index.
|
||||
(_bfd_vms_write_etir): Initialize vms_linkage_index to 0.
|
||||
|
||||
2011-08-03 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* mach-o.c (bfd_mach_o_canonicalize_symtab): Handle no symbols case.
|
||||
|
|
|
@ -2660,7 +2660,7 @@ _bfd_vms_write_eeom (bfd *abfd)
|
|||
_bfd_vms_output_alignment (recwr, 2);
|
||||
|
||||
_bfd_vms_output_begin (recwr, EOBJ__C_EEOM);
|
||||
_bfd_vms_output_long (recwr, (unsigned long) (PRIV (vms_linkage_index) >> 1));
|
||||
_bfd_vms_output_long (recwr, PRIV (vms_linkage_index + 1) >> 1);
|
||||
_bfd_vms_output_byte (recwr, 0); /* Completion code. */
|
||||
_bfd_vms_output_byte (recwr, 0); /* Fill byte. */
|
||||
|
||||
|
@ -3736,7 +3736,7 @@ _bfd_vms_write_etir (bfd * abfd, int objtype ATTRIBUTE_UNUSED)
|
|||
|
||||
_bfd_vms_output_alignment (recwr, 4);
|
||||
|
||||
PRIV (vms_linkage_index) = 1;
|
||||
PRIV (vms_linkage_index) = 0;
|
||||
|
||||
for (section = abfd->sections; section; section = section->next)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue