diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-06-27 13:03:15 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-06-27 13:03:15 +0000 |
commit | a8efca921f381142b3720875e1143366245a5c92 (patch) | |
tree | 9efa70195766126fc3cef53fd1eacc1098b3b3c1 /bfd | |
parent | 20ee8bc9af0069814d61b6acd05890f314eed118 (diff) | |
download | fsf-binutils-gdb-a8efca921f381142b3720875e1143366245a5c92.zip fsf-binutils-gdb-a8efca921f381142b3720875e1143366245a5c92.tar.gz fsf-binutils-gdb-a8efca921f381142b3720875e1143366245a5c92.tar.bz2 |
2011-06-27 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_vms_write_etir): Use 'section' to get current
section target index.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/vms-alpha.c | 15 |
2 files changed, 10 insertions, 10 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cd33e1c..c1f7f34 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2011-06-27 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_write_etir): Use 'section' to get current + section target index. + 2011-06-27 Nick Clifton <nickc@redhat.com> * cisco-core.c (cisco_core_little_vec): Add initialization of diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 255a100..1e2ab30 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 |