From: Tristan Gingold Date: Mon, 27 Jun 2011 13:03:15 +0000 (+0000) Subject: 2011-06-27 Tristan Gingold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8efca921f381142b3720875e1143366245a5c92;p=binutils-gdb.git 2011-06-27 Tristan Gingold * vms-alpha.c (_bfd_vms_write_etir): Use 'section' to get current section target index. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cd33e1c31be..c1f7f344518 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2011-06-27 Tristan Gingold + + * vms-alpha.c (_bfd_vms_write_etir): Use 'section' to get current + section target index. + 2011-06-27 Nick Clifton * cisco-core.c (cisco_core_little_vec): Add initialization of diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 255a100027d..1e2ab30d6c7 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -3974,13 +3974,11 @@ _bfd_vms_write_etir (bfd * abfd, int objtype ATTRIBUTE_UNUSED) _bfd_vms_output_begin_subrec (recwr, ETIR__C_STC_NOP_GBL); _bfd_vms_output_long (recwr, (unsigned long) udata->lkindex); _bfd_vms_output_long - (recwr, - (unsigned long) udata->enbsym->section->target_index); + (recwr, (unsigned long) section->target_index); _bfd_vms_output_quad (recwr, rptr->address); _bfd_vms_output_long (recwr, (unsigned long) 0x47ff041f); _bfd_vms_output_long - (recwr, - (unsigned long) udata->enbsym->section->target_index); + (recwr, (unsigned long) section->target_index); _bfd_vms_output_quad (recwr, rptr->addend); _bfd_vms_output_counted (recwr, _bfd_vms_length_hash_symbol @@ -4001,8 +3999,7 @@ _bfd_vms_write_etir (bfd * abfd, int objtype ATTRIBUTE_UNUSED) _bfd_vms_output_long (recwr, (unsigned long) udata->lkindex + 1); _bfd_vms_output_long - (recwr, - (unsigned long) udata->enbsym->section->target_index); + (recwr, (unsigned long) section->target_index); _bfd_vms_output_quad (recwr, rptr->address); _bfd_vms_output_long (recwr, (unsigned long) 0x237B0000); _bfd_vms_output_long @@ -4022,13 +4019,11 @@ _bfd_vms_write_etir (bfd * abfd, int objtype ATTRIBUTE_UNUSED) _bfd_vms_output_begin_subrec (recwr, ETIR__C_STC_BOH_GBL); _bfd_vms_output_long (recwr, (unsigned long) udata->lkindex); _bfd_vms_output_long - (recwr, - (unsigned long) udata->enbsym->section->target_index); + (recwr, (unsigned long) section->target_index); _bfd_vms_output_quad (recwr, rptr->address); _bfd_vms_output_long (recwr, (unsigned long) 0xD3400000); _bfd_vms_output_long - (recwr, - (unsigned long) udata->enbsym->section->target_index); + (recwr, (unsigned long) section->target_index); _bfd_vms_output_quad (recwr, rptr->addend); _bfd_vms_output_counted (recwr, _bfd_vms_length_hash_symbol